|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
what am I doing wrong with this SSI?
I'm trying to get a toplist to display on this page http://www.nudebabepic.com/owngalleries/
and keep getting the message [an error occurred while processing this directive] the page is a .shtml extension and I've used the include statements in the form of both: <!--#include virtual='/home/nudepic/public_html/sloth_toplist/top15.html' --> and <!--#include virtual='http://www.nudebabepic.com/sloth_toplist/top15.html' --> in an attempt to include this page http://www.nudebabepic.com/sloth_toplist/top15.html but both statements are generating this same error on the page. I've used variations of the path statements above on php pages with success, however they don't seem to work on this shtml page for some reason. BTW, the includes do work on the page at the root url, it's just where this page is in the subdirectory and it's trying to reach a different subdirectory where it's getting this error. Any idea what I'm doing wrong here? ![]()
__________________
|
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
Works now AmateurFlix?
<!--#include virtual=' blah should be relative to that domain root and not the server account?
__________________
XXX TLD's - Another mosquito to swat. |
|
|
|
|
|
#3 |
|
Zph7YXfjMhg
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,398
|
have you tried using double quotes?
|
|
|
|
|
|
#4 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
Quote:
__________________
7 |
|
|
|
|
|
|
#5 |
|
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
Ah shit.. see what you mean.
Try this.. if the actual calling page is on the domain root use this... <!--#include virtual="sloth_toplist/top15.html"--> If the calling page is one dir down from the domain root, try this... <!--#include virtual="../sloth_toplist/top15.html"-->
__________________
XXX TLD's - Another mosquito to swat. |
|
|
|
|
|
#6 |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
or maybe like this
<!--#include file="../sloth_toplist/top15.html"--> or even like this <!--#include virtual="/sloth_toplist/top15.html"--> I think the last one is right. I just looked at thats how I do it on my server.
__________________
7 |
|
|
|
|
|
#7 |
|
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
Thanks Webby & kenny, <!--#include virtual="../sloth_toplist/top15.html"--> did the trick for the .html include; however for some reason an include file statement calling a php file (for a tradescript) isn't responding the same way;
on the root url this works: <!--#include file="sloth_in.php" --> however I'm running into the same problem being in a subdomain as with the toplist example above. I've tried: <!--#include file="sloth_in.php" --> <!--#include file="../sloth_in.php" --> <!--#include file='../sloth_in.php' --> <!--#include file="http://www.nudebabepic.com/sloth_in.php" --> without any luck so far. any ideas for this one (it's the last one, I swear lol)?
__________________
|
|
|
|
|
|
#8 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
Quote:
![]()
__________________
|
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
Can't you just use the include virtual methond again?
<!--#include virtual="../sloth_in.php" --> since thats how you did it last time. or <!--#include virtual="/sloth_in.php" -->
__________________
7 |
|
|
|
|
|
#10 |
|
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
Mmm.. don't think ya can include php's using the virtual directive AmateurFlix..
Hang on and I'll check!
__________________
XXX TLD's - Another mosquito to swat. |
|
|
|
|
|
#11 |
|
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
hmm, well it's not generating an error message with the include virtual however my trade script documentation says to use include virtual for the html and include file for the php; so I really don't know if this is working or not yet, even though the error message is gone
__________________
|
|
|
|
|
|
#12 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
Quote:
http://www.nudebabepic.com/sloth_in.php There is nothing on the page you're calling
__________________
7 |
|
|
|
|
|
|
#13 |
|
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
If there are variables on your php file... don't think they will be passed when you use a virtual include ssi call...
I've never thought of mixing php and ssi so far, but looks possible to a degree.. just testing that now!!
__________________
XXX TLD's - Another mosquito to swat. |
|
|
|
|
|
#14 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
Quote:
__________________
|
|
|
|
|
|
|
#15 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
Quote:
Thanks for all the assistance!
__________________
|
|
|
|
|
|
|
#16 | |
|
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
Quote:
Still playing with it... but looks as though it can get messy... the reverse way round is obviously easier.. ie calling in include into a php page... Found a references ya may want to check.... http://www.zytrax.com/tech/php/php_ssi.htm http://www.webmasterworld.com/forum88/354.htm OK.. who knows this stuff or used it??
__________________
XXX TLD's - Another mosquito to swat. |
|
|
|
|
|
|
#17 | |
|
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
Quote:
__________________
XXX TLD's - Another mosquito to swat. |
|
|
|
|