Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Fatal error when upgrading cpg1412 to cpg156  (Read 7164 times)

0 Members and 1 Guest are viewing this topic.

RV92

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Fatal error when upgrading cpg1412 to cpg156
« 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
Logged

onthepike

  • Guest
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #1 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.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #2 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #3 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #4 on: June 13, 2010, 10:59:23 am »

Doh, I missed the obvious.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

RV92

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #5 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #6 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
Logged
It is a mistake to think you can solve any major problems just with potatoes.

RV92

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #7 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal error when upgrading cpg1412 to cpg156
« Reply #8 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
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 20 queries.