Page 1 of 1

[Solved] Admin CSS broken 1.11.1

Posted: Thu Oct 11, 2012 3:54 am
by catchlight
After moving CMSMS 1.11.1 from a subdirectory to the root folder I struck this issue and I can't seem to resolve it.

The frontend of the website is working just fine, however in the Admin area (regardless of changing admin theme to OneEleven or Ngrey) has no Stylesheets!

Clearing cache makes no difference either.

Stylesheets look like this in the source code.

Code: Select all

<link rel="stylesheet" href="style.php?_sx_=be8fc59c" />
I can even navigate directly to http://mysite.com/admin/style.php?_sx_=be8fc59c and see the stylesheet no problem.

When navigating to Admin > Pages, I get this error
Output has already been sent to the browser at /home/mysite/domains/mysite.com/public_html/config.php:20. Please make sure the command $xajax->processRequest() is placed before this.
Anyone have any ideas?

Here's my set-up if that helps...

Cms Version: 1.11.1

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.0
MenuManager: 1.8.3
MicroTiny: 1.2.3
ModuleManager: 1.5.5
News: 2.12.7
Search: 1.7.7
ThemeManager: 1.1.7
FormBuilder: 0.7.3
FormBrowser: 0.4.2
Captcha: 0.4.5
Showtime: 3.2


Config Information:

php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 32000000
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.13
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 128M
max_execution_time: 30
output_buffering: 0
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: No check because open basedir active
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.63
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Re: Admin CSS broken 1.11.1

Posted: Thu Oct 11, 2012 4:10 am
by catchlight
OK, here's how I fixed the issue!

Pondering the possible meaning of the error message, within my config file, I placed

Code: Select all

$config['url_rewriting'] = 'mod_rewrite';
BEFORE

Code: Select all

$config['timezone'] = 'Pacific/Auckland';
everything started working fine! Sorry to waste time on the forum, but I hope this helps someone in future.

Re: Admin CSS broken 1.11.1

Posted: Thu Oct 11, 2012 4:42 pm
by Dr.CSS

Re: [Solved] Admin CSS broken 1.11.1

Posted: Thu Oct 11, 2012 9:37 pm
by catchlight
Sure thing Dr. CSS, all done. I was never sure who was responsible for actually doing that. Forum admins or myself. Good to know.