Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.