close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Javascript error

Thread began 3/02/2019 3:39 am by john70964 | Last modified 3/15/2019 8:40 am by Ray Borduin | 780 views | 13 replies |

john70964

Javascript error

Hello Ray
I have a page where I am trying to convert this to msqli but am getting a javascript error also getting errors when I try to open the page in a browser.
I wonder if you can see where I am going wrong?
Many thanks
John

Sign in to reply to this post

Ray BorduinWebAssist

The page:
boat_insert_images5_WAUE_HTML_WA_Universal_Email_1.php

is a remnant of the old version. It should just be deleted. I think if you are trying to update that page it might be what is causing problems.

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

john70964

Thanks Ray,
What do you think is the best method to replace the page?

Sign in to reply to this post

Ray BorduinWebAssist

That page doesn't need to be replaced. It is used for editing the page body and it is only meant to be temporary. When you update the Email on the
boat_insert_images5.php page then that other page will become completely obsolete.

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

john70964

Thanks Ray
I have updated the boat_insert_images pages but on the last insert page boat_insert_images5 I get the error

Fatal error: Cannot redeclare RemoveValue()
(previously declared in
/homepages/37/d415519235/htdocs/net100test/WA_DB234/BFSN_full/webassist/email/WA_Email.php:693)
in /homepages/37/d415519235/htdocs/net100test/WA_DB234/BFSN_full/webassist/email/mailformatting_php.php
on line 385

Sign in to reply to this post

Ray BorduinWebAssist

Remove the reference to mailformatting_php.php... It isn't used in the latest version.

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

john70964

Thanks Ray I found 2 lines with <?php require_once("../webassist/email/mailformatting_php.php"); ?> and removed these,
but when I press Next (upload) on page /boat_insert_images5.php I receive the errors below

Sign in to reply to this post

Ray BorduinWebAssist

You probably have to add this to the top of that page:

php:
<?php

global $conn1_i;
?>



That will make the connection available to be used for recordsets in the email body.

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

john70964

Hi Ray,
I inserted
<?php
global conn1_i;
?>
on line 1.
Dreamweaver showed a syntax error on line 2.

When I run the page I see an error message
Parse error: syntax error, unexpected 'conn1_i' (T_STRING), expecting variable (T_VARIABLE) or '$' in C:\xampp\htdocs\boatsforsalenow_mysqli\BoatAds180\boat_insert_images5.php on line 2

Sign in to reply to this post

Ray BorduinWebAssist

Sorry I had a typo and didn't include the dollar sign... I've updated the code example above.

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

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...