View Full Version : Permission problems
July 27th, 2008, 03:25 PM
After a server migration, I am unable to upload any photos due to lack of permissions.
It keeps giving Error creating thumbnail! Error code: 1
Warning: copy([path]image_name.jpg) [function.copy]: failed to open stream: Permission denied in [path]gallery/image-inc.php on line 327
Is there an easy way to restore permissions? There are hundreds of folders, and I don't want to change permission on each of them manually.
July 27th, 2008, 04:54 PM
If you recently moved servers this thread might assist you. You need to ensure permissions are 777 on data and uploads at every level.
You can also in global options and storage options in admin set the proper paths for uploads and data directories as those would change in on a server move.
July 27th, 2008, 06:16 PM
Well, not really a server move - but from a PHP4 to PHP5 server (same host) and back again because of PHP5-incompatibility. After that, this permission problem surfaced. Any idea?
July 27th, 2008, 07:30 PM
Our software works fine in PHP 5 I have ran it on PHP 5 for years.
My suggestion is to check what I have noted above. Check that your permissions are correct on the data and uploads directories. make sure in global and storage options the paths are correct in admin\
if you still have an issue check your phpinfo and make sure your PHP safe mode is off.
July 28th, 2008, 05:34 AM
I know PhotoPost works fine on PHP5, it was other parts of my site that wasn't compatible. I'll check what you have noted. Thanks, Chuck.
July 28th, 2008, 09:17 AM
Mostly likely a server path change is the issue.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.