ViperSRT3g 224 Posted June 9, 2009 I'm trying to modify the constants.php file for a website, and the damn thing doesn't want to reflect it's changes in the MySQL requests being made. The following keeps appearing: SQL ERROR [ mysqli ] Table 'database_name1.phpbb_users' doesn't exist [1146] However, the constants.php file contains the following: define('USERS_TABLE', 'database_name.users'); Now here is where things go awry. The table in database_name is simply users, yet the error shows that it's still trying to access the table phpbb_users. And then the second error (I believe they are related) is the database names. The error says it's still trying to access a different database, when the database being pointed to in the constants.php file are pointing to the intended database. Is there someplace else in the phpbb installation that also points to the databases and tables? Because then I'd be able to change that and stop it from following an apparently different set of instructions. Share this post Link to post
XGhozt 410 Posted June 9, 2009 I would search all of the files for it. I think you might be able to search the content of all the files in a directory with Notepad++. I would start there, see if that name is anywhere else. Share this post Link to post
ViperSRT3g 224 Posted June 9, 2009 Damn, that means I have to copy the entire directory onto my comp. :/ Oh wellz, I'll try that and see if I can find it. Share this post Link to post
XGhozt 410 Posted June 9, 2009 Add it to a zip, then you just have to download one file. :P Share this post Link to post
ViperSRT3g 224 Posted June 9, 2009 Thank god we have XGhozt :P But anyway, I searched through all the files and still nothing. Share this post Link to post