busillis Posted June 12, 2010 Share Posted June 12, 2010 Is there a way for me to force the path of where the file is kept? root: index.php root/includes: a.php, b.php, c.php Index includes a.php. a.php includes b.php b.php includes c.php When I invoke index.php, c.php has errors. When I invoke b.php, c.php does not error Link to comment https://forums.phpfreaks.com/topic/204573-includes-erroring/ Share on other sites More sharing options...
busillis Posted June 12, 2010 Author Share Posted June 12, 2010 Actually, I don't think thats the problem. I've put some debug echos in and it does seem to be calling it. As described above, the error only occurs when calling index. c.php manages the database connection and i get an error saying: Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) Warning: mysql_query() [function.mysql-query]: A link to the server could not be established Could this be a problem if two different phps are calling include to c.php? Link to comment https://forums.phpfreaks.com/topic/204573-includes-erroring/#findComment-1071149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.