[Solved]: Uploading is suddenly malfunctioning [Solved]: Uploading is suddenly malfunctioning
 

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

[Solved]: Uploading is suddenly malfunctioning

Started by 49x, April 06, 2009, 07:50:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

49x

Hello -- I've put images in the gallery in the past but suddenly it won't upload, here's the error message:

No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /home/abc123/public_html/Gallery/db_input.php - Line: 311

Here's a test user profile for anyone that cares to take a look:
user: testor
pw: test

TYIA

49x


phill104

The error message is suggesting that your server does not allow uploads. There could be a number of reasons for this but usually it is a permissions problem

CHECK YOUR PERMISSIONS ON THE /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES.  ALL SHOULD BE 777 OR 755
It is a mistake to think you can solve any major problems just with potatoes.

49x

Thanks, I should have mentioned that I've already done all of the troubleshooting steps including setting permissions. I've contacted my Host Server techs and they think it's something to do with my php.ini. -- there's only one entry in THAT file
which reads:    open_basedir="/usr/local/bin/:/home/n9-leg2/:/tmp/"      --- means a temp directory is set for uploading right?
Anyway, I've tried for 2 days to get this to work again, the techs are full of "un"-information they act like it kills them to say more that a quick phrase for a hint....

Nibbler

Go to your phpinfo.php and post the values that are set for 'file_uploads' and 'upload_tmp_dir'.

49x

Alas, I put in your suggestions in the phpinfo.php -- that didn't help either -- but I did remove the "open_basedir" entry in my php.ini (not sure how and why it got there...) of my root directory and it NOW uploads, hallelujah!
Thanks everyone for the input.