Psychoceramics Posted June 20, 2007 Share Posted June 20, 2007 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] Quote Link to comment https://forums.phpfreaks.com/topic/56322-mysql-query-coming-out-of-nowhere/ Share on other sites More sharing options...
redarrow Posted June 20, 2007 Share Posted June 20, 2007 post this query please ok 1146: Table 'guneva2_forum.mastercart' doesn't exist SELECT * FROM .mastercart WHERE owner = 1 Quote Link to comment https://forums.phpfreaks.com/topic/56322-mysql-query-coming-out-of-nowhere/#findComment-278267 Share on other sites More sharing options...
Psychoceramics Posted June 20, 2007 Author Share Posted June 20, 2007 that's the thing, I can't find it where it's erroring. It's being called in the middle of view.php when I don't even reference the variable it's stored in in that file. Quote Link to comment https://forums.phpfreaks.com/topic/56322-mysql-query-coming-out-of-nowhere/#findComment-278511 Share on other sites More sharing options...
Psychoceramics Posted June 20, 2007 Author Share Posted June 20, 2007 nevermind, I found it. message_die, a phpbb function, creates a whole new page, including header, if there hasn't already been a header output. Quote Link to comment https://forums.phpfreaks.com/topic/56322-mysql-query-coming-out-of-nowhere/#findComment-278549 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.