Fatal error when upgrading cpg1412 to cpg156 Fatal error when upgrading cpg1412 to cpg156
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal error when upgrading cpg1412 to cpg156

Started by RV92, June 12, 2010, 11:30:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RV92

Hello everyone,

I try to upgrade my galery but it unfortunatelly goes wrong. I searched everywhere but i did'nt find this error elsewhere :

"Fatal error: Call to undefined function: str_ireplace() in /mnt/165/sdb/b/a/les.photos.de.kenobi/Galerie/include/functions.inc.php  on line 785"

If someone has an answer, he would save my life !

Thanks

RV

onthepike

Please post a link to your gallery. Also, provide the version of php your host is currently running.

phill104

A link to your site would help. It is also required as per the board rules - http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

It could be that you are using a template not designed for 1.5. There may be files left over from your previous install or you may not have uploaded all files correctly. It is hard to tell without that link.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

Nope, the error is not theme-related, but in fact caused by a bug that has crept in when addressing something else. Bug and fix are being discussed in http://forum.coppermine-gallery.net/index.php/topic,65376.0.html. Dev-only thread about the issue addressed is http://forum.coppermine-gallery.net/index.php/topic,63279.msg324660.html#msg324660

phill104

It is a mistake to think you can solve any major problems just with potatoes.

RV92

Hi everyone

thank you very much for your answers. Sorry for my mistakes, i will try to avoid them next time !

I replaced the file include/functions.inc.php and the upgrade worked fine.

But I now can't access to my administrator panel. Must be an authorization issue but I'm not familiar with that.

Here is the link to my galery : http://les.photos.de.kenobi.free.fr/Galerie/index.php

I keep on searching

Thanks

phill104

It is a mistake to think you can solve any major problems just with potatoes.

RV92

Quote from: Phill Luckhurst on June 13, 2010, 02:52:24 PM
Something looks wrong with your theme.

Can you access it on this link? - http://les.photos.de.kenobi.free.fr/Galerie/index.php?theme=curve

Hi,

yes it works with this theme. Does the Igames theme work with cpg 1.5 or it's a bug ?

Thank you very much for your answer

phill104

Nope, not a bug. You need to used the version of iGames designed for 1.5.x and not the old 1.4.x one. It is all in the docs. SOme themes were removed from the download for various reasons outlined in the dosc. Please take time to read them.

You can download the new one from here. - http://forum.coppermine-gallery.net/index.php/topic,63938.0.html
It is a mistake to think you can solve any major problems just with potatoes.