Someone Please help! I'm an idiot

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
Let me start off by saying that I am not a pro with nuke (shocking isn't it?)

Anyway, I was trying to edit the theme (anagram) for a site I'm working on so I opened the theme.php file in macromedia dw, made some changes, then re-posted the file. Only problem is, that instead of seeing the site, I now see the theme.php file! What can I do to fix this?

If anyone has a second to help me out I'd be VERY greatful as I feel like a complete idiot. The site is ! [ Register or login to view links on this board.] Thanks a lot!



Back to top Reply with quote
#2   re: Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
I went back through the code in dw and saw this - could this be my problem?

This is at the top of the code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0080)ftp://psytrip:[EDITED-FTP PASSWORD WAS HERE]@msuunderground.com/public_html/home/themes/Anagram/theme.php -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
&lt;?php



Back to top Reply with quote
#3   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
Yes dreamweaver adds extra code you have to edit it in another type of text editor like NoteTab.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   re: Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
ok, I kind of figured that dw messed it up somehow.

Any ideas on how I could fix it? As it is, when I type the address in, it just brings up the code.



Back to top Reply with quote
#5   re: Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
also, I am supposed to edit the theme.php file to change colors, etc. right? I just want to make sure I'm editing the right file icon_biggrin.gif Thanks for your help man


One other thing, in the my browser it gives this fatal error since I tried editing the theme.php file:


Fatal error: Call to undefined function: themeheader() in /home/psytrip/public_html/home/header.php on line 47



Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
Change the theme/THEM_NAME/style/style.css for the colors. Erase the added code or reupload the original theme.php before you made the changes.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
I tried copying the code out of dw and putting it into word and deleting the code added by dw and then reposting but it still says there is a fatal error. I only messed with one line of code to test it out and when I saw it failed I put everything back to normal. So I'm really at a loss here. From what I can tell, all the code is as it was, I repost and everything is just code still.

I really do appreciate your help man - I know I'm a pain in the derrière



Back to top Reply with quote
#8   re: Someone Please help! I'm an idiot
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
i also using DW but first time i see that u have icon_eek.gif



Back to top Reply with quote
#9   re: Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
does anyone have any ideas for me? It still can't figure out how to get it fixed icon_sad.gif



Back to top Reply with quote
#10   re: Someone Please help! I'm an idiot
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
just wanted to let you know, I figured out the problem...

thanks for your help though man!



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum