robinreece
09-30-2004, 06:27 AM
I got this script for a photo gallery and the whole thing works except for the comment area. I don't know anything really about asp coding or even how to code html. Let me paste the piece of code that I THINK needs to be edited:
Dim cWritableXMLCommentsFolder
'set the folder where the xml comment files are going to be written.
cWritableXMLCommentsFolder=Server.Mappath(cVirtualPath)
'cWritableXMLCommentsFolder="d:\"
This is under the CONFIGURATION section. I'm guessing there is something in there that may also refer to another portion of the index.asp code but I just dont know.
Anyways, I created a folder in the main root folder called comments so this is where all of the xml comments would go. I tried several things:
Placed "d:\home\hnt17b040\photocatalog\comments" where it says Server.Mappath and that didn't work. When I try to enter a comment on the page www.u-turn.cc/photocatalog it comes up with an error: Error saving comment to d:\home\hnt17b040\photocatalog\"image_name.xml."
Error message: Access is denied.
Can someone please help me?? Here is the link to the entire script
http://www.iloire.com/vbscript/online_photo_catalog_vbscript.asp
Thanks
Robin
Dim cWritableXMLCommentsFolder
'set the folder where the xml comment files are going to be written.
cWritableXMLCommentsFolder=Server.Mappath(cVirtualPath)
'cWritableXMLCommentsFolder="d:\"
This is under the CONFIGURATION section. I'm guessing there is something in there that may also refer to another portion of the index.asp code but I just dont know.
Anyways, I created a folder in the main root folder called comments so this is where all of the xml comments would go. I tried several things:
Placed "d:\home\hnt17b040\photocatalog\comments" where it says Server.Mappath and that didn't work. When I try to enter a comment on the page www.u-turn.cc/photocatalog it comes up with an error: Error saving comment to d:\home\hnt17b040\photocatalog\"image_name.xml."
Error message: Access is denied.
Can someone please help me?? Here is the link to the entire script
http://www.iloire.com/vbscript/online_photo_catalog_vbscript.asp
Thanks
Robin