Word Press and StatTraq errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • V_RocKs
    Damn Right I Kiss Ass!
    • Nov 2003
    • 32449

    #1

    Word Press and StatTraq errors

    Anyone getting this error at the bottom of their blog when using StatTraq (and more importantly, how did you get rid of it)?

    Code:
    Warning: mysql_affected_rows(): A link to the server could not be established in /home/rhinosgirls/wp-includes/wp-db.php on line 155
    
    Warning: mysql_insert_id(): 6 is not a valid MySQL-Link resource in /home/rhinosgirls/wp-includes/wp-db.php on line 158
  • UniqueMovies
    Confirmed User
    • Feb 2003
    • 1691

    #2
    what does it say on line 155 and 158?

    Comment

    • V_RocKs
      Damn Right I Kiss Ass!
      • Nov 2003
      • 32449

      #3
      Code:
      		if ( preg_match("/^\\s*(insert|delete|update|replace) /i",$query) ) {
      			$this->rows_affected = mysql_affected_rows();
      			// Take note of the insert_id
      			if ( preg_match("/^\\s*(insert|replace) /i",$query) ) {
      				$this->insert_id = mysql_insert_id($this->dbh);	
      			}

      Comment

      • V_RocKs
        Damn Right I Kiss Ass!
        • Nov 2003
        • 32449

        #4
        2nd and 5th lines... ones with mysql_.....

        Comment

        • V_RocKs
          Damn Right I Kiss Ass!
          • Nov 2003
          • 32449

          #5
          bump for answers

          Comment

          • V_RocKs
            Damn Right I Kiss Ass!
            • Nov 2003
            • 32449

            #6
            More answers

            Comment

            • X37375787

              #7
              You'd be better off asking at the wp codex

              Comment

              • Yngwie
                I am an Alien from space
                • May 2003
                • 11118

                #8
                works fine for me. no errors. I have it setup on http://www.fuckherstupid.com
                ICQ: 16544251 - Skype: gator37 @ eastlink.ca - email: yngwie @ isys.ca

                Comment

                • jacked
                  sperm tail
                  • May 2004
                  • 11019

                  #9
                  i've got stat traq set up on a few of my WP blogs and none of them are giving me that or have ever given me that error
                  Got Cam Models?
                  icq: 361-607-616

                  Comment

                  • Basic_man
                    Programming King Pin
                    • Oct 2003
                    • 27360

                    #10
                    I'm using it since yesterday and didn't got any error yet :S
                    UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                    Stop looking! Checkout Naked Hosting, online since 1999 !

                    Comment

                    • John69
                      Confirmed User
                      • Sep 2005
                      • 942

                      #11
                      only thing it messed up was my rss feed, i just installed a feed plugin and it's all fixed now.
                      DARKSOUL: thanks but no thanks, your over priced.

                      Comment

                      Working...