Announcement

Collapse
No announcement yet.

DATABASE ERROR and...

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

  • DATABASE ERROR and...

    Hi

    after trying to install a thing, my forum didn't work good anymore in some parts :
    *************************
    Database error in vBulletin Control Panel 2.2.1:

    Invalid SQL: SELECT parentid FROM forum WHERE forumid=
    mysql error: You have an error in your SQL syntax near '' at line 1

    mysql error number: 1064

    Date: Wednesday 29th of May 2002 04:18:43 AM
    Script: http://forum.devilsmania.com/admin/forum.php
    Referer: http://forum.devilsmania.com/admin/f...edit&forumid=2
    ************************

    What is this ? how to fix it ?



    and :

    at the top of my Forum Main Page, there is :
    *****************
    There have been threads and posts since your last visit!
    *****************

    the number of New Threads and News Posts isn't added

    how come
    ?

    HELP HELP HELP HELP HELP HELP HELP HELP HELP

  • #2
    as KIER posted :
    --------------------------
    URL of your forums
    http://forum.devilsmania.com

    PHP version
    ... don't know ?

    MySQL version
    ... don't know ?

    Apache/webserver version
    ... don't know ?

    Server operating system
    damn...

    Any error message you are getting
    as posted above...

    Whether or not you have edited any files*
    yes i tryied adding an hack

    Comment


    • #3
      First try uploading an unmodificed forum.php into the admin panel. Or undo the last hack you had.
      The missing last posts since your visit is a hack, your missing the code in index.php which actually sets the values, you'll need to ask at vBulletin.org for more help with that problem.

      On a site note i suggest upgrading to 2.2.5 or the 2.2.6 beta as there is some security holes in versions below that.
      Scott MacVicar

      My Blog | Twitter

      Comment

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