forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: RV92 on June 12, 2010, 11:30:27 pm

Title: Fatal error when upgrading cpg1412 to cpg156
Post by: RV92 on June 12, 2010, 11:30:27 pm
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
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: onthepike on June 12, 2010, 11:45:49 pm
Please post a link to your gallery. Also, provide the version of php your host is currently running.
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: phill104 on June 13, 2010, 12:28:28 am
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.
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: Joachim Müller on June 13, 2010, 08:53:24 am
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
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: phill104 on June 13, 2010, 10:59:23 am
Doh, I missed the obvious.
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: RV92 on June 13, 2010, 02:14:14 pm
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
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: phill104 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
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: RV92 on June 13, 2010, 05:43:56 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
Title: Re: Fatal error when upgrading cpg1412 to cpg156
Post by: phill104 on June 14, 2010, 01:15:18 am
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