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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-19-2006, 03:31 PM   #1
AmateurFlix
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?
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 03:38 PM   #2
Webby
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.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 03:41 PM   #3
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,398
have you tried using double quotes?
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 03:43 PM   #4
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
Originally Posted by Webby
Works now AmateurFlix?

<!--#include virtual=' blah should be relative to that domain root and not the server account?
Webby is right
__________________
7

Last edited by kenny; 01-19-2006 at 03:46 PM..
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 03:48 PM   #5
Webby
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.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 03:57 PM   #6
kenny
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
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:19 PM   #7
AmateurFlix
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)?
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:24 PM   #8
AmateurFlix
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Posts: 7,762
Quote:
Originally Posted by AmateurFlix
however I'm running into the same problem being in a subdomain
err, I meant 'subdirectory'
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:29 PM   #9
kenny
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

Last edited by kenny; 01-19-2006 at 04:30 PM..
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:39 PM   #10
Webby
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.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:42 PM   #11
AmateurFlix
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
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:45 PM   #12
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
Originally Posted by AmateurFlix
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

http://www.nudebabepic.com/sloth_in.php

There is nothing on the page you're calling
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:47 PM   #13
Webby
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.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:51 PM   #14
AmateurFlix
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Posts: 7,762
Quote:
Originally Posted by kenny
http://www.nudebabepic.com/sloth_in.php

There is nothing on the page you're calling
that sloth_in.php file isn't a real page, it only exists to track referrer info of incoming hits for the trade script/toplist
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:53 PM   #15
AmateurFlix
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Posts: 7,762
Quote:
Originally Posted by Webby
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!!
I just entered this <!--#include virtual="../sloth_in.php" --> and forced some traffic to the page from another of my sites; it does appear to be functioning properly as far as I can tell, at least in this instance.

Thanks for all the assistance!
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:56 PM   #16
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Quote:
Originally Posted by AmateurFlix
that sloth_in.php file isn't a real page, it only exists to track referrer info of incoming hits for the trade script/toplist
Yea.. noticed the code...

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.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-19-2006, 04:57 PM   #17
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Quote:
Originally Posted by AmateurFlix
I just entered this <!--#include virtual="../sloth_in.php" --> and forced some traffic to the page from another of my sites; it does appear to be functioning properly as far as I can tell, at least in this instance.

Thanks for all the assistance!
Good!! Just check for any variables you may want passed to someplace else.
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.