Announcement

Collapse
No announcement yet.

Error Calling global.php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error Calling global.php

    Hi,

    not sure this is the right place to post, but here's my problem anyway...

    Upgrade went fine, no problems that I haven't been able to find the answer to already here.

    On pages on my site other than the forum I call global.php, and after the upgrade I get the following error

    Fatal error: Call to undefined function: unlock_tables() in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/forum/includes/functions.php on line 4308

    This only occurs on my non-vb pages, and I've checked mysql user permissions and re-uploaded files twice.

    Any ideas?

  • #2
    I had this problem and it was down to another script conflicting with vB. It created it's own database class in a variable named $db. vB 3.5 also uses a database object of that name. All I had to do was rename the $db object in the 3rd-party script and it worked.

    Comment


    • #3
      Thanks Red,
      I had my suspicions it might be that, but found a workaround anyway!

      Cheers

      Comment

      Related Topics

      Collapse

      Working...
      X