Page 1 of 1

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

Posted: Thu Apr 14, 2011 1:23 pm
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

Re: Fresh Install, Cant create new content pages.

Posted: Thu Apr 14, 2011 1:37 pm
by RonnyK
I suspect that you are running PHP5.3. If so, set the timezone in the config.php correctly....

Ronny

Re: Fresh Install, Cant create new content pages.

Posted: Thu Apr 14, 2011 1:44 pm
by wibby
Unfortunately im running 5.2.11.

Any other Ideas?

Re: Fresh Install, Cant create new content pages.

Posted: Thu Apr 14, 2011 1:55 pm
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 :(

Re: Fresh Install, Cant create new content pages.

Posted: Thu Apr 14, 2011 2:37 pm
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

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

Posted: Thu Apr 14, 2011 3:06 pm
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!