Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 01:10 am EDT

Geeklog Forums

php block error in 1.3.10 upgrade


Status: offline

marcg

Forum User
Junior
Registered: 06/20/03
Posts: 20
I just upgraded from 1.3.10rc2 to 1.3.10. All seems to be fine with this exception: the "Are You Secure?" block contains the following:

Error in PHP Block. Function, phpblock_getBent, does not exist.

I checked lib-custom.php and the function is there, as it always was. I don't notice any other dysfuction after the upgrade, but I'm worried something may be lurking out there since this function call is not seeing something that's there.
How you look depends on where you've been (!)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure the function isn't commented out and that the lib-custom.php file itself is intact and complete.

bye, Dirk
 Quote

Status: offline

marcg

Forum User
Junior
Registered: 06/20/03
Posts: 20
Looks fine to me. I even replaced lib-custom.php with a fresh copy.
How you look depends on where you've been (!)
 Quote

Status: offline

marcg

Forum User
Junior
Registered: 06/20/03
Posts: 20
Maybe I should clarify: the error is still there even after replacing lib-custom.php. This is really worrying me...I have to make this site go live in only 4 weeks. Any ideas from anyone else short of a complete reinstall? Thanks!
How you look depends on where you've been (!)
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
ensure that your lib-custom.php still resides in the system dir under your geeklog dir and not somewhere else.

ensure that the function, phpblock_getBent, is spelled properly with the proper uppercase and lowercase letters.

those are the only two ways that I have been able to reproduce your error.
 Quote

All times are EDT. The time is now 01:10 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content