Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 47
1 members and 46 guests
bescm9ttgamiiyr
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
Site was fine..now I'm getting this..nothing loads.
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Sep 2004
Location: South Carolina
Site was fine..now I'm getting this..nothing loads. - 01-02-2006, 12:20 AM

Quote:
arning: head(themes//theme.php): failed to open stream: No such file or directory in /home/projects/public_html/whitestorm/header.php on line 31

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/projects/public_html/whitestorm/header.php on line 31

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/projects/public_html/whitestorm/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/projects/public_html/whitestorm/header.php on line 47
this is lines 30 and 31
$ThemeSel = get_theme();
include("themes/$ThemeSel/theme.php");
here is line 47
themeheader();
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Sep 2004
Location: South Carolina
01-02-2006, 12:30 AM

I think live editing with dreamweaver may have done me in. The site is project-shade.com/whitestorm . How do I make it look to /whitestorm as my root again?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Super Moderator
 
Duke's Avatar
 
Status: Offline
Posts: 1,016
Join Date: Dec 2005
Location: Under your bed
01-02-2006, 02:00 AM

I'd re-install the theme and NOT make it the sites default theme, make it your accounts theme. That way if it screws up, the site isn't down.

It sounds to me like you should dl the Nuke Tool Box from here:

http://ravenphpscripts.com/modules.p...#searchresults

You'll have to create a username/password in the ntbConfig file then upload everything to your server (as per the instructions).

Do not leave this file on your ftp once you've corrected the problem because your just begging to be hacked.

Hope this helps.
  Send a message via AIM to Duke  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 242
Join Date: May 2005
01-02-2006, 08:45 PM

If you edit ANY Nuke files with Dreamweaver, expect adverse effects.

ALWAYS use a Text Editor to edit PHP files.

If you have a backup of the UNEDITED files, replace them.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Super Moderator
 
Duke's Avatar
 
Status: Offline
Posts: 1,016
Join Date: Dec 2005
Location: Under your bed
01-02-2006, 10:36 PM

I've never had any problems editing php code in Dreamweaver. Are you sure your not confusing editing .tpl files in Dreamweaver?

soulshade, the best practice you can get into is ensuring you have two copies of whatever theme your using on your local machine. One copy you edit, the other is the backup. If you run into troubles you can always replace the edited file with the original.

The other thing is to only make one change at a time, upload it, refresh your page and see how the change worked. Making multiple changes then uploading to your site is suicide. In this way you can always hit Ctrl Z and back up to restore the file to how it was before your changes.

I think coldblooded may have already mentioned this but I'll re-iterate, do not, ever, ever, make the theme being edited the site default. It's best to leave the site default at a theme that you are not editing and to select the theme being modified in your account only. This way you can override all users theme preferences in the admin panel.
  Send a message via AIM to Duke  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Sep 2004
Location: South Carolina
01-03-2006, 01:24 AM

Thanks for all the advise. I'm going to try the nuke tool tomorrow. I had company over all day today and didn't really get a chance to work on it. I swear I checked after the last edit though and everything was fine. From now on I'm using notepad though.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Sep 2004
Location: South Carolina
01-03-2006, 01:35 AM

Quote:
No Success! - Unable to update theme. MySQL said:
Warning: mysql_query(): Access denied for user: 'root@localhost' (Using password: NO) in /home/projects/public_html/whitestorm/fixTheme.php on line 90

Warning: mysql_query(): A link to the server could not be established in /home/projects/public_html/whitestorm/fixTheme.php on line 90

Warning: mysql_close(): no MySQL-Link resource supplied in /home/projects/public_html/whitestorm/fixTheme.php on line 94
No Success! - Unable to update user table theme. There is no user with this name ( Revanant ) in the database.
Warning: mysql_close(): no MySQL-Link resource supplied in /home/projects/public_html/whitestorm/fixTheme.php on line 109
That's the error I got when I ran the fixtheme.php . There is indeed a revanant in the database, along with another nickname I tried.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Sep 2004
Location: South Carolina
01-04-2006, 10:47 AM

Duke is indeed the man, the site is up and running again.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Super Moderator
 
Duke's Avatar
 
Status: Offline
Posts: 1,016
Join Date: Dec 2005
Location: Under your bed
01-04-2006, 01:15 PM

Quote:
Originally Posted by soulshade
Duke is indeed the man, the site is up and running again.
I appreciate your kind words but all I did was change the cofig in your database, upload a default, working, phpnuke theme and re-upload some fresh phpnuke 7.5 files.

I'm not sure that is what fixed the problem to be perfectly honest but I'm sure it couldn't have hurted.
  Send a message via AIM to Duke  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Down Loads that dont work or are bugged. (Theme Pack) cosclan nukemods.com 12 05-19-2003 10:20 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31