Topic awaiting preservation: PHP Template Help |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: |
posted 07-15-2004 18:00
I am trying to make a site using http://www.gurusnetwork.com/tutorial/php_templates/ I got it to work for one part of my site http://ngreed.theeamigos.net/ but when I tried it on another part of my site I got an error, http://www.theeamigos.net/NewSite/ Any help would be greatly appericiated. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-15-2004 18:15
Would you mind posting the code? From first look it might be that you are not including the correct type of path. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 07-15-2004 22:01
It looks like you are trying to use URL paths to open files. |
Obsessive-Compulsive (I) Inmate From: |
posted 07-15-2004 23:53
Here is the source code for the NewSite that is not working index.php code: <?php
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 07-16-2004 05:23
/pages/about.htm |
Obsessive-Compulsive (I) Inmate From: |
posted 07-16-2004 15:14
quote:
|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-16-2004 15:31
- |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-16-2004 15:32
You 1st need to modify your if/else block to quote the statics. i.e. news -> "news" or 'news' |
Obsessive-Compulsive (I) Inmate From: |
posted 07-24-2004 02:56
code: <?php
|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-24-2004 06:37
You didn't add the "/" |
Obsessive-Compulsive (I) Inmate From: |
posted 07-27-2004 03:13
Either Way, I get the same error |