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""
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...