Page 1 of 1

Error during transfer

Posted: Tue Oct 31, 2006 5:51 am
by pralay
Hi,
I hd a site running on a server built on cmsmadesimple.
Now transferred that to a new server.
Now when i went to the admin section I found some strange things happening.
in content section:
-Add Me - module:News string:news--

in extensions section:

-Add Me - module:ModuleManager string:friendlyname--
--Add Me - module:CMSMailer string:friendlyname--
--Add Me - module:FCKeditorX string:friendlyname--
--Add Me - module:NMS string:friendlyname--
--Add Me - module:Search string:search--

--Add Me - module:Search string:search--




It also says me when I go to the modules section that modules folder is not writable. But I went to server through ftp and  saw it is 777 and all its folder too 777.

cms also says that cache is not 777
But it is also 777.
so what is happening??
Please help me.
It's urgent.

Re: Error during transfer

Posted: Tue Oct 31, 2006 6:33 am
by Dr.CSS
How did you transfer it...
What other things did you change?

Re: Error during transfer

Posted: Tue Oct 31, 2006 6:53 am
by pralay
Hi,
i made a tar file of the whole content from the old server and then untar it in the new server.
And then taking a backup of the old database just dumped it on the new mysql_server.

Re: Error during transfer

Posted: Tue Oct 31, 2006 6:57 am
by Dr.CSS
Did you change the config.php have you tried to uninstall/reinstall the modules...

Re: Error during transfer

Posted: Tue Oct 31, 2006 7:00 am
by pralay
Yes....I changed the IP in the $config['db_hostname'] according to the new server. But as the url remains the same, I kept it that way..like the folowing..

$config['root_url'] = 'http://menohrt.com.au';

and same to the others.

Re: Error during transfer

Posted: Tue Oct 31, 2006 9:17 am
by pralay
Ok. I have adjusted the admin end. There was a problem in config.php

Now when I am viewing the site frontend it is showing a jumbled image without taking css..some images.

But when I am priviewing a page from the admin end it is showing nice.
What is the problem??

Re: Error during transfer

Posted: Tue Oct 31, 2006 10:20 am
by tsw
check all paths and clear cache

Re: Error during transfer

Posted: Fri Nov 03, 2006 10:18 pm
by philight
tsw wrote: check all paths and clear cache
That's right, I got the same "-Add Me -" problem and it was due to a wrong path.

If you don't know your path, you can change the following lines in the config.php file :

Code: Select all

$config['root_path'] = $_SERVER['DOCUMENT_ROOT'];
$config['previews_path'] = $_SERVER['DOCUMENT_ROOT'].'/tmp/cache';
$config['uploads_path'] = $_SERVER['DOCUMENT_ROOT'].'/uploads';
$config['image_uploads_path'] = $_SERVER['DOCUMENT_ROOT'].'/uploads/images';

Re: Error during transfer

Posted: Sun Mar 04, 2007 8:19 am
by petert
philight wrote: If you don't know your path, you can change the following lines in the config.php file :

Code: Select all

$config['root_path'] = $_SERVER['DOCUMENT_ROOT'];
$config['previews_path'] = $_SERVER['DOCUMENT_ROOT'].'/tmp/cache';
$config['uploads_path'] = $_SERVER['DOCUMENT_ROOT'].'/uploads';
$config['image_uploads_path'] = $_SERVER['DOCUMENT_ROOT'].'/uploads/images';
Why isn't this a permanent entry in the config.php?
Works great and saves a lot of trouble when moving between servers.