Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2016-03-01 09:09:36

asicu.com
Translation Team
Location: Budapest, Hungary
Registered: 2011-08-04
Posts: 102

Error message: Deprecated: preg_replace()

Hello

On my site I have an error message in the Admin area:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/...mysite.../include/smarty/libs/Smarty_Compiler.class.php on line 270

Piwigo version: 2.3.4
PHP version: 5.5.32
MySQL version: 5.6.25-log
Piwigo URL: http://agykontroll.tk

What is this? What can I do with it?

THANKS,

Tamás

Offline

 

#2 2016-03-01 09:22:33

mistic100
Piwigo Team
Location: Lyon (FR)
Registered: 2008-09-27
Posts: 3260
Website

Re: Error message: Deprecated: preg_replace()

Hi

I HIGHLY suggest you upgrade Piwigo to 2.7.4

otherwise, configure your server to hide DEPRECATED warnings
https://www.godaddy.com/garage/webpro/d … functions/


» All my plugins  » My website
For an efficient support give the URL of your website

Offline

 

#3 2016-03-01 09:28:42

asicu.com
Translation Team
Location: Budapest, Hungary
Registered: 2011-08-04
Posts: 102

Re: Error message: Deprecated: preg_replace()

Thanks Mistic for the quick reply.

Before updating... I wanted to make a backup... and I have a very long error message (several pages)
It starts like this:

Strict Standards: Non-static method updates::dump_database() should not be called statically in /home/agykontrolltk/agykontroll.tk/admin/updates_pwg.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /home/agykontrolltk/agykontroll.tk/admin/updates_pwg.php:132) in /home/agykontrolltk/agykontroll.tk/admin/include/updates.class.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /home/agykontrolltk/agykontroll.tk/admin/updates_pwg.php:132) in /home/agykontrolltk/agykontroll.tk/admin/include/updates.class.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /home/agykontrolltk/agykontroll.tk/admin/updates_pwg.php:132) in /home/agykontrolltk/agykontroll.tk/admin/include/updates.class.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /home/agykontrolltk/agykontroll.tk/admin/updates_pwg.php:132) in /home/agykontrolltk/agykontroll.tk/admin/include/updates.class.php on line 349
-- -- Table structure for table `piwigo_categories` --




And now?

Thanks,

Tamás

Offline

 

#4 2016-03-01 10:20:35

flop25
Piwigo Team
Registered: 2006-07-06
Posts: 6511
Website

Re: Error message: Deprecated: preg_replace()

use the database manager (phpmyadmin usually) provided with your hosting


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

 

#5 2016-03-02 01:44:05

asicu.com
Translation Team
Location: Budapest, Hungary
Registered: 2011-08-04
Posts: 102

Re: Error message: Deprecated: preg_replace()

Hi Flop!

Oké, so I can make a backup with the database manager (phpmyadmin).
And after?

How may I update Piwigo?
What will happen with the error message:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/...mysite.../include/smarty/libs/Smarty_Compiler.class.php on line 270
???

How shall my site be back to "normal"?

Greetings,

Tamás

Offline

 

#6 2016-03-02 07:59:13

mistic100
Piwigo Team
Location: Lyon (FR)
Registered: 2008-09-27
Posts: 3260
Website

Re: Error message: Deprecated: preg_replace()


» All my plugins  » My website
For an efficient support give the URL of your website

Offline

 

#7 2016-03-02 19:05:56

asicu.com
Translation Team
Location: Budapest, Hungary
Registered: 2011-08-04
Posts: 102

Re: Error message: Deprecated: preg_replace()

Hello!

Thanks for all the help...
I have successfully upgraded to the newest version of Piwigo. It seems to work fine... it seems.

Greetings,

Tamás

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact