Announcement

  •  » Extensions
  •  » Thumbnail Tooltip and PHP 7 = problem

#1 2016-05-13 14:04:01

John.B
Member
2016-03-27
46

Thumbnail Tooltip and PHP 7 = problem

Hello/Hi/Greetings,

I have trouble with Thumbnail Tooltip (Revision 1.5.1).

If I use Piwigo 2.8.1 with PHP: 7.0.6 I see this error:

Code:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Thumbnail_Tooltip_IMG has a deprecated constructor in /myown/bilder/plugins/ThumbnailTooltip/include/class.inc.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /myown/bilder/plugins/ThumbnailTooltip/include/class.inc.php:3) in /myown/bilder/include/page_header.php on line 101

and now I change to PHP 5.6 and then works piwigo with Thumbnail Tooltip wonderfully without any error.

Any ideas?

Offline

 

#2 2016-05-13 22:31:54

flop25
Piwigo Team
2006-07-06
7037

Re: Thumbnail Tooltip and PHP 7 = problem

Hello
a quick search would have gave you already answers such as [Forum, post 161797 by flop25 in topic 25430] PHP 5.5.x Deprecated Error in Smarty and [Forum, post 162374 by mistic100 in topic 26379] After update to PIWIGO 2.8.0 I get warnings in the admin-panel
I will still notify the author so he would take care for further php updates


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

 

#3 2016-05-14 09:07:21

John.B
Member
2016-03-27
46

Re: Thumbnail Tooltip and PHP 7 = problem

Thank you for the information. I will wait for the new version of "Thumbnail Tooltip".

In the meantime I'm going to change the config_default.inc.php like this:

Code:

 // $conf['show_php_errors'] = E_ALL;
$conf['show_php_errors'] = E_ALL ^ E_DEPRECATED;

Offline

 

#4 2016-06-13 23:58:14

sarybe
Member
2014-03-08
11

Re: Thumbnail Tooltip and PHP 7 = problem

Hi John.B,

Sorry for my late reply, but I saw your message today.

Check the new version (1.5.2). I fixed the problem.

Tell me if this is not good for you.

(Sorry for my google translation ;) )

Offline

 

#5 2016-06-18 16:48:36

John.B
Member
2016-03-27
46

Re: Thumbnail Tooltip and PHP 7 = problem

sarybe wrote:

Hi John.B,

Sorry for my late reply, but I saw your message today.

Check the new version (1.5.2). I fixed the problem.

Tell me if this is not good for you.

(Sorry for my google translation ;) )

Hi sarybe, the new Version is perfect!

Offline

 
  •  » Extensions
  •  » Thumbnail Tooltip and PHP 7 = problem

Board footer

Powered by FluxBB

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