You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 219 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - same error for every theme i try [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Nemesis2456
Nuke Cadet
Nuke Cadet


Joined: Oct 15, 2004
Posts: 9


PostPosted: Wed Dec 15, 2004 9:01 pm Reply with quoteBack to top

For some reason on every them except for one (that my friend just fixed and got working) is getting this error:
Code:

Warning: head(themes/codgrunge/theme.php): failed to open stream: No such file or directory in /home/www/gamechats.superihost.com/html/header.php on line 31

Warning: head(): Failed opening 'themes/codgrunge/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/gamechats.superihost.com/html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/www/gamechats.superihost.com/html/header.php on line 47

I dont really know what this means or how to fix it. I have seen this 3 errors in other posts but those have also more things wrong with them not jsut the 3 and i havent found one that says how to fix. i may be looking in the wrong place i dont know but any help would be great.
Find all posts by Nemesis2456View user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Thu Dec 16, 2004 9:54 am Reply with quoteBack to top

Confirm if this file exist: themes/codgrunge/theme.php

Checklist:
  1. The file must be theme.php (all lowercase). Solution: rename the file.
  2. The file must be uploaded with ASCII mode. Solution: Re-upload.
  3. The file must be accessible by PHP (at least with read permission). Solution: CHMOD it to 644.
  4. The current directory must be in PHP-Nuke root. Solution: There are some workarounds, but the following code will ensure current theme loaded with full qualified path. Edit header.php and fine the following line:
    Code:
    include("themes/$ThemeSel/theme.php");

    Replace with:
    Code:
    if (file_exists(dirname($_SERVER['SCRIPT_FILENAME']) . "/themes/$ThemeSel/theme.php"))
    {
      include(dirname($_SERVER['SCRIPT_FILENAME']) . "/themes/$ThemeSel/theme.php");
    }
    else
    {
      die("Cannot loading theme file: " . dirname($_SERVER['SCRIPT_FILENAME']) . "/themes/$ThemeSel/theme.php");
    }


_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
Nemesis2456
Nuke Cadet
Nuke Cadet


Joined: Oct 15, 2004
Posts: 9


PostPosted: Thu Dec 16, 2004 11:49 am Reply with quoteBack to top

Edit: Nvm i thought there was a theme.php file but there isnt and i dont have one in my codgrunge file i donwloaded. were is the file supposed to go?
Find all posts by Nemesis2456View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.151 Seconds - 158 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::