CMS Made Simple Forums
https://forum.cmsmadesimple.org/

CGBlog doesn't style detail page with pretty URLs
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=77622
Page 1 of 1

Author:  cuzimbob [ Mon Nov 20, 2017 7:18 pm ]
Post subject:  CGBlog doesn't style detail page with pretty URLs

I'm using the latest and greatest bitnami AWS container for CMSMS. Everything is upgraded to the latest stable releases, no betas. See sysinfo below.

I created some blog entries in CGBlog and assigned a default details page. Everything works great. Some time period later (~ 24 hours) it doesn't work so great. All of the styling is gone, only the text remains. Simply black text on white background, no navigation. If I comment out $config 'url_rewriting' = 'mod_rewrite' in the config.php then the styling returns, but that breaks other links. So I need the pretty urls turned on.

The detailpage parameter and correct value are being passed to the detail action, and the formatting is happening per the template. So it seems more like a CMSMS config issue rather than a CGBlog issue/bug.

Quote:

----------------------------------------------
Cms Version: 2.2.3.1
Installed Modules:
AdminSearch: 1.0.4
CGBlog: 1.15.5
CGExtensions: 1.57.1
CGFeedback: 2.1
CGGoogleMaps2: 1.1.1
CGSimpleSmarty: 2.1.7
CGSmartImage: 1.22.1
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
CmsJobManager: 0.1.1
DesignManager: 1.1.3
FileManager: 1.6.4
FilePicker: 1.0.1
FormBuilder: 0.8.1.6
FrontEndUsers: 2.7.1
Gallery: 2.3.2
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MicroTiny: 2.2.1
ModuleManager: 2.1.2
Navigator: 1.0.8
News: 2.51.3
Search: 1.51.2

Config Information:
php_memory_limit:
max_upload_size: 40000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Los_Angeles
permissive_smarty: false

Php Information:
phpversion: 7.0.22
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22527
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: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 40M
upload_max_filesize: 40M
session_save_path: /opt/bitnami/php/tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: fpm-fcgi
Server Os: Linux 3.13.0-129-generic On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /opt/bitnami/apps/cmsmadesimple/htdocs/tmp (0755)
tmp_cache: /opt/bitnami/apps/cmsmadesimple/htdocs/tmp/cache (0775)
templates_c: /opt/bitnami/apps/cmsmadesimple/htdocs/tmp/templates_c (0775)
modules: /opt/bitnami/apps/cmsmadesimple/htdocs/modules (0775)
uploads: /opt/bitnami/apps/cmsmadesimple/htdocs/uploads (0775)
File Creation Mask (umask): /opt/bitnami/apps/cmsmadesimple/htdocs/tmp/cache (0775)
config_file: 0660
----------------------------------------------


Author:  velden [ Tue Nov 21, 2017 2:04 pm ]
Post subject:  Re: CGBlog doesn't style detail page with pretty URLs

No styling, no navigation. Possibly there are errors preventing the full html from being displayed.

Have a look at the page source for that page.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/