Page 1 of 1

[SOLVED] Problem after moving site from dev-server to final server

Posted: Fri Apr 13, 2007 9:35 am
by TheClint
PHP v 4.12
MySQL v 3.23.58
CSMS v 1.04
Config: http://www.alstermobruk.se/info.php


I've got a stubborn problem that just won't go away.
I get the error message when I try to edit or view content.


The error message:
Warning: Unable to access /home/httpd/virtual/www263/html/lib/classes/contenttypes/Content in /home/httpd/virtual/www263/html/lib/classes/class.contentoperations.inc.php on line 45

Warning: Failed opening '/home/httpd/virtual/www263/html/lib/classes/contenttypes/Content' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/virtual/www263/html/lib/classes/class.contentoperations.inc.php on line 45

Fatal error: Cannot instantiate non-existent class: content in /home/httpd/virtual/www263/html/lib/classes/class.contentoperations.inc.php on line 61

URL: www.alstermobruk.se/index.php
CMP: dev.pardalis.se/alstermo2/


I hope you've got any idea on this one, cause I'm stumped.
Tried setting permmissions, double checked paths.
When I transferred the site I used PHPMyAdmin to dump the database and then reimported it at the target server using HeidiSQl as per instructions from the ISP.
Then I transferred the files and set permissions via FTP.
This all worked fine on my own site (www.pardalis.se), the only thing that seems different might be the MySQL version being 3.x on www.alstermobruk.se and 4.x on all other servers I've used previously.


Best Regards
Robert Eliason
www.pardalis.se

P.S: Thanks for this great CMS, it really whips the MAMBO's ass! :)

Re: Problem after moving site from dev-server to final server

Posted: Fri Apr 13, 2007 12:57 pm
by Pierre M.
TheClint wrote: ...virtual/www263/html/lib/...
Hello Robert,
where have you installed CMSms ? In the root folder ? Each time ?
Are your FTP logs OK ? What is your FTP tool ?
Pierre M.

Re: Problem after moving site from dev-server to final server

Posted: Fri Apr 13, 2007 1:13 pm
by TheClint
Hello Pierre,

I have moved from a subdirectory on my dev-server to the root of the target server each time.
There were no warnings during the FTP-transfer either, I used Transmit 3.5.6 (OS X).

I'll try transferring once more and check what happens.


Thanks for the reply!
/Robert

Re: Problem after moving site from dev-server to final server

Posted: Fri Apr 13, 2007 1:16 pm
by ID2020
Had the same problem. I think it's related to the fact you use PHP4. ???

When i am using PHP5 as a DEV the upload doesn't pose any problems.

I was using EASY-PHP 1.8 but switched to 2.01beta with PHP5 and the problems were gone.

There's a workaround. Do a setup of version 1.05 and only import the data from the modules.
Copy and paste the pages and everything worked great on my site. ;D

http://www.id2020.nl

Upgrading to PHP5 at the DEV hasn't worked either. I have the same problems.

Made it from the scratch up in PHP5 just to be sure.

Greetz ID2020

Re: Problem after moving site from dev-server to final server

Posted: Fri Apr 13, 2007 1:50 pm
by Pierre M.
If it is not PHP version related, I have no other clue than to redoublecheck all the paths in final config.php.
Pierre M.

Re: Problem after moving site from dev-server to final server

Posted: Fri Apr 13, 2007 3:35 pm
by Nullig
I believe that CMSMS needs PHP v4.2 or greater to function (it's one of the tests in the install) and your version is 4.12.

Nullig

Re: Problem after moving site from dev-server to final server

Posted: Sat Apr 14, 2007 4:02 pm
by Pierre M.
Yes, silly me. Nullig is right. Requirements say PHP4.3+. You say you have PHP 4.12.
http://wiki.cmsmadesimple.org/index.php ... quirements
Pierre M.

Re: Problem after moving site from dev-server to final server

Posted: Tue Apr 17, 2007 8:30 am
by TheClint
Hey everybody!

Thanks for the replies!
I figured it out, as did you. The PHP version was the problem.
I've been wrestling with the ISP to give me a higher version so I could install and it's finally been resolved!
So I'm sorry I've not been able to post earlier, but it's been a mess here as you probably can imagine :)

Anyhow: Here is the new (temporary) address: www2.alstermobruk.com

As soon as this was resolved, the installation took five minutes to perform.
I love this system :)


Thanks again!

/TheClint