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
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
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.
Thanks Ray,
What do you think is the best method to replace the page?
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.
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
Remove the reference to mailformatting_php.php... It isn't used in the latest version.
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
You probably have to add this to the top of that page:
<?php
global $conn1_i;
?>
That will make the connection available to be used for recordsets in the email body.
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
Sorry I had a typo and didn't include the dollar sign... I've updated the code example above.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.