close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Captcha doesn't validate after upload to server

Thread began 2/27/2014 5:05 pm by Rob | Last modified 2/28/2014 2:05 pm by Jason Byrnes | 508 views | 4 replies |

Rob

Captcha doesn't validate after upload to server

I have created the basic login/registration/forgot password pages. They are working. Captcha validation works when I run on my local machine using Apache and PHP 5.4.14. However, when I upload to my web server, which uses PHP 5.2.17, it fails with "Invalid information, please check your entries and try again."

Sticking with the "forgot password" page (looks like the same problem with registration): it turns out that the $_SESSION["captcha_Security_Code"] variable on the server is not set after the form is posted, which causes the validation to fail. I've attached my original forgotten password file, I made a few changes (removing the security answer) but they don't seem to matter. My question: have you seen this before? Do you know what the story is?

Sign in to reply to this post

Jason ByrnesWebAssist

Sounds like the server is not setting session variables due to a configuration issue.

use the attached sessionTest page to test the servers ability to save sessions.

if the test fails, you will need to contact the host to have it corrected. Most likely a bad path for the session.save_path setting in the php.ini file.

Attached Files
sessionTest.php.zip
Sign in to reply to this post

Rob

Yep, it fails. Will check with tech support and let you know, thanks.

Sign in to reply to this post

Rob

The permissions for the session.save_path folder didn't allow writing, easy fix since the test file prints the folder name, thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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