close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Rewrite code on click in DW.. Anyone else

Thread began 3/17/2023 11:41 am by Steve | Last modified 3/24/2023 1:06 pm by Ray Borduin | 263 views | 5 replies |

Steve

Rewrite code on click in DW.. Anyone else

Hello,
I know Ray is dealing with some serious things so this question is to anyone else using DW on a Mac.

If I do anything regarding WA extensions ( I mainly use iSQL behaviours ) DW will rewrite the code on the page making it useless.
Check the attached video for an example.

Also here are the top couple lines from the example page :
The screen shot shows missing initial characters but the cut n paste shown below illustrates the code is still properly preserved. BUT, if I save, it saves the messed up code in the screen shot.

<?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
?>
<?php require_once('webassist/framework/framework.php'); ?>
<?php require_once('webassist/framework/library.php'); ?



This is the same case on multiple versions of DW (2019 and 2021).
My computer is a new M2 MacBookPro

Basically, this removes the ability to use these extensions.

Again, I know Ray is predisposed with more pressing issues so I'm wondering if anyone else is having similar problems?

Attached Files
Characters.mp4
Sign in to reply to this post

PatriceWebAssist

I was working on a colleague's server the other day and noticed some fails. It turns out he had set his server to php 8 and my server is 7.1. Once we changed his php version, database worked. I have no idea if this is what you are seeing but worth a shot.

Sign in to reply to this post

Steve

Thanks for the input...

It happens on any PHP version and the current one is set to 5.x

It's like the display (code view) rewrites wonky changes while the visual mode still respects the correct prior code. Also, that cut n paste where the code showed as truncated and changed but the Cut code when re-pasted still looked good.

This does not happen on the PC and I will retest on another PowerMac but this time a M1 version rather than my M2.

Thanks again for the reply

Sign in to reply to this post

asarcona308398

Hey Steve

Just wondering where you say "current one is set to 5.x "... is that the DW setting for PHP or the actual web server running version of PHP?

I have come across some weird errors, and after an Un-install ... reboot of PC, and then a Re-install of ALL extensions has settled some problems.
You may want to download the extensions again as well, as maybe there is a corrupt file there...

Just a suggestion...

Tony

Sign in to reply to this post

Ray BorduinWebAssist

I've had it happen a few times on PC as well. It is relatively rare, but super difficult to debug when it happens since you are looking at one line of code but a different line is being saved and uploaded.

Usually a quick restart of dreamweaver clears it up and I usually only see it a couple of times per year. It is a dreamweaver bug of some sort that I'm sure they haven't figured out steps to reproduce.

Sign in to reply to this post
Did this help? Tips are appreciated...

Steve

I'm glad it's not unique to me or the Mac but the restart does not work so I will just occasionally check Adobe for an update :-(

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...