CSS in backend doesn't load

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.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: CSS in backend doesn't load

Post by staartmees »

Which admin theme are you using? Best is the OneEleven theme.
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

paulbaker wrote:What version did you upgrade from?
from 1.11.7 to 1.11.8
from 1.11.8 to 1.11.9
from 1.11.9 to 1.11.10
Problems started from first upgrade.
paulbaker wrote:How did you upgrade - using FTP to upload the files?
FTP via Filezilla and running the upgrade.php
paulbaker wrote:Post your system info, as Jo Morg asked.
Is this the info.php? see this link http://gonatural.co.nz/info.php

Thanks Paul

Cheers
Hans
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: CSS in backend doesn't load

Post by Jo Morg »

hansnz wrote:
paulbaker wrote:Post your system info, as Jo Morg asked.
Is this the info.php? see this link http://gonatural.co.nz/info.php
http://docs.cmsmadesimple.org/troublesh ... nformation
"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!
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

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

Cms Version: 1.11.10

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8
CGExtensions: 1.38.6
FrontEndUsers: 1.22.3
SelfRegistration: 1.8.2
GoogleMaps: 0.2.1
AireLibs: 1.3.2
EventsManager: 1.2.7
TinyMCE: 2.9.12
FormBuilder: 0.7.4
Captcha: 0.4.6
CGFeedMaker: 1.0.17
CGSimpleSmarty: 1.7.2
Products: 5.4.1

Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 24000000
url_rewriting: mod_rewrite
page_extension: /
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.28
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 24M
upload_max_filesize: 24M
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.5.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: CSS in backend doesn't load

Post by paulbaker »

hansnz wrote: FTP via Filezilla and running the upgrade.php
When I FTP files, every so often a file ends up on the hosting with filesize 0. I wonder if that has happened with you? I would be re-doing the 1.11.10 upgrade but uploading the gz (zipped up files) and expanding them on the server - not using FTP. This will overwrite any files that didn't quite FTP correctly.
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

paulbaker wrote:When I FTP files, every so often a file ends up on the hosting with filesize 0. I wonder if that has happened with you? I would be re-doing the 1.11.10 upgrade but uploading the gz (zipped up files) and expanding them on the server - not using FTP. This will overwrite any files that didn't quite FTP correctly.
Hi Paul,

It is a hosted server and I have no access to a command prompt.
I deleted the whole admin folder on the server and FTP it back, same result.

thanks
Hans
chandra

Re: CSS in backend doesn't load

Post by chandra »

Have you tried to change the non core module names with adding a "_" in front of the name yet?
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

staartmees wrote:Which admin theme are you using? Best is the OneEleven theme.
I just was checking about the modules and notice although I had choosen oneEleven, it was on Ngrey. I changed it now, but same problem.
chandra wrote:Have you tried to change the non core module names with adding a "_" in front of the name yet?
Okay... how do I add a "_"in front of the name? I didn't see a rename option.
Also what are the core and non-core modules of CMSMS.

I did another test, I made a subdomain and loaded CMSMS 1.11.10 and everything was okay there with the admin console.

Thank you guys so far
chandra

Re: CSS in backend doesn't load

Post by chandra »

Core modules are all modules they are included in official CMSMS package.

The suggested renaming should be done via FTP. After doing this you can see if your pure CMSMS install works.

If yes you can rename the other modules back, step by step. Check your backend after every module renaming if it works. If not there's a problem with the last renamed module.
chandra

Re: CSS in backend doesn't load

Post by chandra »

paulbaker wrote: When I FTP files, every so often a file ends up on the hosting with filesize 0.
You should stay secure your FTP program uses binary mode ;) (NOT ASCII or automatic)
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

chandra wrote:Core modules are all modules they are included in official CMSMS package.

The suggested renaming should be done via FTP. After doing this you can see if your pure CMSMS install works.

If yes you can rename the other modules back, step by step. Check your backend after every module renaming if it works. If not there's a problem with the last renamed module.
Thank you Chandra, I put an underscore before each folder name in the modules directory, the website didn't load properly and the admin console same result (No CSS).

I also deleted the admin folder and uploaded it in binary mode, same result (no CSS).

Anybody more ideas?

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

Re: CSS in backend doesn't load

Post by Jo Morg »

I would be willing to bet that what you are experiencing has to do with .htaccess rewrite rules. Here is what I would try:
  1. backup everything;
  2. move cmsms to the root of the domain if possible (appears you have done so already);
  3. rename the old cms folder to something else, to make sure <root>/cms doesn't exist;
  4. update config.php to reflect this change;
  5. test if it works with the snippet I posted bellow on your .htaccess;

Code: Select all

# Activate rewrite engine for any rewrite rules
RewriteEngine on

# CMSMS Settings
# RewriteBase /cms
# RewriteBase /~???/

RewriteBase /
#RewriteRule ^$ cms/index.php
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
RewriteRule ^news/([0-9]*)/([0-9]*)/(.*)/$ index.php?mact=News,cntnt01,detail,0&cntnt01articleid=$1&cntnt01returnid=$2 [NC,L]
RewriteRule ^events/([0-9]*)/([0-9]*)/(.*)/$ index.php?mact=EventsManager,cntnt01,detail,1&cntnt01event_id=$1&cntnt01returnid=$2 [NC,L]
RewriteRule ^Blogs/([0-9]*)/([0-9]*)/$ index.php?mact=News,cntnt01,showentry,0&cntnt01entryid=$1&cntnt01returnid=$2 [NC,L]
RewriteRule ^uploads/([0-9]+)/([a-zA-Z0-9\-_]*)/$ index.php?mact=Uploads,m5,getfile,1&m5upload_id=$1 [NC,L]
RewriteRule ^download/get/(.*)/([0-9]+)/$ index.php?mact=DownloadManager,m5,download,$2&m5alias=$1&page=$2 [NC,L]
RewriteRule ^postback_anzegate/(.*) index.php$1&page=ustore&action=postpayment [NC,L]
RewriteRule ^ustorepostpayment/(.*) index.php$1&page=ustore&action=postpayment [NC,L]
RewriteRule ^sitemap\.xml$ index.php?page=sitemapxml [NC,L]
# I don't think the following is needed #####
# RewriteCond %{REQUEST_FILENAME} !-f [NC]
# RewriteCond %{REQUEST_FILENAME} !-d [NC]
# RewriteRule ^(.+)$ cms/$1
#############################################
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
# RewriteRule ^(.+)$ cms/index.php?page=$1 [QSA]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
If that doesn't work:
Comment out the prettyurls setting on config.php. If it doesn't work without it then you have some other serious problem with modules or CMSMS settings.
You really need to do some serious debugging on this, I'm afraid...
"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!
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

Thank Jo,

Didn't work either.
I have some serious thinking to do I guess.

Hans
hansnz
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 27, 2014 11:27 pm

Re: CSS in backend doesn't load

Post by hansnz »

I noticed something very interesting and maybe you guys can explain it.

I installed CMSMS 1.11.10 in a brand new subdomain (same server etc), everything was fine with the backend till I imported the database from the production server. I guess there must something in the database what cause my problems. Anybody have any idea what I should search for?

Thanks
Hans
Locked

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