[SOLVED] 1.11.7 broken after move - stylesheet not created

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
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

[SOLVED] 1.11.7 broken after move - stylesheet not created

Post 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


----------------------------------------------
Last edited by rotezecke on Fri Sep 13, 2013 2:03 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: 1.11.7 broken after move - stylesheet not created

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: 1.11.7 broken after move - stylesheet not created

Post 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?
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: 1.11.7 broken after move - stylesheet not created

Post 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.
Locked

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