Hi, I was adding photos to my gallery this morning with no problems when I ran into one. Whenever I tried to upload a photo, I received the following error:
---
Warning: move_uploaded_file(./../data/media/1/ep501_1.jpg): failed to open stream: Permission denied in /home/mskiteon/public_html/qaf/gallery/includes/upload.php on line 122
Warning: move_uploaded_file(): Unable to move '/tmp/phpkpocPb' to './../data/media/1/ep501_1.jpg' in /home/mskiteon/public_html/qaf/gallery/includes/upload.php on line 122
Image 1
Error uploading image file: ep501_1.jpg
ep501_1.jpg: Copy error. Please check the directory permissions.
No database entry!
---
I decided to upgrade my gallery from 1.7 to 1.7.1 since that seemed as good a time as any and not only is that error continuing but my templates now show the if statements in certain places. For example,
On the details page, every photo's title shows the {if image_is_new} new{endif image_is_new} in plain text as well as {if iptc_info}
IPTC Info
{endif iptc_info}
In addition, on the main/index page, it shows Top images New images
{endif categories}454 images in 60 categories. and {if categories}
Can any one offer any solutions? I have looked at the templates and nothing seems out of the ordinary.
Thanks