Hi,
I have just upgraded from 1.2 (Barbados) to 1.5.4 (Carolina).
The installation upgrade went very smoothly with no errors and sofar the main site is working fine.
However, if I log into the admin and click on any page under Content/Pages I get the following error:
"Fatal error: Cannot redeclare class Content in C:\Inetpub\ppt_test\lib\classes\contenttypes\Backup of Content.inc.php on line 435"
Any idea's?
Many Thanks,
Mat.
[solved] Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
[solved] Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
Last edited by mrcandu on Tue Apr 14, 2009 12:06 pm, edited 1 time in total.
Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
"Backup of Content.inc.php" not existmrcandu wrote: However, if I log into the admin and click on any page under Content/Pages I get the following error:
"Fatal error: Cannot redeclare class Content in C:\Inetpub\ppt_test\lib\classes\contenttypes\Backup of Content.inc.php on line 435"
Check if you have Content.inc.php in that folder and try to rename "Backup of Content.inc.php" in other name
Alby
Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
Backup of Content.inc.php does exist.
I have tried copying Content.inc.php and naming it Backup of Content.inc.php but I still get the same error message?
I have tried copying Content.inc.php and naming it Backup of Content.inc.php but I still get the same error message?
Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
But I say that this file is not in CMSMS.mrcandu wrote: Backup of Content.inc.php does exist.
Or you have a hard link (not simple in windows), or you are hacked, or ....
Alby
Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
Both files are there, so i'm not too sure what you are saying?But I say that this file is not in CMSMS.
Or you have a hard link (not simple in windows), or you are hacked, or ....
Alby
Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
Again, I say that that file (Backup...) is NOT part of CMSMS (look in 1.5.4 package)mrcandu wrote:Both files are there, so i'm not too sure what you are saying?Or you have a hard link (not simple in windows), or you are hacked, or ....
Alby
Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content
Ahhhh. I understand now.... I have deleted the backup file and all is working fine.alby wrote:Again, I say that that file (Backup...) is NOT part of CMSMS (look in 1.5.4 package)mrcandu wrote:Both files are there, so i'm not too sure what you are saying?Or you have a hard link (not simple in windows), or you are hacked, or ....
Alby
Thanks very much for your time.
Mat.