Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Upload issue  (Read 3103 times)

0 Members and 1 Guest are viewing this topic.

CrazyKZ

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Grace EFC
Upload issue
« on: November 10, 2005, 09:09:32 pm »

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??
« Last Edit: November 11, 2005, 12:22:45 am by GauGau »
Logged

Nibbler

  • Guest
Re: Upload issue
« Reply #1 on: November 10, 2005, 11:21:02 pm »

Logged

CrazyKZ

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Grace EFC
Re: Upload issue
« Reply #2 on: November 10, 2005, 11:52:18 pm »

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
Logged

Nibbler

  • Guest
Re: Upload issue
« Reply #3 on: November 10, 2005, 11:59:43 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.