Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Cannot access php.ini for timezone correction.
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Cannot access php.ini for timezone correction. (Read 10422 times)
ROUBOS
Hero Member
Posts: 699
Cannot access php.ini for timezone correction.
«
on:
April 13, 2011, 11:39:44 »
Hi,
Getting this error "
ELXIS WARNING: There is no Timezone indentifier defined!
" During installation. Is there a way to fix this with the .htaccess file or something? I have no access to the php.ini file
thanks a lot
Logged
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #1 on:
April 13, 2011, 11:40:46 »
Yes sorry, I think I got it.
Add the following to the .htaccess file right?
php_value date.timezone "Europe/Athens"
oops: now getting Internal Server Error!
«
Last Edit: April 13, 2011, 11:45:44 by ROUBOS
»
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Cannot access php.ini for timezone correction.
«
Reply #2 on:
April 13, 2011, 11:58:27 »
It has to be set in php.ini, so you can ask your hosting to set it.
Logged
I've got a snap in my finger...
Got rhythm in my walk...
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Cannot access php.ini for timezone correction.
«
Reply #3 on:
April 13, 2011, 19:28:25 »
probably your server runs on cgi/fastcgi....if so then you have to contact your provider
but you can work a little around to see what your environment is
find what your php environment is in administartor>>system>>site-info>>php
look for "Web Server to PHP interface:" value
or in phpinfo() page look for "server api" value .
if your php runs as mod_apache(apache handler) or suphp or cgi you can try one of the solutions here:
http://wiki.elxis.org/wiki/PHP_settings
«
Last Edit: April 14, 2011, 00:07:34 by ks-net
»
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #4 on:
April 13, 2011, 22:48:41 »
Can I go ahead with the install and sort out the time zone later?
Logged
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #5 on:
April 27, 2011, 12:31:47 »
They told me that the timezone is set to Athens, but I do get the warning message in the installation.
Should I go ahead with the install?
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Cannot access php.ini for timezone correction.
«
Reply #6 on:
April 27, 2011, 12:49:01 »
did they restart apache after the new settings applied?
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #7 on:
April 27, 2011, 12:59:25 »
not sure, you see it's a government hosting space
from what they say it has always been set.
Should I re-ftp elxis?
«
Last Edit: April 27, 2011, 13:01:18 by ROUBOS
»
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Cannot access php.ini for timezone correction.
«
Reply #8 on:
April 27, 2011, 14:04:35 »
did you take a phpinfo?
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #9 on:
April 27, 2011, 14:11:23 »
looked at php info and yes it shows that its set to Athens. I sent a request on the helpdesk to restart the Apache server.
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Cannot access php.ini for timezone correction.
«
Reply #10 on:
April 27, 2011, 14:17:59 »
since it is there the value... no need for restart apache...
you said that elxis still complain about timezone ?
Note: we want this => date.timezone = " " not to be empty
what is your " Server API " as ti is shown in the phpinfo?
maybe you can set this value .. did you read this:
http://wiki.elxis.org/wiki/PHP_settings
yes is mandatory date.timezone not to be empty as it is mentioned here:
http://wiki.elxis.org/wiki/Set_timezone
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #11 on:
April 28, 2011, 11:34:41 »
OK, I have no access to the php.ini file. in php info it has "Default timezone Europe/Athens"
I was informed that it has always been set to Athens so there is no need for Apache restart
In the php info I also get this: "date.timezone no value no value "
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Cannot access php.ini for timezone correction.
«
Reply #12 on:
April 28, 2011, 11:38:13 »
so there is no value....
what is your server's Api?
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: Cannot access php.ini for timezone correction.
«
Reply #13 on:
April 28, 2011, 11:48:59 »
Is this it?:
Server API CGI/FastCGI
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Cannot access php.ini for timezone correction.
«
Reply #14 on:
April 28, 2011, 12:05:13 »
with fastcgi you have only one option...
contact hosting provider and tell to add the directive in php.ini
or setup a custom ini for you
add => date.timezone = "Europe/Athens"
Logged
ks-net.gr
Print
Pages: [
1
]
2
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Cannot access php.ini for timezone correction.