Announcement

#1 2018-12-08 22:38:05

mek113
Member
2014-03-05
15

Error message

Hello/Hi/Greetings,

I was just alerted that the image gallery is getting an error message and I don't know what it means.  Any help would be appreciated.

Here is the the message:

Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /home5/champcla/public_html/archives/include/common.inc.php:29 Stack trace: #0 /home5/champcla/public_html/archives/index.php(26): include_once() #1 {main} thrown in /home5/champcla/public_html/archives/include/common.inc.php on line 29

Piwigo version: 2.6.1
PHP version: 5.4.24
MySQL version: 5.6.41-84.1
Piwigo URL: http://www.champclark.org/archives/

Offline

 

#2 2018-12-09 00:51:30

executive
Member
2017-08-16
1214

Re: Error message

Download Piwigo 2.6.1 and use it to restore (overwrite) all your core files. You'll need to run the setup again.

By the way, you should really try to keep your PHP and Piwigo up to date. It's several versions old.

Offline

 

#3 2018-12-09 03:45:01

mek113
Member
2014-03-05
15

Re: Error message

Yes, I know I got behind on the updates.  The challenge is this was an add on through the hosting service Hostmonster through MoJo Marketplace.  I tried updating a month or so ago and it caused an error and lost the photos so I reinstalled the backup to get it to work again and was afraid to try again.  I don't know if I can figure out how to reinstall 2.6.1 through the hosting services since it's already installed.  Is there another way?

Offline

 

#4 2018-12-09 05:47:18

executive
Member
2017-08-16
1214

Re: Error message

Download it from here and manually install.

Offline

 

#5 2018-12-09 21:13:39

mek113
Member
2014-03-05
15

Re: Error message

I'm not finding anywhere on the Piwigo site where I can download version 2.6.1.  Did you intend to provide a link? Or did you mean I should download the most current version?

Offline

 

#6 2018-12-09 21:37:13

mek113
Member
2014-03-05
15

Re: Error message

I also need to move this gallery from one hosting service (Hostmonster) to another (Siteground). I see on the Siteground Softaculous page for Piwigo that there is a feature to import the gallery from external server.  Is there a way that I can just install a new version on the new hosting service and upload the photos or do I need to get the error fixed on the old version first?

Offline

 

#7 2018-12-09 23:17:17

executive
Member
2017-08-16
1214

Re: Error message

I don't know. I don't think it hurts to try.

I looked up the link for you
https://github.com/Piwigo/Piwigo/releases

Offline

 

#8 2018-12-10 21:24:44

flop25
Piwigo Team
2006-07-06
7037

Re: Error message

teh error "Call to undefined function set_magic_quotes_runtime()" means that you are running PHP 7 and not Php 5.4
and since many security issues have been solved since Piwigo 2.6.1, we can only advise you to update asap
to migrate check moce files and import database, and check database credentials in  /piwigo/local/config/database.inc.php


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