Announcement

#1 2017-08-22 17:53:09

RobPatton
Member
2017-08-22
4

Everthing "works" but loads of errors at top of pages.

Hello/Hi/Greetings,

Everything is working nicely, but at the top of each page when you view a picture from an album, I get a series of date related errors:


Notice: Undefined index: day in /var/www/clients/client1/web35/web/photoalbum/include/functions.inc.php on line 665
Notice: Undefined index: month in/var/www/clients/client1/web35/web/photoalbum/include/functions.inc.php on line 671


Piwigo 2.9.1
Operating system: Linux
PHP: 5.5.38 (Show info) [2017-08-22 11:50:27]
MySQL: 5.5.52-MariaDB [2017-08-22 11:50:27]
Graphics Library: External ImageMagick 6.7.8-9


Any suggestions?    It works great, just looks meh with the errors.

All photos were added via ftp, then I had the app go syncronize to find them.

Offline

 

#2 2017-08-22 20:19:01

executive
Member
2017-08-16
1214

Re: Everthing "works" but loads of errors at top of pages.

In administration mode, go to Tools/Maintenance menu.
There are two links for

-    Repair and optimize database
-    Reinitialize integrity check

Maybe give those a try. There is also a plugin called "Check Files Integrity" which might help.

Offline

 

#3 2017-08-22 20:51:32

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

Hi there
"Check Files Integrity"  would be a good check indeed
PHP notices should not be displayed in production/live websites, but Piwigo should not produce any Notices also
Check also your plugins by disabling them all, then one by one if the notices disappear


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2017-08-22 21:25:16

RobPatton
Member
2017-08-22
4

Re: Everthing "works" but loads of errors at top of pages.

All Plugins are deactivated

Repair and optimize database 
Reinitialize integrity check

Both do not change the issue, though the integrity check part is incredibly fast. Not sure what it does, but I have roughly 12K pics in total, 350 albums.  Seems like if its doing anything it would take longer, but...

Offline

 

#5 2017-08-22 21:26:33

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

as stated in its description it checks the Piwigo files not your pics
I'm digging further to help you


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2017-08-22 21:29:04

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

what language are you using when it throws the notices?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2017-08-22 23:57:10

RobPatton
Member
2017-08-22
4

Re: Everthing "works" but loads of errors at top of pages.

English (UK)

Offline

 

#8 2017-08-23 00:34:50

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

try to re upload all the files from a clean download of your Piwigo version ; overwrite everything

if they are still there, add $conf['show_php_errors'] = E_ALL & ~E_NOTICE; in your local config


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2017-08-23 16:48:01

RobPatton
Member
2017-08-22
4

Re: Everthing "works" but loads of errors at top of pages.

Adding $conf['show_php_errors'] = E_ALL & ~E_NOTICE;

(after turning on the plugin, and creating a file)

Has made all the errors stop.

Offline

 

#10 2017-08-23 19:07:19

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

Thanks They are just hidden so let's remember them if you encounter again error messages


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#11 2017-08-24 06:09:24

russmcclay
Member
2017-08-24
28

Re: Everthing "works" but loads of errors at top of pages.

After upgrading I am also getting errors that seem to have an effect on dates (please refer to screenshots). This installation was done through CPanel.  Since the date functions don't work properly there's no way my client can use Piwigo until these errors are fixed.

I have run:

Repair and optimize database
Reinitialize integrity check
Check Files Integrity

All succeed and report no errors.

Please refer to my screen shots taken today (August 24, 2017). Thank you.

Last edited by russmcclay (2017-08-24 08:01:37)

Offline

 

#12 2017-08-24 11:39:50

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

and reuploading by overwriting?
Could you both post a problematic entry from the table *_images (export if you can)?
if you unset then set the creation date?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#13 2017-08-24 11:44:16

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

PS: and try also to change the lang


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#14 2017-08-24 11:56:41

russmcclay
Member
2017-08-24
28

Re: Everthing "works" but loads of errors at top of pages.

Hi flop25, I'm not sure who you replying to.

Do you see the errors that are being displayed in my screen shots?   They are the same type of errors RobPatton is getting. Plus the "header already sent" error.  Rob and my error are about "Undefined indexes" for day and month.

I'll attach a screen shot of the *_images table, but since the width limit on this forum is 1200 pixels you might not be able to read it.

I hope we can focus on the error messages which I have send several screen shots of.

Appreciate the support and help!

Offline

 

#15 2017-08-24 12:00:27

flop25
Piwigo Team
2006-07-06
7037

Re: Everthing "works" but loads of errors at top of pages.

well of course I'm answering to you both on those Notices
Do an Export please so we can see the raw values


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

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