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] 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 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. 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. 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
Archived
This topic is now archived and is closed to further replies.