Jump to content

PHP cant find file but its there


ublapach

Recommended Posts

Im having problems with some code that is spost to be including a file with the require function but i get an error when i run the script heres the code and the error

<?php
require ("tracking/siteclas.php");
$dbh = new CEIS_DB;

require ("tracking/auth.php");
$username = $_SESSION['username'];

$recUser = $dbh->UserInfo($username);

?>

and the error im getting is

 

 

Warning: main(tracking\siteclas.php): failed to open stream: No such file or directory in /usr/home/jlytal/public_html/newsite/index.php on line 6

 

Fatal error: main(): Failed opening required 'tracking\siteclas.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/jlytal/public_html/newsite/index.php on line 6

 

 

Link to comment
https://forums.phpfreaks.com/topic/128568-php-cant-find-file-but-its-there/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.