![]() Topic awaiting preservation: PHP Template Help (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
![]() 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 |
![]() 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 |
![]() It looks like you are trying to use URL paths to open files. |
Obsessive-Compulsive (I) Inmate From: |
![]() 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 |
![]() /pages/about.htm |
Obsessive-Compulsive (I) Inmate From: |
![]() quote:
|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() - |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() You 1st need to modify your if/else block to quote the statics. i.e. news -> "news" or 'news' |
Obsessive-Compulsive (I) Inmate From: |
![]() code: <?php
|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() You didn't add the "/" |
Obsessive-Compulsive (I) Inmate From: |
![]() Either Way, I get the same error |