Topic: buildgallery failure message

hello, i would like to add some pictures to my galerie, so i loaded them up and then started buildgallery.php
but now there's the following message:

"Warning: fopen(gallery.xml): failed to open stream: Permission denied in /home/mondamo/domains/mondamo.de/public_html/fotos/buildgallery.php on line 115

Cannot open XML document: gallery.xml

Warning: fclose(): supplied argument is not a valid stream resource in /home/mondamo/domains/mondamo.de/public_html/fotos/buildgallery.php on line 122"


and when i go to index.html the new pix aren't added : (

when i go to buildgallery.php on these lines there is written down:


"if (!$file_handle = fopen($file,"w")) {
    print "<br>Cannot open XML document: $file<br>";
}  elseif (!fwrite($file_handle, $xml)) {
    print "<br>Cannot write to XML document: $file<br>";   
}else{
    print "<br>Successfully created XML document: $file<br>";   
}
fclose($file_handle);  "

what shall i do know?

ps: my gallery you can view here: http://mondamo.de/fotos/index.html

thx for answers!

Re: buildgallery failure message

ck the permissions for the xml file on your server, chmod

post back if that does solve the problem

( chilling pics , good work)

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!