1.10.3 Deployment: Config problem [SOLVED]

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
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

1.10.3 Deployment: Config problem [SOLVED]

Post by wmdvanzyl »

Hi All.

Usually when i deploy CMSMS i rebuild it on the live server by doing a proper install and then uploading the themes and the modules and the files and just importing the database. This time however i need to deploy the site by just uploading the the dev folder and importing the database. I also haven't done a deployment in a while, so i'm not sure if i am rusty or if i made a config error.

I am using 1.10.3 and i have checked all the requirements - no problems there.
The issue is that if i log in to the admin panel and then say "View Site" it displays fine, but if i just browse to the site, i get no styling and a bunch of errors. Right now i have the Site Down message up and only my IP whitelisted. ***EDIT - FIGURED THIS PART OUT - SEE BOTTOM ***

The errors are things like:

Code: Select all

/home/imebiz/public_html/lib/smarty/Smarty.class.php:1593 - trigger_error
/home/imebiz/public_html/lib/smarty/Smarty.class.php:1415 - _fetch_resource_info
/home/imebiz/public_html/lib/smarty/Smarty.class.php:1261 - _compile_resource
/home/imebiz/public_html/lib/classes/module_support/modtemplates.inc.php:182 - fetch
/home/imebiz/public_html/lib/classes/class.CMSModule.php:2395 - cms_module_ProcessTemplate
/home/imebiz/public_html/modules/jQuery/jQuery.module.php:30 - ProcessTemplate
/home/imebiz/public_html/modules/jQuery/action.default.php:6 - DisplayErrorPage
/home/imebiz/public_html/lib/classes/class.CMSModule.php:1583 - include
/home/imebiz/public_html/lib/classes/class.CMSModule.php:1628 - DoAction
/home/imebiz/public_html/lib/module.functions.php:122 - DoActionBase
/home/imebiz/public_html/lib/classes/class.CMSModule.php:280 - cms_module_plugin
/home/imebiz/public_html/tmp/templates_c/%%01^013^01360D26%%tpl_body%3A23.php:54 - function_plugin
/home/imebiz/public_html/lib/smarty/Smarty.class.php:1263 - include
/home/imebiz/public_html/index.php:269 - fetch
string(73) "Smarty error: unable to read resource: "module_file_tpl:jQuery;error.tpl"" 
So no styling what-so-ever when directly accessing the site; yet everything looks fine when logging into admin panel and then saying View Site.

This must be a config issue of some kind i'm guessing... Any ideas.

*** EDIT *** So i noticed that when i try to access the admin panel i get rerouted to the admin panel of my localhost (the dev machine)...?! So clearly there is a config issue. So it's not that the site is displying fine when using View Site - it is that i am looking at the local copy when accessing the admin panel!

Also, it isn't finding the stylesheets, hence the no styling issues. There is a problem with the paths somewhere...
Last edited by wmdvanzyl on Fri Jun 07, 2013 3:56 pm, edited 1 time in total.
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: 1.10.3 Deployment: Config problem [SOLVED]

Post by wmdvanzyl »

Got it! So stupid....!!! In config.php -> wrong base url... still had the *cough* localhost settings.... *facepalm*
Locked

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