Announcement

Collapse
No announcement yet.

2 Parse Errors

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

  • 2 Parse Errors

    i am getting 2 parse erorrs after i edited my fuctions.php file so it wouldnt delete the users post count when you deleted or prunded a post. here are the erorrs.


    Parse error: parse error in ./admin/functions.php on line 1605

    Fatal error: Call to undefined function: makelogincode() in ./global.php on line 299
    and here is lines 1602-1606 of fuctions.php

    PHP Code:

    $DB_site
    ->query("DELETE FROM searchindex WHERE postid=$postid");
        
    $DB_site->query("DELETE FROM post WHERE postid='$postid'");
      }

    the 2 db_site codes are actually lined up together like the second one is.

    heres lines 297-301 in global.php (not the admin global.php the root directory one)

    PHP Code:

    checkipban
    ();
    $logincode=makelogincode();

    ? > 
    there rerally is no space between the question mark and > sgin i had to make it so you could see it.
    My FFXI Linkshell Website
    - http://www.stealthvertigo.com

  • #2
    ...after i edited my fuctions.php...
    We can't support edited files.

    Comment

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