Solved

Securimage Error

Posted on 2010-08-16
2
366 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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 count occurrences of each item in an array.

910 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now