date() [function.date] error in wordpress and joomla

Problems with the Windows version of XAMPP, questions, comments, and anything related.

date() [function.date] error in wordpress and joomla

Postby mrjusta » 04. September 2009 18:01

Ive just tried to set up wordpress and joomla on xammp, and both pieces of software are producing this error
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\xampp\htdocs\wordpress\wp-admin\includes\schema.php on line 237

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\xampp\htdocs\wordpress\wp-admin\includes\upgrade.php on line 157


we have tried reinstalled joomla and it still comes up with this error even after changing the time settings, so i think xammp has a bug rather than wordpress and joomla.

if anyone has any ideas on what could be the problem it would be most appreciated.
mrjusta
 
Posts: 6
Joined: 04. September 2009 17:54

Re: date() [function.date] error in wordpress and joomla

Postby Wiedmann » 04. September 2009 19:16

even after changing the time settings,

The timezone is already setup after a normal XAMPP installation...
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: date() [function.date] error in wordpress and joomla

Postby mrjusta » 04. September 2009 20:11

Thats the bit I don't understand you are right it was set up as part of the installation but that is the error message we get - I notice when we try to install xammpp again there are lots of instances of file could not be created - any ideas - we are obviously new to this and just followed all instructions in Joomla quick set up guide - many thanks!
mrjusta
 
Posts: 6
Joined: 04. September 2009 17:54

Re: date() [function.date] error in wordpress and joomla

Postby Wiedmann » 04. September 2009 20:31

I notice when we try to install xammpp again there are lots of instances of file could not be created

Which files?

BTW:
and just followed all instructions in Joomla quick set up guide

Have you read the Joomla requirement? I don't think it's compatible to the current PHP version...
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: date() [function.date] error in wordpress and joomla

Postby mrjusta » 04. September 2009 21:08

Hi and thanks !

A few examples thereare lots !

Cannot create xampp\apache\modules\mod_authz_default.so
Cannot create xampp\perl\lib\auto\Digest\MD5\MD5.dll
Cannot create xampp\perl\site\lib\auto\ModPerl\Util\Util.dll
Cannot create xampp\perl\lib\auto\Compress\Raw\Zlib\Zlib.dll
Cannot create xampp\apache\modules\mod_authn_file.so

Joomla says compatible with 4.2 and above and this is the version of xampp reccomended for windows vista !

Any ideas ??????
mrjusta
 
Posts: 6
Joined: 04. September 2009 17:54

Re: date() [function.date] error in wordpress and joomla

Postby Wiedmann » 04. September 2009 21:29

A few examples thereare lots !

You can't install (to the same location), while XAMPP is still running.

Joomla says compatible with 4.2 and above

http://www.joomla.org/about-joomla/technical-requirements.html wrote:Joomla is not yet compatible with PHP 5.3
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: date() [function.date] error in wordpress and joomla

Postby mrjusta » 04. September 2009 22:13

Thanks that has certainly cured the time errors - now my problem is within Joomla I get this error:

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in C:\xampp\htdocs\joomla15\libraries\joomla\cache\handler\callback.php on line 99

Guess I am doomed lol - thanks for your help !
mrjusta
 
Posts: 6
Joined: 04. September 2009 17:54

Re: date() [function.date] error in wordpress and joomla

Postby Wiedmann » 04. September 2009 22:20

now my problem is within Joomla I get this error:

Sorry. I don't know anything about Joomla.

I guess in a Joomla support forum you find more people which have knowledge about Joomla.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: date() [function.date] error in wordpress and joomla

Postby Altrea » 04. September 2009 22:30

like Wiedmann refered:
Joomla isn't compatible with PHP5.3 yet.

Support for PHP5.3 is announced for the next stable Joomla release (v1.5.15). It is recommend to wait for this release.

Your one error could be fixed in modules/mod_mainmenu/helper.php:

Search for
Code: Select all
function buildXML(&$params)

and replace with
Code: Select all
function buildXML($params)


but nobody can say, that your Joomla will work well after that!
I still recommend to wait for the next stable Joomla release.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: date() [function.date] error in wordpress and joomla

Postby mrjusta » 04. September 2009 23:01

Thankyou instead of error message I now have the home link but clicking it doesn't allow me to configure the home page !!!

Doomed I tell ya lol

Cheers guys
mrjusta
 
Posts: 6
Joined: 04. September 2009 17:54

Re: date() [function.date] error in wordpress and joomla

Postby mrjusta » 05. September 2009 00:12

Thank you to both you guys - you have been very helpful - I will work on the design of my site and wait for the new release of joomla !!!!
mrjusta
 
Posts: 6
Joined: 04. September 2009 17:54

Re: date() [function.date] error in wordpress and joomla

Postby algisto » 13. October 2009 08:10

Thanks, Altrea , now it's works
algisto
 
Posts: 1
Joined: 13. October 2009 07:55


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 70 guests