Will not allow for Admin login. Will not allow for user login until a new passwors is requested. After logging in and changing the password for user Can't login after loggin out unless the autocheked is clicked.
Also I get this in the emails for the new password request.
Advice please
Warning: strftime(): 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /virtuals/gamepursuit.com/piwigo/include/smarty/libs/Smarty_Compiler.class.php on line 400
Hi Rourke,
Let's fix the "timezone" issue first.
A configuration setting is missing in your php.ini (on my computer, it is located on /etc/php5/apache2/php.ini). Add:
date.timezone = America/Los_Angeles
and then reload Apache configuration:
/etc/init.d/apache2 force-reload
If you're not the administrator of the server, ask your hosting provider to fix the problem.
Offline
What if I really cannot change the default php.ini?
I'm using Gandi.net Simple Hosting and there's no way to modify the original php.ini file, so I'm wandering if there's any other usefull solution, except trying to override the php.ini on this particular setting.
hi
<?php date_default_timezone_set('America/New_York'); ?>
in local config should work (use plugin LocalFiles Editor)
Offline
My provider has corrected this problem so
added line
date_default_timezone_set('Asia/Novosibirsk'); into file
~/photos/include/functions.inc.php
this is not a good idea, the modification will disapear with the next update
as flop25 saif put it in your local configuration (local/config/config.inc.php)
Offline
I'm having a similar issue. Piwigo 2.3.5. Tried upgrading PHP from 5.2 to 5.4. This is the error I'm getting
Warning: Illegal string offset 'installed' in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/plugins/AMenuManager/amm_root.class.inc.php on line 652
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/plugins/AMenuManager/amm_root.class.inc.php:652) in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/include/user.inc.php on line 29
Warning: Cannot modify header information - headers already sent by (output started at /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/plugins/AMenuManager/amm_root.class.inc.php:652) in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/include/page_header.php on line 103
Appears to be the Advanced Menu Manager causing the issue. If I disable that plugin I get error messages all over the place. A total catastrophe. I tried changing back to PHP 5.2 but it didn't seem to make the errors stop. Emptied my cache (Firefox) but that didn't seem to help.
BTW, the host is 1&1. Not the first issue I've had with using Piwigo on there.
This seems to be the only issue. If someone could help me fix that I'd really appreciate it.
Offline
Hello
seems the plugins of grum induce errors with php 5.4
the only good way is to disable them or switch back to 5.2
Offline
Thanks. Seems Advanced Menu manager does too. I disabled Grum's plugin classes and it was still the same errors. Will just stay with PHP 5.2 for now I guess.
Offline
mistic100 wrote:
this is not a good idea, the modification will disapear with the next update
as flop25 saif put it in your local configuration (local/config/config.inc.php)
My config file only contains two things index. php and database . inc . php
I am sorry if stupid question. If I find the right file I will edit. I cant access server side, only through a control panel or via Filezilla into the uploaded files
Last edited by nd925 (2013-02-17 19:57:44)
Offline
use the plugin LocalFilesEditor to edit the config file
Offline
ok, I am following, got to the point where I have plugin open and ready. What exactly do I enter and where?
Offline
flop25 wrote:
date_default_timezone_set('America/New_York'); // change it with your Timezone
it's same thing, It only have to be between <?php and ?>
Offline
NWS wrote:
I'm having a similar issue. Piwigo 2.3.5. Tried upgrading PHP from 5.2 to 5.4. .
Thank you, thank you, thank you. I've been banging my head against this one all afternoon. I'd forgotten that I'd upgraded PHP to 5.4. It seems to like 5.3 okay though.
Offline
I had the same problem, but the fix did not work. Until I discovered that, on my Ubuntu Server 13.10, "/etc/init.d/apache2 force-reload" did not work despite giving no error. Instead, I had to use "sudo service apache2 restart".