Site Migration assisance requried..

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
heatray999
New Member
New Member
Posts: 5
Joined: Fri Nov 12, 2010 5:04 am

Site Migration assisance requried..

Post by heatray999 »

Hi,

I have assumed responsibility for moving our site.... and in the process started to learn a little bit about CMAMS.

We have a site running already with CMSMS and are moving to a new provider.

I have followed the basic "simple" backup/restore" of mySQL, FTP of site folders and check the permissions and alter config.php.

I have maganed to get the Database connection working, but then I receive the following errors trying to connect. I have turned on DEBUG to assist but it doesn't help me at all. ;

==>>>
Warning: Parameter 1 to cms_module_Lang() expected to be a reference, value given in /home/wcsswa/public_html/lib/classes/class.module.inc.php on line 2003

Warning: Parameter 1 to cms_module_Lang() expected to be a reference, value given in /home/wcsswa/public_html/lib/classes/class.module.inc.php on line 2003

Warning: parse_url(http:////27.54.85.177/~wcsswa//admin/login.php) [function.parse-url]: Unable to parse URL in /home/wcsswa/public_html/lib/misc.functions.php on line 45
Debug is on. Redirecting disabled... Please click this link to continue.
http://27.54.85.177
Debug: (2.3E-5) - (1251280)

loading smarty

Debug: (0.003115) - (1654112)

loading adodb

Debug: (0.004252) - (1779608)

loading page functions

Debug: (0.006166) - (2006360)

loading content functions

Debug: (0.008018) - (2279984)

loading pageinfo functions

Debug: (0.008459) - (2323776)

loading translation functions

Debug: (0.008824) - (2350000)

loading events functions

Debug: (0.00979) - (2472784)

done loading files

Debug: (0.020654) - (3545584)


(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):

Debug: (0.023223) - (3636624)


(mysql): SELECT * FROM cms_userplugins
Error (0):

Debug: (0.036319) - (4437512)


(mysql): SELECT * FROM cms_modules ORDER BY module_name
Error (0):

Debug display of 'Load Content Operations':(0.042052) - (5222136)
Debug display of 'End Load Content Operations':(0.046614) - (5879728)
Debug: (0.047104) - (5880872)


(mysql): SELECT content_id FROM cms_content WHERE default_content = 1
Error (0):

Debug display of 'End of include':(0.065245) - (8340632)
Debug: (0.065328) - (8278392)

No session found.  Now check for cookies

Debug: (0.065366) - (8278640)

No cookies found.  Redirect to login.
<<< ====

Does anyone have any ideas as to the issue here??

This is an older version of CMSMS, the doc/Changelog.txt shows version 1.2.5 from May 2008 but I'd just like to get it working and do an upgrade another time. If possible....

Thanks for any assistance,

HEATH
heatray999
New Member
New Member
Posts: 5
Joined: Fri Nov 12, 2010 5:04 am

Re: Site Migration assisance requried..

Post by heatray999 »

As an alternative to this I've also tried a full install of 1.9

It starts, and then after the verification with the ckecksum, moves to the "2" and stays there without and progress or messages.

Ideas on that front?

again thanks, HEATH
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Site Migration assisance requried..

Post by RonnyK »

One option to do the sitetransfer is by using the module SitePusher. That will push the site from one place to another, where in the SP-module, you can tell what new location/db/user/pw is to be used...

Ronny
User avatar
SMF
Forum Members
Forum Members
Posts: 13
Joined: Mon Oct 11, 2010 12:17 pm

Re: Site Migration assisance requried..

Post by SMF »

Check your ftp log for errors - your new site uses cPanel, so ftp copy of a tarred archive is the quickest, safest way to move the site.
Check file permissions.
Recheck config.php.
Compare the phpinfo.php output from your old site with the phpinfo from cPanel at your new site.

Maybe try Sitepusher first (suggestion posted as I was previewing this post).
heatray999
New Member
New Member
Posts: 5
Joined: Fri Nov 12, 2010 5:04 am

Re: Site Migration assisance requried..

Post by heatray999 »

Thanks. Site push sounds perfect. But when I do the second test it fails,

Going to the rul that shows;

500 Internal Server Error

The request was not completed. The server met an unexpected condition.

    27.54.85.177/~wcsswa/getcwd.php (port 80)

Please forward this error screen to 27.54.85.177's WebMaster.
Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.8 Server at 27.54.85.177 Port 80

Going to tyhe root directory shows the akmost empty dir for with the above file in it.

IDEAS?

Has anyone  CMSMS with SYRA/Crazydomains.com.au networks?

regads,
HEATH
heatray999
New Member
New Member
Posts: 5
Joined: Fri Nov 12, 2010 5:04 am

Re: Site Migration assisance requried..

Post by heatray999 »

another question....

The new service is on a shared server.. and they prevent??? 777 as a folder access in public_html

So I can't follow the install instructions for version 1.9( or even 1.2.5 for that matter)... Is there any wan around the requirement for 777, on a server with no command line access...

PHP version 5.3.2


Many thanks again,

HEATH
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Site Migration assisance requried..

Post by Wishbone »

On the hosting company that I use, they also prevent 777 and in their instructions, it says that "755 will work for most cases that 777 is required" You can try that.
king_cucaracha
Forum Members
Forum Members
Posts: 27
Joined: Fri Dec 10, 2010 5:35 pm

Re: Site Migration assisance requried..

Post by king_cucaracha »

Hello I also have a prevention of 777 privileges, but believe (at least on my hosting providers) 755 makes it very well for cmsms.
when you install cmsms use a umask of 022. Since you already installed selec all files using cpanel file manager and change permission for 755 on folders and 644 on files.
I also added

Code: Select all

umask 022
to the section # User specific aliases and functions in the file named .bashrc on the home directory of my hosting. (this is one level up of your public_html or www directory)
Adding this line of code you prevent this permission issue to happen in the future. You can also add the permissions status to some ftp clients so each and every file uploaded is with the correct permissions.

Hope  you can do it, and let us know if and when you can accomplish your goal, and as moderators say "put [solved] on your thread when it is done"

Best Regards
Last edited by king_cucaracha on Sat Dec 18, 2010 11:29 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”