[solved] Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
mrcandu
New Member
New Member
Posts: 8
Joined: Tue Nov 20, 2007 10:07 pm

[solved] Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by mrcandu »

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.
Last edited by mrcandu on Tue Apr 14, 2009 12:06 pm, edited 1 time in total.
alby

Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by alby »

mrcandu 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"
"Backup of Content.inc.php" not exist
Check if you have Content.inc.php in that folder and try to rename "Backup of Content.inc.php" in other name

Alby
mrcandu
New Member
New Member
Posts: 8
Joined: Tue Nov 20, 2007 10:07 pm

Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by mrcandu »

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?
alby

Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by alby »

mrcandu wrote: Backup of Content.inc.php does exist.
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
mrcandu
New Member
New Member
Posts: 8
Joined: Tue Nov 20, 2007 10:07 pm

Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by mrcandu »

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
Both files are there, so i'm not too sure what you are saying?
alby

Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by alby »

mrcandu wrote:
Or you have a hard link (not simple in windows), or you are hacked, or ....
Both files are there, so i'm not too sure what you are saying?
Again, I say that that file (Backup...) is NOT part of CMSMS (look in 1.5.4 package)

Alby
mrcandu
New Member
New Member
Posts: 8
Joined: Tue Nov 20, 2007 10:07 pm

Re: Upgrade - 1.2 to 1.5.4 - Cannot redeclare class Content

Post by mrcandu »

alby wrote:
mrcandu wrote:
Or you have a hard link (not simple in windows), or you are hacked, or ....
Both files are there, so i'm not too sure what you are saying?
Again, I say that that file (Backup...) is NOT part of CMSMS (look in 1.5.4 package)

Alby
Ahhhh. I understand now.... I have deleted the backup file and all is working fine.
Thanks very much for your time.

Mat.
Locked

Return to “[locked] Installation, Setup and Upgrade”