Page 1 of 1

[Solved] From wamp server to web-hotel

Posted: Sun Apr 13, 2008 1:08 pm
by nakkiel
I have tried numerous ways to get my cms made simple wamp installation to work in my web-hotel. If I don't see error 404, I see bunch of smarty errors. What am I doing wrong? I have followed the user handbook and how-to guides to get it working and no. 

Here's the errors:

Code: Select all

string(106) "Smarty error: [in template:20 line 4]: [plugin] unknown tag - 'sitename' (core.load_plugins.php, line 124)" string(103) "Smarty error: [in template:20 line 4]: [plugin] unknown tag - 'title' (core.load_plugins.php, line 124)" string(106) "Smarty error: [in template:20 line 5]: [plugin] unknown tag - 'metadata' (core.load_plugins.php, line 124)" string(108) "Smarty error: [in template:20 line 6]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 124)" string(106) "Smarty error: [in template:20 line 59]: [plugin] unknown tag - 'content' (core.load_plugins.php, line 124)"
Fatal error: Call to undefined function smarty_cms_function_sitename() in /home/pt5473/public_html/cms/tmp/templates_c/%%7E^7E8^7E8F1701%%template%3A20.php on line 8
I have set write permissions to folders, permissions to config.php, export & import database, clear cache, etc. I tried to do fresh install and import database there and no. Tried to copy the stuff over fresh install and import database and no. Tried to install using cPanel and import database and no... I got the impressions from the user handbook that this should be an easy task :D

What am I missing?  ???

Re: From wamp server to web-hotel

Posted: Sun Apr 13, 2008 2:06 pm
by alby
nakkiel wrote: I have tried numerous ways to get my cms made simple wamp installation to work in my web-hotel. If I don't see error 404, I see bunch of smarty errors. What am I doing wrong? I have followed the user handbook and how-to guides to get it working and no. 
Compares (size files) the plugins directory local and on server and check permission of plugins folder
Active debug in config.php and check for errors

Alby

Re: From wamp server to web-hotel

Posted: Sun Apr 13, 2008 3:00 pm
by nakkiel
Set plugins folder permission to... 775? Or what? Should I set permissions to sub-folders and files too? Active debug? Meaning what? Check for errors, how?

Re: From wamp server to web-hotel

Posted: Sun Apr 13, 2008 3:44 pm
by alby
nakkiel wrote: Set plugins folder permission to... 775? Or what?
Depends from owner of webserver process and your ftp account. It should be fine but you can try with 777.

nakkiel wrote: Should I set permissions to sub-folders and files too?
There is a cache subfolder but it's no important
At minimum files must be 644

nakkiel wrote: Active debug? Meaning what?
Have you look in config.php?
Have you active debug (switch to true)?

nakkiel wrote: Check for errors, how?
Have you look in your page?

Alby

Re: From wamp server to web-hotel

Posted: Sun Apr 13, 2008 4:33 pm
by nakkiel
I set all permissions on all files and folders to minimum of 644. Then again the 777 permissions to the certain files and folders. Then set the debug to true, and got bunch more errors when accessing my site. Yes I have looked in config.php a thousand times. Yes I have looked in my site...  ::)

Then I installed a fresh copy (again) using cPanel. Did the install ok, set permissions and imported the database. Now this time I can actually see my site, but I get yet again some error:

Fatal error: Call to a member function GetContent() on a non-object in /home/pt5473/public_html/cmsmadesimple/lib/content.functions.php on line 497

Everything else in the site is working fine, except the content. It would seem that something gets messed up when uploaded the files straight from wamp server to web-hotel. But with a fresh install it is kinda working, if only... :)

Re: From wamp server to web-hotel

Posted: Sun Apr 13, 2008 5:06 pm
by Nullig
Did you copy all of the files from your wamp install, includng the tmp/cache and tmp/templates_c ?
If so, you should delete all of the files in those 2 directories.

Nullig

Re: From wamp server to web-hotel

Posted: Sun Apr 13, 2008 5:23 pm
by nakkiel
Now it's working! Thanks Nullig  :D