Page 1 of 1

Error after moving install to website from local system

Posted: Tue May 13, 2008 11:06 pm
by vinodshenoy
Hello All,

I made a simple cmsmadesimple website offline (using xampp in windows)

Then i uploaded it to a directory in my webhost (blue host) - had a couple of problems....

ERROR 1

I my admin panel some of the options dont show the name any more - instead they show what looks like the variable for that string - basically "--Add Me.....". These were showing correctly when i installed them offline. This happens to mainly the module manager, extra modules and a few other places. The functions work as intended but show like this.

Image

ERROR 2

Another problem I have is i am not able to upload any files via Form Builder. Also cannot clear cache. I have chmod 777 to the upload, tmp etc.. but it still doesnt upload.

For example when I upload a file it gives this error, i am assumming it could not upload the file, therefore there is nothing to move.
"Warning: move_uploaded_file(cms/uploads/7800bs.exe) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/shenoyde/public_html/cms/modules/FormBuilder/classes/Form.class.php on line 2022

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpnrSYfH' to 'cms/uploads/7800bs.exe' in /home/shenoyde/public_html/cms/modules/FormBuilder/classes/Form.class.php on line 2022
"

When I moved the installed something went wrong.. my config.php is here so that someone can check it. - http://myfastbmw.com/config.txt


Somebody Help!

Doniv
Houston

Re: Error after moving install to website from local system

Posted: Tue May 13, 2008 11:10 pm
by Nullig
Looks like all of the files were not copied correctly by your FTP program. Try uploading them again.

Nullig

Re: Error after moving install to website from local system

Posted: Wed May 14, 2008 12:47 am
by vinodshenoy
Nullig wrote: Looks like all of the files were not copied correctly by your FTP program. Try uploading them again.

Nullig
I made a ZIP of the whole directory and unzipped on the webserver, so this is not a possibility

Re: Error after moving install to website from local system

Posted: Wed May 14, 2008 12:58 am
by Nullig
Did it unzip into the proper directory structure?
Have you looked to see if all of the files/directories are there?
Did you edit the config.php to point to the new paths and db?
Did you clear the tmp/cache and tmp/template_c directories?

Nullig

Re: Error after moving install to website from local system

Posted: Wed May 14, 2008 1:02 am
by Wiedmann
my config.php is here so that someone can check it. - http://myfastbmw.com/config.txt
Your are using relative paths and not absolute ones?

Maybe it helps to recreate the file "config.php".
(If your "install" dir  still exists, you can use "http://www.example.com/cms/install/upgrade.php".)

Re: Error after moving install to website from local system

Posted: Wed May 14, 2008 1:08 am
by Nullig
I think this might be a problem

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '.'; <----

Nullig

Re: Error after moving install to website from local system

Posted: Wed May 14, 2008 1:48 am
by vinodshenoy
Nullig wrote: I think this might be a problem

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '.'; <----

Nullig
You the man!!! THANKS. Fixed.....

Re: Error after moving install to website from local system

Posted: Wed May 14, 2008 9:37 am
by Dr.CSS
[solved]  ?...