[SOLVED]Fresh Install, Cant create new content pages.

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
wibby
Forum Members
Forum Members
Posts: 41
Joined: Tue Nov 20, 2007 11:17 am

[SOLVED]Fresh Install, Cant create new content pages.

Post by wibby »

Hi I'm running a fresh install of 1.9.4.1. (i'm not a novice 20+installs)

When I finished the install I deleted all but the homepage, Installed my theme and tried to add a second page, I press submit and get the " The content was successfully added to the database." conformation with no errors. But no page gets added to the content list!

Does anybody have any ideas about this error?

Thanks
Last edited by wibby on Thu Apr 14, 2011 3:08 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Fresh Install, Cant create new content pages.

Post by RonnyK »

I suspect that you are running PHP5.3. If so, set the timezone in the config.php correctly....

Ronny
wibby
Forum Members
Forum Members
Posts: 41
Joined: Tue Nov 20, 2007 11:17 am

Re: Fresh Install, Cant create new content pages.

Post by wibby »

Unfortunately im running 5.2.11.

Any other Ideas?
wibby
Forum Members
Forum Members
Posts: 41
Joined: Tue Nov 20, 2007 11:17 am

Re: Fresh Install, Cant create new content pages.

Post by wibby »

This is crazy!,

I enabled Debug mode in the config.php posted a test to capture the output and all the other content showed up!!!

Disabled the Debug in the config.php and all the content is still there.

Why would that happen???

I have attached the debug.txt just in case it helps someone else.

Server Log seems to be pointing to this error
PPHP Notice: Undefined index: ucwords in /home/c******/public_html/plugins/function.current_date.php on line 29, referer: http://www.c*****.co.uk/admin/listcontent.php?sp_=d13da831


time and date is set in config.php as
$config['timezone'] = 'Etc/Greenwich';

for the UK

p.s it has stopped again... even with debug mode switched on..... Not happy :(
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Fresh Install, Cant create new content pages.

Post by RonnyK »

reason why debug will work is that is does an clear-cache.
Thing with php5.3 is that it requires the TZ to be filled correctly. Otherwise it sees a difference in TZ and doesnt do a clear cache until the time difference between the two TZs is passed. Could you

Ronny
wibby
Forum Members
Forum Members
Posts: 41
Joined: Tue Nov 20, 2007 11:17 am

Re: [SOLVED]Fresh Install, Cant create new content pages.

Post by wibby »

I understand Ronny,

What I did to fix it was # out the $config['timezone'] = 'Etc/Greenwich'; line

so it just defaults to the servers time zone , thats ok for me as it is the same as me. :)

Thanks for the pointers!
Locked

Return to “[locked] Installation, Setup and Upgrade”