Originally Posted by
jay2015
I've just tried removing the code "require('includes/application_top.php')", sidebox and foot appear, but it cannot access to database when I input waybill number!
logs message:
PHP Warning: require(testsite01/includes/application_top.php): failed to open stream: No such file or directory in D:\xampp\htdocs\testsite01\try3.php on line 2
PHP Fatal error: require(): Failed opening required 'testsite01/includes/application_top.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\testsite01\try3.php on line 2
Is there anything I should try?
Thanks
Because try3.php is already in testsite01, any reference to that directory in try3.php should be removed. So if it is considered necessary to load application_top.php from that file, which is questionable, then the require should be:
Code:
require('includes/application_top.php');
Bookmarks