Hello,
We've just installed Photoshare and are running into what looks like a php bug.
First, it's PHP 4.2.2
It's an Ensim server, so it's safe mode, openbasedir
The problem is on line 496 of pnuserapi.php. That line is:
$tmpfilename = tempnam($tmpdir, 'IMG');
That function "should" create a temp file in the directory specified by tmpdir, but it's not. Its trying to create the file in /tmp and the openbasedir won't allow that.
I've echo'ed the falue of $tmpdir just above that line and it's correctly set.
I believe this might be an PHP issue, but I like to know if anyone can come up with a work around?
Thanks,
Frank