Forum Moderators: coopster

Message Too Old, No Replies

Cannot redeclare class crypter

... eh?

         

internetheaven

9:46 pm on Sep 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've just upgraded to php 4.3.10 as I needed the memory limit option. Unfortunately there was a lot of fall out from the switch. One of the ones I haven't been able to solve is the error:

"Fatal error: Cannot redeclare class crypter in /home/httpd/vhosts/example.com/httpdocs/include/encryption.php on line 30"

which I get from the cron jobs since upgrading. encryption.php is the 2001 Francisco Echarte file and line 30 it states:

class Crypter{

anyone know what it wants me to do?

ergophobe

12:02 am on Sep 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It wants you not to declare it again, having already declared it once somewhere else. I guess that's obvious, the question is where and why should your version of php have changed anything?

Is there a chance that you are including encryption.php twice somehow?