document() function issue
This is an open discussion with no replies, filed under XSLT.
Search
Create an account or sign in to comment.
This is an open discussion with no replies, filed under XSLT.
Create an account or sign in to comment.
Quick Links
Symphony • Open Source XSLT CMS
--with-xsl
)
Hi all, after a few months, i got back to my little project. So, everything went fine in my local wamp server. Then i uploaded to a live test site, and i have a problem :-)
I'm pretty sure that the problem i'm facing is not a symphony related one, but i'm helpless at the moment, and have noone else to ask for help :-) Actually, nickdunn had helped me before when i first started this project to setup the workflow, so first a 'thank you' to him.
Let me first explain what i'm after:
I have a 'projects' folder under the workspace/uploads. The video file and the thumbnail image are uploaded to a related folder in this 'projects' folder.
The 'works' section has a field called 'path' for the user to enter the related 'project' folder only. The works page xsl is like this:
The template gets the 'path' value, runs a php script with a GET variable set to the path value. The contents.php script gets the folder path, gets the contents of this folder and outputs an xml file. Here is the php code:
Then, this xml file is transformed to print out a thumbnail and a link for the video. As i said, this setup worked perfecetly on my local server. But when i uploaded this to my live server to test it, it gives me an error:
If i change the link to the php script to an absolute url, the server throws another error saying:
I wanted to ask whether i'm doing something silly, or is this a server configuration issue.
Thank you,