PDA

View Full Version : Page errors


RexAngel
06-02-2008, 12:59 PM
The generators on my site are failing. </3
http://www.glitzheaven.com/Generators/DarkAngel/

Basically the header/css isn't working for each page. I know the issue is prolly that I should be using a certain link. Cos when I use my phpinclude header code, the header image is an error with the url: http://www.glitzheaven.com/Generators/DarkAngel/header.png, when the url should be http://www.glitzheaven.com/header.png

So I'm a bit confused on how I should be linking the header.php (and footer.php). (Does that make any sense?)

Eagle
06-02-2008, 01:00 PM
In your header.php, link to your header in the url way, not /header because that just goes to whichever directory you're viewing.. makes sense? :D

RexAngel
06-02-2008, 01:02 PM
Hm I'll have to do that with everything though right? Even the style.css and all my page urls?

Eagle
06-02-2008, 01:03 PM
No, just go to your header.php, and where it says <img src="header.png"> or whatever, change that to the full url. Same for the css.


edit//

<Link rel="stylesheet" type="text/css" href="glitzheaven.com/style.css">

that's wronggg. make it

<Link rel="stylesheet" type="text/css" href="http://glitzheaven.com/style.css">

RexAngel
06-02-2008, 01:07 PM
Ahh gotcha. I kept thinking I'd have to change everything with the full url. Fixed it. Thanks soo much!

Eagle
06-02-2008, 01:08 PM
No problem :p

RexAngel
06-02-2008, 01:13 PM
Ahh noo. Spoke too soon. </3 I think the links need to be full too. For example:
http://www.glitzheaven.com/Generators/WingedHeart/

If you click on the links, it's all "http://www.glitzheaven.com/Generators/WingedHeart/CommentHolidayXmas.php"

Eagle
06-02-2008, 01:14 PM
Ahh I posted in testing/spamage with the answer, before you posted this :p

RexAngel
06-02-2008, 01:17 PM
Okay NOW everything should be fixed. =))

Eagle
06-02-2008, 01:30 PM
Ahh great then :D