Error after moving install to website from local system

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
vinodshenoy
New Member
New Member
Posts: 3
Joined: Tue May 13, 2008 10:51 pm

Error after moving install to website from local system

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Error after moving install to website from local system

Post by Nullig »

Looks like all of the files were not copied correctly by your FTP program. Try uploading them again.

Nullig
vinodshenoy
New Member
New Member
Posts: 3
Joined: Tue May 13, 2008 10:51 pm

Re: Error after moving install to website from local system

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Error after moving install to website from local system

Post 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
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am

Re: Error after moving install to website from local system

Post 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".)
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Error after moving install to website from local system

Post 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
vinodshenoy
New Member
New Member
Posts: 3
Joined: Tue May 13, 2008 10:51 pm

Re: Error after moving install to website from local system

Post 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.....
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error after moving install to website from local system

Post by Dr.CSS »

[solved]  ?...
Locked

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