Solved

Securimage Error

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
two ways encryption with php 3 37
Cookie not unsetting 7 27
Test if unique ID is in log file 5 21
Add a loading gif while php runs server side 15 30
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

840 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