[Solved] From wamp server to web-hotel

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
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

[Solved] From wamp server to web-hotel

Post 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?  ???
Last edited by nakkiel on Sun Apr 13, 2008 5:24 pm, edited 1 time in total.
alby

Re: From wamp server to web-hotel

Post 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
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

Re: From wamp server to web-hotel

Post 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?
alby

Re: From wamp server to web-hotel

Post 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
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

Re: From wamp server to web-hotel

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

Re: From wamp server to web-hotel

Post 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
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

Re: From wamp server to web-hotel

Post by nakkiel »

Now it's working! Thanks Nullig  :D
Locked

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