Warning: Offset 0 is invalid for MySQL result index 19

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BladesM3
    New Member
    • Sep 2002
    • 10

    Warning: Offset 0 is invalid for MySQL result index 19

    i get this error on all the threads where people reply to and i dont know why! can someone help? here is a link:

    http://www.bladesm3.com/mycar.gif
  • BladesM3
    New Member
    • Sep 2002
    • 10

    #2
    now when i try to go to admin i get this error..

    title)."\n \n"; echo "$options \n- - - - - - - - - - - - - - -\n"; } else { echo "\n"; maketableheader($title,"",1,1); echo " \n$options"; } echo "$chs\n"; echo iif($extra!="","$extra",""); $options=""; } ?>
    Fatal error: Call to undefined function: adminlog() in /home/www/elcmotorsports/phpnuke/modules/Forums/admin/index.php on line 7
    http://www.bladesm3.com/mycar.gif

    Comment

    • George L
      Former vBulletin Support
      • May 2000
      • 32996
      • 3.8.x

      #3
      Re: Warning: Offset 0 is invalid for MySQL result index 19

      Originally posted by BladesM3
      i get this error on all the threads where people reply to and i dont know why! can someone help? here is a link:

      http://www.elcmotorsports.com/phpnuk...php?threadid=8
      what version of vB are you using ?

      do you have smilies in your database ?

      if not try add a smilie and see what happens

      OR

      if you don't want to add any smilies to your forum database, what you need to do is on line 187 in db_mysql.php

      replace:
      Code:
          return mysql_data_seek($this->query_id, $pos);
      with:
      Code:
          return @mysql_data_seek($this->query_id, $pos);
      (line 187)

      This is a problem when a forum doesn't have any smilies in the database.
      :: Always Back Up Forum Database + Attachments BEFORE upgrading !
      :: Nginx SPDY SSL - World Flags Demo [video results]
      :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

      Comment

      • BladesM3
        New Member
        • Sep 2002
        • 10

        #4
        Re: Re: Warning: Offset 0 is invalid for MySQL result index 19

        Originally posted by eva2000
        what version of vB are you using ?

        do you have smilies in your database ?

        if not try add a smilie and see what happens

        OR

        if you don't want to add any smilies to your forum database, what you need to do is on line 187 in db_mysql.php

        replace:
        Code:
            return mysql_data_seek($this->query_id, $pos);
        with:
        Code:
            return @mysql_data_seek($this->query_id, $pos);
        (line 187)

        This is a problem when a forum doesn't have any smilies in the database.

        perfect, that worked but now when i try to acces the admin i get...:



        title)."\n \n"; echo "$options \n- - - - - - - - - - - - - - -\n"; } else { echo "\n"; maketableheader($title,"",1,1); echo " \n$options"; } echo "$chs\n"; echo iif($extra!="","$extra",""); $options=""; } ?>
        Warning: Cannot add header information - headers already sent by (output started at /home/www/elcmotorsports/phpnuke/modules/Forums/admin/adminfunctions.php:8) in /home/www/elcmotorsports/phpnuke/modules/Forums/admin/functions.php on line 1573

        Fatal error: Call to undefined function: cpheader() in /home/www/elcmotorsports/phpnuke/modules/Forums/admin/global.php on line 212
        http://www.bladesm3.com/mycar.gif

        Comment

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