I'm not sure if this is a coppermine or mysql problem.
when a new user to my gallery adds a private album, they are then unable to upload to it, unless album properties allow visitors to upload.
edit; it seems they are unable to upload to any album, the same error appears.
I have found this is beacause the mysql database is allocating a different owner uid to the album than that of the actual owner.
The following error appears when trying to upload;
QuoteImpossible to move vt500c-84.jpg to albums/userpics/10045/ !
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 10295 is not allowed to access /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/albums/userpics/10045 owned by uid 48 in /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/db_input.php on line 225
Warning: fopen(albums/userpics/10045/index.html): failed to open stream: No such file or directory in /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/db_input.php on line 225
Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/db_input.php on line 226
Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/db_input.php on line 227
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10295 is not allowed to access /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/albums/userpics/10045 owned by uid 48 in /home/httpd/vhosts/hsocuk.com/httpdocs/galleries/db_input.php on line 258
There is no user with the uid 48, but the last 3 user albums created have all had this property allocated.
It had all been working well until yesterday. I had recently deleted a few users. could this be related.
I have screenshots of the sql properties if needed, and you can see it at www.hsocuk.co/galleries/index.php username = user, password = test
maybe your webhost has changed the server config - try using silly_safe_mode to check if the errors go away.
GauGau
That did it, many thanks. :D
Why do webhosts have to change things that were running perfectly well. :?:
Quote from: "gaugau"maybe your webhost has changed the server config - try using silly_safe_mode to check if the errors go away.
GauGau
Im having the same problem but how do I use silly-safe-mode?
thanks