Announcement

#1 2015-10-22 17:42:57

newseed
Member
2015-10-22
10

PHP Warnings during install and after install

Hi,

This is my first time using PIWIGO and so I am not sure how to resolve these errors.

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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\hshome\sierratoy\sierratoysoldier.com\piwigo\include\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at C:\hshome\sierratoy\sierratoysoldier.com\piwigo\include\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:177) in C:\hshome\sierratoy\sierratoysoldier.com\piwigo\include\page_header.php on line 101

This is stock manual install.

Piwigo version: 2.7.4
PHP version: 5.4.34 - http://www.sierratoysoldier.com/piwigo/phpinfo.php
MySQL version: 5.0.10 (not sure if that's right)
Piwigo URL: http://www.sierratoysoldier.com/piwigo/

Offline

 

#2 2015-10-22 19:37:24

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7201

Re: PHP Warnings during install and after install


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2015-10-22 22:15:14

newseed
Member
2015-10-22
10

Re: PHP Warnings during install and after install

Thank you. Will give that a shot sometime later.

Offline

 

#4 2015-10-22 23:00:04

newseed
Member
2015-10-22
10

Re: PHP Warnings during install and after install

The date setting is already set in the php module to America/Chicago.  So I tried using php.ini to the root of the PIWIGO folder and gave me a line or two less warning/errors but they remainder still shows up.

Here's what I have:

Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\hshome\sierratoy\sierratoysoldier.com\piwigo\admin\intro.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at C:\hshome\sierratoy\sierratoysoldier.com\piwigo\admin\intro.php:116) in C:\hshome\sierratoy\sierratoysoldier.com\piwigo\include\page_header.php on line 101

I want to clarify that MySQL version I gave you in the initial post is incorrect. Below is the correct version.
MySQL: 5.1.71\

Offline

 

#5 2015-10-23 16:44:30

newseed
Member
2015-10-22
10

Re: PHP Warnings during install and after install

I was able to resolve the problem. I edited the database.inc.php file which I thought was supposed to be part of the php core files (server) which is why I never could find it before but then I just realized that I read that post wrong and found the file within my PIWIGO installed /piwigo/local/config/database.inc.php

Thank you.

Offline

 

#6 2015-10-23 17:46:36

newseed
Member
2015-10-22
10

Re: PHP Warnings during install and after install

OUCH! Just realized that the old g2 is using MS SQL and NOT MySQL.   Any way to migrate MS over MY db?

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact