PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Erros in Admin and with users uploading images (http://www.photopost.com/forum/classifieds-bug-reports/126010-erros-admin-users-uploading-images.html)

macsamurai July 12th, 2006 05:37 PM

Erros in Admin and with users uploading images
 
Chuck upgraded all of our PP products this past weekend. Everything seemed fine for a few days but this morning all hell seems to have broken loose with the Classifieds.

For example, trying to add the image for http://www.cubeowner.com/classifieds...hp?product=350 (both the user and me as an admin get the same error)

Quote:

Warning: copy(/home/laurie/public_html/classifieds/data/27/thumbs/Brackets3watermarked.jpg): failed to open stream: Permission denied in /home/laurie/public_html/classifieds/image-inc.php on line 399

Warning: unlink(/home/laurie/public_html/classifieds/data/27/thumbs/Brackets3watermarked.jpg): Permission denied in /home/laurie/public_html/classifieds/image-inc.php on line 428

Error creating thumbnail! Error code: 1

Command: "/usr/bin/mogrify" -size 100x46 -quality 70 -geometry 100x46 /home/laurie/public_html/classifieds/data/27/thumbs/Brackets3watermarked.jpg
And in the Admin CP I have a page full of this:

Quote:

Warning: is_dir(): Stat failed for /home/laurie/public_html/classifieds/data//27/thumbs/1248card1.jpg (errno=13 - Permission denied) in /home/laurie/public_html/classifieds/adm-inc.php on line 749
I have verified that both data and uploads folders are 777 and that the path to mogrify is correct and I haven't really touched anything else in the Admin CP since Chuck did the upgrade. I have made some template/skin settings but I did those right after the upgrade was completed and everything was still working fine in the 2 days following that. Any help is appreciated.

macsamurai July 12th, 2006 07:03 PM

Also, I did try rebuilding all thumbs to see if that cleared it up but I get

Quote:

processing may take a while... please be patient and wait the for FINISHED message...

Rebuilding thumbnail: /home/laurie/public_html/classifieds/data/27/thumbs/323Cube1.jpg
Creating from /home/laurie/public_html/classifieds/data/27/323Cube1.jpg ...
Warning: copy(/home/laurie/public_html/classifieds/data/27/thumbs/323Cube1.jpg): failed to open stream: Permission denied in /home/laurie/public_html/classifieds/image-inc.php on line 399

Warning: unlink(/home/laurie/public_html/classifieds/data/27/thumbs/323Cube1.jpg): Permission denied in /home/laurie/public_html/classifieds/image-inc.php on line 428
and then the body says

Quote:

Error creating thumbnail! Error code: 1

Command: "/usr/bin/mogrify" -size 100x55 -quality 70 -geometry 100x55 /home/laurie/public_html/classifieds/data/27/thumbs/323Cube1.jpg

Chuck S July 12th, 2006 08:33 PM

I would suggest you check your data directories and ensure that all of them at every level are 777.

Did you run all applicable upgrade scripts

macsamurai July 12th, 2006 08:38 PM

They all appear to be 777.

As for the upgrade scripts, as I mentioned, YOU actually performed the upgrade. I haven't touched it other than template and css edits.

Chuck S July 12th, 2006 09:18 PM

well upgrades dont fix issues that would pre exist they only update files.

There is only one issue I see here

Your data/27 directory has issues it is only that directory. Does the large and thumbs directories exist for that 27 directory are they all 777

Chuck S July 12th, 2006 09:28 PM

Basically you have a file ownership issue that I see and permissions. You can SSH into your server and run a chown and chmod if you use the root user do you have a root user?

creekdawg July 14th, 2006 09:26 PM

Im running into the same exact thing

Chuck S July 15th, 2006 08:11 AM

You need to make sure your data directories are all 777 and owned properly

If your issue is the same as this guys then contact your host and see what they say. Normally if you have SSH access this is something you can correct if not they have to.


All times are GMT -5. The time now is 12:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97