Solved

Securimage Error

Posted on 2010-08-16
2
400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

617 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