[solved] Website lost styles after upgrading from 1.11.10

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

[solved] Website lost styles after upgrading from 1.11.10

Post by cnymike »

I upgraded CMSMS from 1.11.10 to 1.11.11 using the english.tar.gz file.

I also upgraded many modules.

Now my website has lost all styles on the front end. Admin styles are fine.

The website is http://www.stjameschurch.us

The Templates are using

Code: Select all

{cms_stylesheet}
I've cleared the CMSMS cache but that did not fix anything.
I've cleared my browser cache.
I've enabled debug in config.php and see quite a lot of activity, in particular this one, among other, "Cannot load module CustomContent ... Problem loading dependent module FrontEndUsers version 1.3"

I am not clear on what I should check next and would appreciate any suggestions.

----------------------------------------------
Cms Version: 1.11.11
Installed Modules:
CMSMailer: 5.2.2
FCKeditorX: 1.1.0
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
Calendar: 0.8.2
Album: 1.10.3
TinyMCE: 2.9.12
FileManager: 1.4.5
Printing: 1.1.2
CGExtensions: 1.44.3
CompanyDirectory: 1.22.7
Play: 1.0.3
Banners: 2.6.1
PodcastManager: 0.6.2
SiteMapMadeSimple: 1.2.8
FrontEndUsers: 1.21.18
CustomContent: 1.9
SelfRegistration: 1.7.8
Captcha: 0.5.0
SystemInfo: 1.0
CGFBApp: 1.0.9
CMSPrinting: 1.0.5
MicroTiny: 1.2.7
FormBuilder: 0.8
CGSimpleSmarty: 1.7.4
JQueryTools: 1.3.4

Config Information:
php_memory_limit:
process_whole_template: 1
max_upload_size: 15000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding:
admin_encoding: utf-8
set_names: false

Php Information:
phpversion: 5.3.15
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 64M
max_execution_time: 240
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 15M
upload_max_filesize: 15M
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.0.96
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------
Last edited by cnymike on Mon Dec 15, 2014 9:53 pm, edited 2 times in total.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Website lost styles after upgrading from 1.11.10 to 1.1

Post by paulbaker »

Try CMSMS Clear Cache:
Site Admin -> System Maintenance -> Cache and content -> Clear Cache.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Website lost styles after upgrading from 1.11.10 to 1.1

Post by cnymike »

I have cleared the cache but unfortunately it did not help.

I also cleared my browser cache.

I enabled debug in config.php but not sure where that shows up... in Admin Log page?

I do see this error in CMSMS Admin Log:
Cannot load module CustomContent ... Problem loading dependent module FrontEndUsers version 1.3
There are quite a few entries in the Admin Log. Not sure if I should post them all or not.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Website lost styles after upgrading from 1.11.10 to 1.1

Post by paulbaker »

Check your template links to CSS in the admin area, I see no call to any .css file in the HTML of your link.

The only other thing I can see is you need PHP 5.4 these days:
http://forum.cmsmadesimple.org/viewtopi ... =7&t=71719
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Website lost styles after upgrading from 1.11.10 to 1.1

Post by cnymike »

OK I Just upgraded to php5.4

Not sure what you mean by the template links to CSS in the Admin area. Where do I find that? It was working fine before the upgrade, wondering why that would have changed?

I found this in the debug file:

Debug: (0.08988) - (usage: 7228760) - (peak: 7521704)
(mysql): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1418672267,0,'',-1,'Core','Cannot load module CustomContent ... Problem loading dependent module FrontEndUsers version 1.3','')
Debug: (0.089935) - (usage: 7224000) - (peak: 7521704)
Cannot load CustomContent... cannot load it's dependants.

and

Debug: (0.014862) - (usage: 1929336) - (peak: 1947704)
(mysql): SET
Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

I called my webhost and they said I'm using a newer version (I think they said 5.1) than the CMSMS requirement so I don't know what to make of the SQL error I'm getting.


This is how my Template top looks:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Change lang="en" to the language of your site -->

<head>

<title>{sitename} - {title}</title>
<!-- The sitename is changed in Site Admin/Global settings. {title} is the name of each page -->

{metadata}
<!-- Don't remove this! Metadata is entered in Site Admin/Global settings. -->

{cms_stylesheet}
<!-- This is how all the stylesheets attached to this template are linked to -->

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

Michael
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: Website lost styles after upgrading from 1.11.10 to 1.1

Post by Jo Morg »

Just a thought: as you updated the module before upgrading PHP, it's almost sure that some of the updates didn't go through.
I recommend rolling back the site to a backup, and upgrading CMSMS and modules again.
In any case I would bet that there are modules still asking for upgrade on the backend.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Website lost styles after upgrading from 1.11.10 to 1.1

Post by cnymike »

I think you are right about upgrading modules before the upgrade to php5.4 was done.

Rather than restore from backup, I selectively removed and reinstalled modules, particularly the FEU module and things seem to have straightened out and the site is now loading,

I'll observer this for a while then decide if this is "solved" or not.

Thanks for the idea to reinstall... that seems to have gotten me back on track.
Post Reply

Return to “Layout and Design (CSS & HTML)”