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

add to cart redirect fails on live site only, have looked at forums and documentation in vain, please help

Thread began 1/24/2018 4:26 am by Francois | Last modified 1/29/2018 6:30 pm by Ray Borduin | 287 views | 12 replies |

Francois

add to cart redirect fails on live site only, have looked at forums and documentation in vain, please help

I'm uploading the 2 pages with add to cart buttons, 1st page has only one item from the database, 2nd page has 3 static buttons, all reload the same page (which cannot display, it's blank, but the item does go in the cart), instead of redirecting, but only on the live site, work fine on localhost. The site is https://ifrm.org the pages are at https://ifrm.org/ifrm/convention.php and membership.php - Can't access the buttons unless one is registered/logged in.

Sign in to reply to this post

Ray BorduinWebAssist

On the convention.php page you have a script tag on lines 17-22. That code should be moved down into the <head> of the page. Having it in the php code would prevent a redirect to the cart. That is probably the issue.

Sign in to reply to this post

Francois

Did the move, still not working. No longer on the site, will reload it with different file name.

Sign in to reply to this post

Ray BorduinWebAssist

If you give me a live url and ftp access I can debug and make sure my suggestions resolve the issue.

Sign in to reply to this post

Francois

Details in private message. Ray, I'm having another problem which made me think it's related. I have a forgotpassword page which emails a link to the user to reset their password, and it stopped working - it was working, so when I think about it, I've added a secure certificate since, and I've forced all pages to rewrite to https in the .htaccess (301)
So I've changed the site definition web address to https:// but I'm wondering, short of recreating all the pages, is there one page to change to fix these? Thanks.
I'm discovering more pages not working! Please help as soon as you can.

Sign in to reply to this post

Ray BorduinWebAssist

The add to cart buttons appear to be working for me on the convention and membership pages.

The forgot password page shouldn't be effected by the SSL certificate. It seems to be working, but my email address isn't available so I can't see if the email is actually sent.

Sign in to reply to this post

Francois

If you login, then change your email address in your profile, then you can test the forgotmepassword page. The link it sends is http, and when it's rewritten, it loses the information, thus not working.

The redirect pages are convention-new and membership-new - when you add to cart it returns the same page but blank.

Sign in to reply to this post

Ray BorduinWebAssist

I updated the code to use an https:// link in the email when the page was accessed through https://. That should fix the problem.

Sign in to reply to this post

Francois

Yes, the email link is fine, where is the code that you changed, out of curiosity, I really looked... Thank you so much.
As for the cart, the convention-new and membership-new don't work yet.

Sign in to reply to this post

Ray BorduinWebAssist

Those pages worked for me and went to paypal. How can I reproduce the issue you are still having? The update I made was in the securityassist include file. You should download and back up the file so you don't accidentally overwrite it.

Sign in to reply to this post
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...