I hope someone can point me in the right direction as this has been a problem troubling me for over a year, and have been working round/ignoring it up until now.
I create a News Item, and publish it with both a Summary and Detail page and the Summary block shows correctly. However, when you click on the link for [more], it gives my custom 404 error report page saying (after my general blurb) that the following page was not found:
(the title of the News Item was "Next Meeting").Your Requested Page : /news/35/141/Next-Meeting.html
Here are the various configuration files:
File contents of config.php
Code: Select all
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '*********';
$config['db_password'] = '************';
$config['db_name'] = '***********';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = '***************';
$config['timezone'] = 'Europe/London';
$config['default_encoding'] = 'utf-8';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = '1';
$config['query_var'] = 'page';
$config['admin_dir'] = '***************';
?>
Code: Select all
Cms Version: [b]1.12[/b]
Installed Modules:
CMSMailer: [b]5.2.2[/b]
CMSPrinting: [b]1.0.5[/b]
SEOTools2: [b]1.2.1[/b]
MenuManager: [b]1.8.6[/b]
MicroTiny: [b]1.2.9[/b]
ModuleManager: [b]1.5.8[/b]
News: [b]2.15.1[/b]
Search: [b]1.7.12[/b]
ThemeManager: [b]1.1.8[/b]
FormBuilder: [b]0.8.1.1[/b]
Captcha: [b]0.5.2[/b]
CGExtensions: [b]1.46.4[/b]
FrontEndUsers: [b]1.28[/b]
CustomContent: [b]1.10[/b]
FileManager: [b]1.4.5[/b]
NMS: [b]2.4.3[/b]
Gallery: [b]2.0.2[/b]
Uploads: [b]1.18.4[/b]
CGSimpleSmarty: [b]1.8[/b]
Config Information:
php_memory_limit: [b][/b]
process_whole_template: [b][/b]
max_upload_size: [b]8000000[/b]
url_rewriting: [b]mod_rewrite[/b]
page_extension: [b].html[/b]
query_var: [b]page[/b]
image_manipulation_prog: [b]GD[/b]
auto_alias_content: [b]true[/b]
locale: [b][/b]
default_encoding: [b]utf-8[/b]
admin_encoding: [b]utf-8[/b]
set_names: [b]true[/b]
Php Information:
phpversion: [b]5.4.40[/b]
md5_function: [b]On[/b] (True)
gd_version: [b]2[/b]
tempnam_function: [b]On[/b] (True)
magic_quotes_runtime: [b]Off[/b] (False)
E_STRICT: [b]2048[/b]
E_DEPRECATED: [b]0[/b]
memory_limit: [b]64M[/b]
max_execution_time: [b]30[/b]
output_buffering: [b]On[/b]
safe_mode: [b]Off[/b] (False)
file_uploads: [b]On[/b] (True)
post_max_size: [b]8M[/b]
upload_max_filesize: [b]8M[/b]
session_save_path: [b]/tmp[/b] (1777)
session_use_cookies: [b]On[/b] (True)
xml_function: [b]On[/b] (True)
xmlreader_class: [b]On[/b] (True)
Server Information:
Server Api: [b]cgi-fcgi[/b]
Server Db Type: [b]MySQL (mysql)[/b]
Server Db Version: [b]5.6.23[/b]
Server Db Grants: [b]Found a "GRANT ALL" statement that appears to be suitable[/b]
Server Time Diff: [b]No filesystem time difference found[/b]
File contents of htaccess.txt:
Code: Select all
Options +FollowSymLinks
RewriteEngine on
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L,NE]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA,NE]
# <Files 403.shtml>
# order allow,deny
# allow from all
# </Files>
# RewriteCond %{HTTP_USER_AGENT} ".*MSIE 6.0; Windows NT 5.1; SV1.$" [OR]
# RewriteCond %{HTTP_USER_AGENT} ".*MSIE 6.0; Windows NT 5.1;1813.$" [OR]
# RewriteCond %{HTTP_USER_AGENT} "^(?:User-Agent: )?Mozilla/4.0 \(compatible; MSIE 6.0; Windows NT 5.1;(?: SV1|1813)\)$" [OR]
# RewriteCond %{HTTP_USER_AGENT} "MSIE 6.0; Windows NT 5.1; SV1"
# RewriteRule ^(.*)$ http://127.0.0.1/$1 [R=302,L]
To me, it looks to be a problem with Pretty URLs not working correctly for the News Item Detailed content (the Pretty URLs have always worked correctly for normal pages). I have cleared the CMSMS Cache (and gone through all the other options in 'Site Admin' --> 'System maintenance'), even re-installed the site once but no change.

There's nothing showing up the Hosting Company's Error Report option under cPanel, nothing in /error_log, nothing also in /admin/error_log, so I don't know where to look now.
Any help/guidance would be much appreciated.
Many thanks in advance for any input/suggestions/solutions.
Regards
Mike
Based in the UK