forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: 49x on April 06, 2009, 07:50:38 pm

Title: [Solved]: Uploading is suddenly malfunctioning
Post by: 49x on April 06, 2009, 07:50:38 pm
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
Title: Re: Uploading is suddenly malfunctioning
Post by: 49x on April 06, 2009, 07:52:49 pm
Sorry, here's the link for testing:

http://49x.com/Gallery/index.php
Title: Re: Uploading is suddenly malfunctioning
Post by: phill104 on April 06, 2009, 08:14:18 pm
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
Title: Re: Uploading is suddenly malfunctioning
Post by: 49x on April 06, 2009, 08:43:06 pm
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....
Title: Re: Uploading is suddenly malfunctioning
Post by: Nibbler on April 06, 2009, 08:49:32 pm
Go to your phpinfo.php and post the values that are set for 'file_uploads' and 'upload_tmp_dir'.
Title: Re: Uploading is suddenly malfunctioning
Post by: 49x on April 06, 2009, 10:01:18 pm
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.