Page 1 of 1

[SOLVED] 1.11.7 broken after move - stylesheet not created

Posted: Thu Sep 12, 2013 4:18 am
by rotezecke
my host copied a CMSMS 1.11.7 website to a new server.

Initially, things looked good, a few glitches not related to CMSMS. I then deleted the cache (site admin -> system maintenance) and one template does not find the stylesheet.

I admit, there's a third party module involved (CMSMS_shop_skin_helper) but i believe CMSMS does not create the combined_stylesheet (not found, i browsed to that location, too). I see a few stylesheets, and clear cache removes them all, but the one template does not recreate its stylesheet. why would that be?

the working site is http://www.rpc.com.au
to access the copied site add

Code: Select all

203.13.68.85	www.rpc.com.au
203.13.68.85	secure.rpc.com.au
to your host file.

the Products template does not work.

note: some of the modules are outdated as old server still runs on PHP 5.2

Cheers
----------------------------------------------

Cms Version: 1.11.7

Installed Modules:

CMSMailer: 5.2.1
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
CGSmartImage: 1.10.1
Search: 1.7.8
TinyMCE: 2.9.12
CGSimpleSmarty: 1.5.3
CGExtensions: 1.31.4
CGBlog: 1.9.12
CGFeedback: 1.5.10
Captcha: 0.4.6
FormBuilder: 0.7.3
Showtime: 3.3
GBFilePicker: 1.3.3


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 16000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.26
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 126M
max_execution_time: 120
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 16M
upload_max_filesize: 16M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.70
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


----------------------------------------------

Re: 1.11.7 broken after move - stylesheet not created

Posted: Thu Sep 12, 2013 4:51 am
by calguy1000
I've seen this problem before when there was a smarty error in the stylesheet.

The stylesheet error would prevent the .css file from being created in the tmp/cache directory, but the tag would still be generated to the HTML.

Remembering that [[ and ]] are smarty tags in stylesheets... I would advise you to review each of these stylesheets and see what could be causing the problem.

Re: 1.11.7 broken after move - stylesheet not created

Posted: Thu Sep 12, 2013 5:15 am
by rotezecke
Thanks
the website was built before stylesheets were combined, hence I only have ONE stylesheet for screen, and one for print that are maintained in CMSMS. (the odd hardcoded css file may exist as file). so if the stylesheet loads in some templates but not in others, can I assume the stylesheet syntax is not the issue?

Re: 1.11.7 broken after move - stylesheet not created

Posted: Fri Sep 13, 2013 2:03 am
by rotezecke
Ok, found the problem (me to blame).

the shop_skin_helper configuration had a hardcoded URL going to the live site, and while my host file was resolving the URL to the new IP address, shop_skin_helper was retrieving the data from live server, which is mostly the same except for the obscure CSS link.