You need to look at your httpd error log for interesting things
failing that, you can try adding this to config.php (temporarily):
Code: Select all
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');
Code: Select all
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');
Turn on $config['debug'] = false; in config.php and see if you get SQL errors on any page with news in it. I haven't moved to 1.1.2 yet but when I moved from 1.1 -> 1.1.1 (by overwriting the installation with the whole tar.gz rather than using diff) then the SQL syntax changed a little and it tripped up on my old MySQL site. The effect was to have news stories in database but they never appeared on the web page.Nullig wrote: I can't see the items in the admin panel, but they were Approved and displayed properly in 1.1.1. The templates are OK. Authorisation is OK.
The new articles showed fine up to CMSMS 1.1.1, then when I did the update to 1.1.2 using the 1.1.1-1.1.2 file, they stopped showing.
I just created a new article and it doesn't show, either.
{news number='4' detailpage='news'} is the tag I use in my template.
Nullig
Ah same bug as me !. The syntax for older MySQL is ..." LIMIT $startelement , $pagelimit "; and not the Postgresql syntax of " " LIMIT $pagelimit OFFSET $startelement";, but as mentioned in http://forum.cmsmadesimple.org/index.ph ... 707.0.html we should be using SelectLimit() e.g. I think this is right but I haven't tested this,GDS wrote: The error seems to (sort of) disappear if I comment out Line 237 in modules/News/action.default.php
#$query1 .= " LIMIT $pagelimit OFFSET $startelement";
(But now all articles shows up, of course)
For the admin panel, I commented out line 95 in modules/News/function.admin_articlestab.php
#$query1 .= " LIMIT $pagelimit OFFSET $startelement";
GDS
For the News see the bits in this thread on the MySQL syntax for the SELECT. That should fix that little quirk.PatDeLux wrote: you can see the result here: www.idevlop.com/admin
And it's a problem because I had lost my News as well (I re-enter them now - what a night!) but also, without the normal presentation in the admin interface, I cannot reach the News template, which I need to restore
How can I get this admin CSS back ? If necessary I can access MySql records.