FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 Doesn't work in a sub-domain View next topic
View previous topic
Post new topicReply to topic
Author Message
trishah



Joined: 16 Jul 2011
Posts: 4

PostPosted: Sat Jul 16, 2011 2:30 pm Reply with quoteBack to top

This may be a little complicated so please bear with me as I explain...

Background:

I have a HostGator account with a primary domain of MyName.com

I have an addon domain of MainDomain.com

I have a sub-domain of SubDomain

And because I actually have 11 sub-domains I put them all in a folder called SubFolder

When I first tried your script I got it working in a test folder at: http://MainDomain.com/TestFolder


The Problem:

I got your RSS2HTML working with my custom template in a test folder at:
http://MainDomain.com/TestFolder but when I moved it to the sub-domain I get the error:

Quote:
Fatal error: Call to undefined function feedforall_scripts_readfile() in /home/meme/public_html/SubFolder/SubDomain/index.php on line 771


So, it's not finding the template. Everything I've tried keeps giving me the exact same error.


What I've Tried:

(1) Putting the template in the same sub-domain folder as the rss2html.php file and using the relative path on line 35 to the template does not work:
$TEMPLATEfilename = "template.html";

(2) I can load the template into a browser window using:
http://MyDomain.com/TestFolder/template.html but this url doesn't work in line 35
$TEMPLATEfilename = "http://MyDomain.com/TestFolder/template.html";

(3) I also can load the template from the server into a browser using what HostGator support told me to use: http://MyName.net/SubFolder/SubDomain/template.html but when I put this on line 35 I get the same error.
$TEMPLATEfilename = "http://MyName.net/SubFolder/SubDomain/template.html";

I am at a loss. How do I get your script working when the rss2html.php is in a sub-domain?
View user's profileVisit poster's website
trishah



Joined: 16 Jul 2011
Posts: 4

PostPosted: Thu Jul 21, 2011 1:18 pm Reply with quoteBack to top

On the plus side I'm glad that it's not just me ;)

But isn't it strange that putting the template in the same folder with the php file and using relative linking doesn't work? They are in the same folder! It's not like the php has to go to http to find it... it's right there.

What I really love about RSS to HTML Converter is how it handles videos by placing the player right on your page! Brilliant. But since I can't get it working on a subdomain I had to switch to CARP. Works good but you only get links to the page where the video can be viewed :(

Would love to go back to RSS to HTML Converter is someone can find a fix for this subdomain problem.

Let me know if I can help with testing any potential fixes.
View user's profileVisit poster's website
trishah



Joined: 16 Jul 2011
Posts: 4

PostPosted: Tue Jul 26, 2011 7:13 pm Reply with quoteBack to top

Bump. Still looking for an answer to this.
View user's profileVisit poster's website
professorrosado



Joined: 27 Jul 2011
Posts: 1

PostPosted: Wed Jul 27, 2011 4:07 am Reply with quoteBack to top

Are you using full urls when building?
http://yourmaindomain/yoursub-domain/ etc. use absolute path let it go out all the way and come back in to your site.
View user's profileVisit poster's website
trishah



Joined: 16 Jul 2011
Posts: 4

PostPosted: Tue Aug 09, 2011 2:24 am Reply with quoteBack to top

I have tried all types of ways and it doesn't work.

I can put a http url into the browser and get to the correct page, but that http url doesn't work in the script. Nor does a relative url to the page that is in the same folder.
View user's profileVisit poster's website
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme