close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Incorrect Page opens

Thread began 3/27/2019 3:48 pm by john70964 | Last modified 4/02/2019 12:47 pm by Ray Borduin | 49 views | 6 replies |

john70964

Incorrect Page opens

Hi Ray
I have a page where the incorrect page opens. I cant see why the wrong page opens.

Would you please have a look.

The correct path is index.php > boat-details.php > Enquiries/boatenquiry.php? > Enquiries/confirm.php

But the path taken is index.php > boat-details.php > Enquiries/confirm.php

in boat-details.php
line 171 seems to indicate the correct path
<form class="DetailsPage Basic_Default" id="Details_Basic_Default" name="Details_Basic_Default" method="post" action="Enquiries/boatenquiry.php?RecNo=<?php echo($WADAboats_details->getColumnVal("RecNo")); ?>">

I am attaching the pages.
Thank you

John

Sign in to reply to this post

Ray BorduinWebAssist

How can I reproduce the problem online? I'm not quite sure what I'm looking at here.

Sign in to reply to this post

john70964

Please see PM

Sign in to reply to this post

Ray BorduinWebAssist

The issue is that the boat-details.php page has an insert server behavior that runs with the trigger "any form post" that then redirects to the confirm.php page.

The form post from the index.php page counts as "any form post" and initiates the insert and redirect on the details page. I changed the trigger to be on the Insert Button Press instead and that seems to have fixed the problem.

Sign in to reply to this post

john70964

Hello Ray,
I have the files all showing the correct information and an email is received from the remote server but when the email arrives the details are blank as attached.

Many thanks

John

Sign in to reply to this post

Ray BorduinWebAssist

Your email body is still referencing the recordset values using the old syntax like:

$row_rsConfirm['email']

instead of the new MySQLi syntax like:

$rsConfirm->getColumnVal('email')

The easiest way to fix the problem is to manually update the page:

webassist/email/waue_confirm_1.php to use the correct recordset references.... I've gone ahead and done that for you since I have ftp access.

Sign in to reply to this post

john70964

Thank you so much Ray for solving my problems as of course you always do!

Top support!!

Best regards

John

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