Jump to content

mysql query coming out of nowhere


Psychoceramics

Recommended Posts

I've been pulling my hair over this for the past hour. Dug all over the internet looking for a solution, and dived through my code dozens of times only to come up empty handed each time.

 

Currently running PHP v4.4.4 and MySQL v4.1.21

 

You can see the error here:

http://testbed.guneva.net/joins/view.php

 

1146: Table 'guneva2_forum.mastercart' doesn't exist

SELECT * FROM .mastercart WHERE owner = 1

 

The source code is attached. In addition, I have integrated my website with phpbb forums, which is where the object oriented mysql calls are coming from. I only use them to pull and edit information in the users forum. Neither func.inc nor constants.php are used at all with this page.

 

It's like Gex.php isn't included, but when I print out $GLOBALS, all the variables defined in Gex.php are clearly stated.

 

And then there's the query I made in header.php that's suddenly being called in the middle of view.php, where it has no business being called! I'm at wit's end with this.

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/56322-mysql-query-coming-out-of-nowhere/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.