Page 2 of 2

Re: CSS in backend doesn't load

Posted: Tue Jun 17, 2014 3:40 am
by staartmees
Which admin theme are you using? Best is the OneEleven theme.

Re: CSS in backend doesn't load

Posted: Wed Jun 18, 2014 8:42 am
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

Re: CSS in backend doesn't load

Posted: Wed Jun 18, 2014 8:47 am
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

Re: CSS in backend doesn't load

Posted: Wed Jun 18, 2014 9:07 am
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

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

Re: CSS in backend doesn't load

Posted: Wed Jun 18, 2014 9:28 am
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.

Re: CSS in backend doesn't load

Posted: Thu Jun 19, 2014 3:00 am
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

Re: CSS in backend doesn't load

Posted: Thu Jun 19, 2014 3:57 am
by chandra
Have you tried to change the non core module names with adding a "_" in front of the name yet?

Re: CSS in backend doesn't load

Posted: Thu Jun 19, 2014 9:01 am
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

Re: CSS in backend doesn't load

Posted: Thu Jun 19, 2014 10:37 am
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.

Re: CSS in backend doesn't load

Posted: Thu Jun 19, 2014 10:43 am
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)

Re: CSS in backend doesn't load

Posted: Mon Jun 23, 2014 9:01 am
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

Re: CSS in backend doesn't load

Posted: Tue Jun 24, 2014 9:52 am
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...

Re: CSS in backend doesn't load

Posted: Fri Jun 27, 2014 7:49 am
by hansnz
Thank Jo,

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

Hans

Re: CSS in backend doesn't load

Posted: Wed Jul 02, 2014 9:05 am
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