Error Photos path must have write permission for reduce originals option
-
I hope this helps anyone that is using both the PixGallery 0.3.5 (with AWSOM mod) plugin AND also trying to use Dagon Design form mailer 5.21 .
I noticed that with PixGallery properly configured and with the gallery working fine (no errors) – I would an error anywhere I had:
<!-- ddfm1 -->
which is what Dagon Design form mailer requires in a page to call their email form script.
The following error would be displayed on the email page.
“Error: Photos path must have write permission for reduce originals option!”
Oddly enough this is actually an error for PixGallery and for the longest time I couldn’t figure out why that error would only appear on pages where I used DDFM. I still don’t know why this error occurs but I did a Google search to look for an answer but coudn’t find one… however what I did find was several sites showing the same error code and all of them were also using DDFM.
I will more than likely go to the forums for both PixGallery and DDFM, but until then I am hoping Google picks up on this post so those of you having the same issue can use this temp fix that I came up with. Please keep in mind that you’ll want to make sure PixGallery is working correctly (permissions set for your cache folder and whatever image folder you are using for PixGallery) – Once it is working and if you see the above error only on your page where DDFM is installed, open up pixgallery.php …
Look for this:
if ($ImageFileSize == FALSE)
{
PixGallery_PrintError(“Error: Photos path must have write permission for reduce originals option!”);
return FALSE;
}and comment it out to avoid the error from printing on your DDFM email page.
I know this is not a fix, (I am not a PHP expert) but if the error is driving you up a wall the way it was for me, and if you want to use both plug-ins, then this temp fix should work for you until the actual problem is solved by either plugin author.
I prefered to comment it out rather than delete the lines altogether in case someone has a correct fix for this issue.
Hope this helps someone!
Vince
- The topic ‘Error Photos path must have write permission for reduce originals option’ is closed to new replies.