Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
Thread Tools
  #1  
Old 23rd March 2012, 14:54
HUnter83 HUnter83 is offline
Senior Member
 
Join Date: Aug 2010
United Kingdom
Posts: 46
Question 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
i know its telling me that its looking for my template file in themes/layout2.css when its in this patch themes/darkblue/template
so how do i changed the path so it finds the file
Reply With Quote
  #2  
Old 24th March 2012, 12:59
harry007 harry007 is offline
Member
 
Join Date: Jun 2010
Australia
Posts: 12
Default
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' />
if its not change to

Code:
<link rel='stylesheet' href='templates/2/2.css' type='text/css' />
So in other words just make sure the names match the calls.
Reply With Quote
Reply

Tags
error , requireonce , warning


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 04:57. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.