View Single Post
  #5  
Old 05-24-2003, 06:04 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
148  function fetch_array($query_id=-1,$query_string="") {
149    // retrieve row
150    if ($query_id!=-1) {
151     $this->query_id=$query_id;
152    }
153    if ( isset($this->query_id) ) {
154      $this->record = mysql_fetch_array($this->query_id);
155    } else {
156      if ( !empty($query_string) ) {
157        $this->halt("Invalid query id (".$this->query_id.") on this query: $query_string");
158      } else {
159        $this->halt("Invalid query id ".$this->query_id." specified");
160      }
161    }
162
163    return $this->record;
164  }

That above is the entire funtion with the line causing the prob.


Now what has me thrown off is that I have never played in this file, and that function is crucial and everything stops with out it. So its working, I guess, just kicking out an ugly error - but we all know that makes as much sense as Mayor Daly calling the butterfly ballot illegal (Chicago uses the butterfly ballot).

Why on the emails - well, its things really do not break if I am not in the server, so getting an email would be a pain cause then I would have to go over their and just read the last one or two, and the delete the next twelve billion. They would end up going the same place I send mail from my forums, the trash bin unread. If it was a normal number maybe but when its something that when you do get you are going to get a boat load of them it makes it worthless, and checking a nice txt file is simplier and more organized.


Now the problem is this. I have no freaking clue what that funtion is doing. It could be doing anything. It almost looks like it is THE query. But again to trace back all that would take just to much time as its not in anything readable unless you just have happened to trace to it already or wrote it.

The only possibility is that files got crossed in an upgrade, but I have reloaded all new files up I believe. Then I also have issue I am more than sure of that I am using two different directories to serve admin files, /admin and /vbadmin - friggin ensigm and its stupid admin redirect.

I have a highly customized admin panel, but again I do not see that causing the problem as this is recent and that has been ripped to shreds for a long time. Really just perplexed on why it works but gives me twelve billion errors. The more I think about it the more I think it is THE query statement, what else would be used with this regularity?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01225 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete