Combined stylesheet does not work

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm

Combined stylesheet does not work

Post by reinhardmohr »

Hi, it would be great if somebody could help me. I ran into a problem with combined stylesheets – they do not work and the design of my site falls apart. When I add the parameter nocombine="1" to the stylesheet tag in my template everything is fine and working.
It's a bootstrap theme that I adapted for CMSms.

Here ist what I use:

Code: Select all

----------------------------------------------
Cms Version: 2.1.6
Installed Modules:
AceEditor2: 1.05
AdminSearch: 1.0.2
CMSContentManager: 1.1.4
DesignManager: 1.1.1
ExaExternalizer: 0.6
FileBackup: 0.5
FileManager: 1.5.2
MicroTiny: 2.0.3
ModuleManager: 2.0.5
Navigator: 1.0.3
News: 2.50.6
Search: 1.50.2

Config Information:
php_memory_limit:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
auto_alias_content: true
locale: de_DE.UTF-8
set_names: true
timezone: Europe/Berlin
permissive_smarty: false

Php Information:
phpversion: 5.6.27
md5_function: An (Ja)
json_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: Keine Beschränkung
register_globals: Aus (Nein)
output_buffering: An
disable_functions:
open_basedir:
test_remote_url: Erfolgreich abgeschlossen
file_uploads: An (Ja)
post_max_size: 48M
upload_max_filesize: 32M
session_save_path: /var/tmp (1733)
session_use_cookies: An (Ja)
xml_function: An (Ja)
xmlreader_class: An (Ja)
check_ini_set: An (Ja)
curl: An

Performance Information:
allow_browser_cache: Aus (Nein)
browser_cache_expiry: 60
php_opcache: An (Ja)
smarty_cache: Aus (Nein)
smarty_compilecheck: Aus (Nein)
smarty_cache_udt: Aus (Nein)
auto_clear_cache_age: An (Ja)
Server Information:
Server Software: Apache/2.2.31 (Unix)
Server Api: cgi-fcgi
Server Os: SunOS SunOS localhost 5.10 Generic_142901-13 i86pc An SunOS localhost 5.10 Generic_142901-13 i86pc
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.34
Server Db Grants: Es konnte keine „GRANT ALL“-Berechtigung gefunden werden. Dies kann bedeuten, dass Sie bei der Installation oder beim Entfernen von Modulen, oder sogar beim Hinzufügen und Löschen von Elementen, einschließlich Seiten, Probleme haben könnten.

Permission Information:
tmp: /mnt/web112/b0/26/57800926/htdocs/tmp (0750)
tmp_cache: /mnt/web112/b0/26/57800926/htdocs/tmp/cache (0750)
templates_c: /mnt/web112/b0/26/57800926/htdocs/tmp/templates_c (0750)
modules: /mnt/web112/b0/26/57800926/htdocs/modules (0750)
uploads: /mnt/web112/b0/26/57800926/htdocs/uploads (0750)
Maske zum Erstellen von Dateien (umask): /mnt/web112/b0/26/57800926/htdocs/tmp/cache (0750)
config_file: 0444
----------------------------------------------
I checked all of my stylesheets on errors. I rearranged the order and detached every single one. I cleared the cache. I checked the forum. But I could not find a way to solve the problem.
Could someone help me?

Thanks

Reinhard
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Combined stylesheet does not work

Post by Rolf »

Just checked a new site I created with CMSMS 2.1.6 this weekend and it works for me.

You have probably a syntax, module or a template error something...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm

Re: Combined stylesheet does not work

Post by reinhardmohr »

Hi, Rolf,
thanks for helping. I was wondering if there could be something in the stylesheets like the double brackets [[ … ]] that could throw a smarty error?
I checked everything but I couldn't find the problem.
Could you give me some direction where to look for?

I know there have been limits for the size of stylesheets in the CMSms-1.x-series. And I know the sizes can be much bigger now – but I don't know the values. Could it be that a combined stylesheet is just to big for CMSms 2.x?

Thanks for giving me a hint and for helping!

Reinhard
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Combined stylesheet does not work

Post by Rolf »

You could try to unselect the stylesheets one by one from the design in the Design Manager. This way you can find out which stylesheet is the problem.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Combined stylesheet does not work

Post by velden »

It's a bootstrap theme that I adapted for CMSms.
Bootstrap stylesheet(s) usually are very large and should NOT be added in the CMSMS database.

Better upload the bootstrap .css files to the webserver and link to them from within the page template(s).

Then only add the custom css rules in a CMSMS stylesheet connected to the template. Obviously the linked .css files should appear above the {cms_stylesheet} tag.

BTW: not sure if this causes the error, but it is a best practice anyway
Post Reply

Return to “CMSMS Core”