Can anyone help with this?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Matt*is*thick
    Senior Member
    • Mar 2001
    • 130
    • 3.0.7

    Can anyone help with this?

    Nobody can get into my forums now due to this error! How can I sort it out? This is VERY urgent.

    Thanks in advance for any help!


    ----------------------------------------------------------------------
    Fatal error: Call to undefined function: connection_timeout() in /www.charmed-network.co.uk/forums/admin/functions.php on line 175
    -----------------------------------------------------------------------
  • John
    Senior Member
    • Apr 2000
    • 4042

    #2
    Matt,

    Which version of PHP are you using? I guess that it is greater than PHP 4.0.4pl1 isn't it? We are implementing a fix for this in beta 4 which involves using new functions.

    If you need a fix, change the lines around line 175 to look like this:

    PHP Code:
    // ###################### Start dovars #######################
    function dovars($newtext,$sendheader=1) {
      
    // parses replacement vars

      
    global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg;
      static 
    $vars;

      if (
    connection_status()) {
        exit;
      }

      if (!isset(
    $vars)) { 
    All the best,
    John
    John Percival

    Artificial intelligence usually beats real stupidity ;)

    Comment

    • Matt*is*thick
      Senior Member
      • Mar 2001
      • 130
      • 3.0.7

      #3
      Thanks for your help its worked!!! YIPPPEEEEE!!!

      I have all of a sudden been having lots of problems with the board, originally I was getting loads of 502 Bad Gateway errors and so were all of my members....

      Now they have gone and instead links aren't working as they should...they are getting broken thread messages then they press back and the thread is there....

      A lot of members have stopped posting due to this...

      My messageboard is at : www.charmed-network.com

      Is there anything I can do with this? Its really making people turn away, posting has ground to a halt!

      Please help, and thanks again!

      Matt

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...