|
#1
|
|||
|
|||
Error - Warning: require_once
i have tried to install 2 themes and i keep getting the same error code
Code:
Warning: require_once(themes/layout2.css/template.php) [function.require-once]: failed to open stream: No such file or directory in C:\AppServ\www\include\bittorrent.php on line 306 Fatal error: require_once() [function.require]: Failed opening required 'themes/layout2.css/template.php' (include_path='.;C:\php5\pear') in C:\AppServ\www\include\bittorrent.php on line 306 so how do i changed the path so it finds the file |
#2
|
|||
|
|||
Post your bittorrent.php or rather just post the code thats on line 306
Thats not what its telling you at all. That path makes no sense unless of course you have a directory called layout.css.... Should be /themes/darkblue/template.php So make sure you have the directory darkblue in the themes directory. Open the stdhead and stdfoot php's. Make sure the paths are correct. Should be /templates/darkblue/ If its not and its more like this /templates/2/ Rename the darkblue folder inside the theme directory to the number 2 Then check that your calling the correct css file. Should be: Code:
<link rel='stylesheet' href='templates/darkblue/darkblue.css' type='text/css' /> Code:
<link rel='stylesheet' href='templates/2/2.css' type='text/css' /> |
Tags |
error , requireonce , warning |
Thread Tools | |
|
|