 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
February 10th, 2009, 06:02 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009
Posts: 24
| I cannot adjust header or footer
Ir appears when i try to edit the header and footewr i have no source code can some one explain what is missing here is what i get.
File being edited: /path/to/php/headtags.htm
Warning: This file does not exist or is not writable; when you submit this form we will attempt to create this file.
If we are unable to do so (check your path and permissions), then we will notify you of the error.
Everything works fine i jst have nothing for the header or footer.
thnak you
|
| |
February 10th, 2009, 06:26 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
You need to place the proper server path to a header and footer file where asked in global options for a header and footer and save that. you just make sure those files are writable 666 permissions on the server and then you should be able to edit them via the links in admin for edit header and edit footer.
|
| |
February 10th, 2009, 06:42 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009
Posts: 24
|
okay
Full path to Header include file
To include an HTML file as the header, enter the full path. /path/to/php/header.htm
Full path to the Footer include file
To include an HTML file as the footer, enter the full path. /path/to/php/footer.htm
my footerhtm is 666
my headerhtm is 666
and still nothing yet on the admin panel
but i do admire the awesome response
but even when i try my editor in cpanel files it just show color codes and nothing else.
please pass on any advice
and when i hit place ad as a test it says 500 internel server error
Last edited by bloggermb; February 10th, 2009 at 08:29 PM.
|
| |
February 10th, 2009, 09:47 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
/path/to/php/footer.htm
That is not a valid path
Your server path only you know but for example
/var/www/html/photopost/header.htm
That is an example path.
|
| |
February 11th, 2009, 09:20 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009
Posts: 24
|
thanks chuck i got it all working now.
|
| |
February 11th, 2009, 12:06 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Glad you did let us know if there is anything else we can assist with.
|
| |
February 12th, 2009, 01:10 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
| Piggybacking on your thread :)
So I am having the same problem that the original poster was having. Having read this post through I am unsure where my problem lies. Both my header and footer.htm are reading 666. The admin panel even brings up the code in them when I go to the edit header or footer option. However whenever I try to save it still gives me the unable to create or fix permissions message. Any suggestions would be great. Thanks.
|
| |
February 12th, 2009, 08:20 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
If you hit edit header edit footer and it brings up the proper code then your path is correct and your permissions however are not. Those files can not be 666 if you get that error. They need to be READ WRITE permissions for all.
|
| |
February 12th, 2009, 12:32 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
Upon further review both the header and footer are definitely 666. I am not sure where to go from here  . When I get home from work tonight I will call the fine folks and 1and1 to see if there is a connection issue of some kind. Any other suggestions before then would be appreciated though. Thanks for the replies. And my other issue is still unresolved also, woah is me.
|
| |
February 12th, 2009, 01:17 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
You can try setting the files at 777 to see if that works but if you cant write to it either the path or permissions are the issue.
|
| |
February 12th, 2009, 10:34 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
| Hmmm
Still no joy and the fine folks at 1and1 had no answer for me. Are there any other changes that need to be made related to headers and footers besides their respective html access? Also to verify the correct file path, if my file is in my classifieds folder then the path would look like this http://www.example.com/classifieds/header.htm?
Thanks again for the help.
|
| |
February 13th, 2009, 05:21 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
That is a url not a server path. You need to use server path to the actual file.
|
| |
February 13th, 2009, 07:34 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009
Posts: 24
|
Try this in global settings it will be like this,,, /home/yourmysql/public_html/yourdomain.com/header.htm,,, then make sure your settings are 755 or 777 mine worked with 755 but i have a different host then you.
|
| |
February 13th, 2009, 07:44 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
666 is writable. 777 is writable and executeable.
666 should work fine.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:45 AM. | |