#1  
Old 6th August 2011, 19:40
baicunko baicunko is offline
Member
 
Join Date: Jun 2011
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default PHP Problem?

I've installed CENTOS 6.0 with ISPConfig 3 Following falkos tutorial.
The problem is now i've installed a page and i'm getting this in the page
PHP Code:
Warningdate() [http://php.net/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 'London/0.0/no DST' instead in /var/www/clients/client1/web1/web/cake/libs/cake_log.php on line 94 
I've added in php.ini data.timezone="America/Santiago" But no improvement
Also getting this error
PHP Code:
Warning (2): include() [http://php.net/function.include]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp: 
I've tryed any PHP configuration in ISPCOnfig and still the same.
Any ideas?
Reply With Quote
Sponsored Links
  #2  
Old 7th August 2011, 12:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
 
Default

Quote:
Originally Posted by baicunko View Post
I've installed CENTOS 6.0 with ISPConfig 3 Following falkos tutorial.
The problem is now i've installed a page and i'm getting this in the page
PHP Code:
Warningdate() [http://php.net/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 'London/0.0/no DST' instead in /var/www/clients/client1/web1/web/cake/libs/cake_log.php on line 94 
I've added in php.ini data.timezone="America/Santiago" But no improvement
Did you restart Apache?

Quote:
Originally Posted by baicunko View Post
Also getting this error
PHP Code:
Warning (2): include() [http://php.net/function.include]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp: 
I've tryed any PHP configuration in ISPCOnfig and still the same.
Any ideas?
You must go to the PHP open_basedir field on the Options tab of your web site in ISPConfig and add the mentioned directories.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Rewrites problem with trailing "/" (Slash) on non-www domain.ext yuro Installation/Configuration 1 15th October 2008 10:36
VirtualHosts marra87 General 9 12th September 2006 04:09


All times are GMT +2. The time now is 03:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.