Solved

Securimage Error

Posted on 2010-08-16
2
374 Views
Last Modified: 2013-12-13
I moved to a new web server and now my securimage captcha function has an error...

Fatal error: Class 'Securimage' not found in /home/pathtofile/email.php  on line 36

Any ideas on what this could be?  The file structure of the web site did NOT change and the email does get sent.
0
Comment
Question by:tru504187211
2 Comments
 
LVL 22

Expert Comment

by:Om Prakash
ID: 33444762
The 'Securimage' class or file is not included at the time of the call.
Please make sure it is included.
0
 
LVL 6

Accepted Solution

by:
nitinsawhney earned 500 total points
ID: 33444783
The only thing that i could guess is that the file securimage.php is not being included correctly or the path to securimage.php is not correct.

There will be a similar statement to the following in the php file that handles the form submission.

include_once $_SERVER['DOCUMENT_ROOT'] . '/securimage/securimage.php';

See if the path is correct.

You can road more about setting us securimage here http://www.phpcaptcha.org/documentation/quickstart/
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question