Okay I have no errors in adm-index.php. But still am unable to upload.
On my last installation error I get this error
Warning: fopen(C:/Inetpub/vhosts/mydomain.com/httpdocs/photopost/config-int.php): failed to open stream: Permission denied in C:\Inetpub\vhosts\mydomain.com\httpdocs\photopost\install.php on line 1652
Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\mydomain.com\httpdocs\photopost\install.php on line 1653
Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\mydomain.com\httpdocs\photopost\install.php on line 1654
Last edited by NemoTech; April 2nd, 2006 at 03:20 PM.
Allow users into the admin no way you do not do that.
The error above tells me you have not set the gallery directory to writable.
You need to set permissions as stated above.
If you can not upload after you get things installed right then you would need to post your error but as you found that other thread you can see common issues with permissions and it is easier to use GD2 if you have it.
My Photopost has been working fine until today.
My server has just given me this notice "If you have a script that is not executing, please ensure the permission on the file is set to CHMOD 755. Scripts or folders that are chmodded to 777 will no longer work due to security risks involved with 777 settings. Setting 755 is equivalentto 777 in the new environment."
As far as I can tell all my permissions are correct but I'm getting this message "Warning: move_uploaded_file(/home/liddyslo/public_html/Photopost/uploads/2/liddyinsand.jpg): failed to open stream: Permission denied in /home/liddyslo/public_html/Photopost/image-inc.php on line 37
Warning: move_uploaded_file(): Unable to move '/tmp/phpbDWqDZ' to '/home/liddyslo/public_html/Photopost/uploads/2/liddyinsand.jpg' in /home/liddyslo/public_html/Photopost/image-inc.php on line 37"
I changed all my 777's to 755 when I discovered that my host did not run php as an Apache module (ie it runs as a cgi) and was not happy with anyone having 777 folders in their sites. Photopost works fine this way for me. There were an awful lot of folders to change though! (ie hundreds). Are you sure you got them alll? (it is easier to do it with a script if you know how).
Last edited by pistebasher; July 24th, 2006 at 05:21 PM.
We require permissions to be 777 on the uploads and data directories to allow successful file uploads. You might want to inquire with your new host setup if they allow 755 permissions to act like 777 so PHP commands like move_uploaded_file will work.