Author Topic: Fatal error after upgrade from 1.7.9 to 1.8.0  (Read 8605 times)

0 Members and 1 Guest are viewing this topic.

Offline dorin

  • Pre-Newbie
  • Posts: 7
    • View Profile
Fatal error after upgrade from 1.7.9 to 1.8.0
« on: May 23, 2011, 07:03:24 PM »
Hi,

After manual upgrade to 4images 1.8.0 ai receive this error:

Code: [Select]
Fatal error: Call to undefined function secure_compare() in /includes/csrf_utils.php on line 91

I need little help.

Thank You !

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #1 on: May 23, 2011, 08:09:01 PM »
There is no version 4images 1.8.0.
Do you mean 1.7.10?
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline dotchan

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #2 on: November 03, 2011, 01:20:50 PM »
I'm having the same problem.  (Crud, I knew I should have made a backup!)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #3 on: November 03, 2011, 02:07:53 PM »
The reason of the error is because you are using unexisting version...that would be my guess. There is no v1.8.0
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline dotchan

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #4 on: November 03, 2011, 03:37:31 PM »
Just clarifying, I'm getting this problem with 1.7.9.10

I've temporarily worked around it by using some older files, but if I use the files as shipped in the newest version, I get the same "undefined function secure_compare()" error message from any of the php files that call secure_compare() as a function.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #5 on: November 03, 2011, 04:04:26 PM »
how did you upgrade? edited all files manually or copied all files from fresh 1.7.10 package to your site, overwriting old files?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline dotchan

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #6 on: November 26, 2011, 02:48:59 PM »
how did you upgrade? edited all files manually or copied all files from fresh 1.7.10 package to your site, overwriting old files?

Overwriting.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error after upgrade from 1.7.9 to 1.8.0
« Reply #7 on: November 26, 2011, 09:34:53 PM »
In that case not all files got overwritten, or you missed some of the files.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)