Upload issue Upload issue
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload issue

Started by CrazyKZ, November 10, 2005, 09:09:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CrazyKZ

I was able to get 2 files to upload (somehow...as the admin), now when I try an upload it gives me the following error.
I have tripple checked that the appropriate directories are set to 777.


Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/albums/userpics/10002 owned by uid 48 in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/upload.php on line 2195

Warning: fopen(albums/userpics/10002/index.html): failed to open stream: No such file or directory in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/upload.php on line 2195

Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/upload.php on line 2196

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/upload.php on line 2197

Warning: chmod(): SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access albums/userpics/10002/image1.jpg owned by uid 48 in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/upload.php on line 2232

Warning: getimagesize(): SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access albums/userpics/10002/image1.jpg owned by uid 48 in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/include/picmgmt.inc.php on line 118

Warning: getimagesize(albums/userpics/10002/image1.jpg): failed to open stream: No such file or directory in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/include/picmgmt.inc.php on line 118


>>>>>I then went into make the changes as often suggested in this forum and logged in as a test user and tried to upload a file and the below error is what I got:


Impossible to move image4.jpg to albums/userpics/10002/ !

File: /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/db_input.php - Line: 267



Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/albums/userpics/10002 owned by uid 48 in /home/httpd/vhosts/grace-efc.org/httpdocs/galleries/db_input.php on line 266

>>>>>>>
P.S.  I also noticed that in admin mode, I can see different Albums to upload into, but if I switch to user mode, I only can see one album. What's up with that??


CrazyKZ

There we go.  Thanks.  I wasn't for sure which file to put the    define('SILLY_SAFE_MODE', 1);    into.

The second question I had in the above was related to still not being able to upload to only 1 album in user mode.  I can move them to it, and add in admin mode, but not in user mode of the admin login.

--KZ

Nibbler

Check permissions on the groups page and album properties. If you can't figure it out after checking the manual then please start a new thread for the new question.