Upload Failed error after upgrading to 1.5.26 from 1.5.24 Upload Failed error after upgrading to 1.5.26 from 1.5.24
 

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 Failed error after upgrading to 1.5.26 from 1.5.24

Started by theqe2story, January 20, 2014, 11:26:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

theqe2story

Hi there,

Big fan of Coppermine, and have had no problems with it, until I did the most recent update.

Now when anyone uploads a photo, it gives an error message "upload failed", even though the image does actually upload successfully.

With debugging turned on, I can see it says
/include/functions.inc.php•Notice line 4307: Undefined variable: result

The gallery is bridged with SMF 2.0.6.

Any help appreciated.

Thank you,

Rob Lightbody. 

theqe2story

Following the troubleshooting steps, it works OK with simple mode, but not with advanced.

What has changed in 1.5.26 to stop this working ?

Αndré

What you describe is often a theme related issue or due to files which are incomplete or have been corrupted during the upload. Hard to tell without the required data: http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_support

If this gallery is affected, please have a look at the HTML source code and you'll find
?>
at the beginning, which is most likely the cause.

theqe2story

Hi André, thanks for your reply.

OK I had more time this evening, so I've created the test account and set it up as described.  Simple works.  'Multiple Files' doesn't.  And as I mentioned, it was working fine on 1.5.24.  Username is coppermine, password is coppermine, gallery is at http://www.theqe2story.com/forum/gallery/.   There is an album called 'test album' that is visible once logged in, and has been setup as described.

Thanks for your help!

- Rob


Αndré

I tested your gallery with a different theme and a different language, the
?>
remains.

Please re-apply the upgrade (i.e. replace all files on your web server as described in the upgrade docs), maybe one or more files got corrupted during the upload. If it still doesn't work, please temporary disable the plugin engine and try again.

theqe2story

Quote from: Αndré on January 21, 2014, 08:32:30 PM
I tested your gallery with a different theme and a different language, the
?>
remains.

Please re-apply the upgrade (i.e. replace all files on your web server as described in the upgrade docs), maybe one or more files got corrupted during the upload. If it still doesn't work, please temporary disable the plugin engine and try again.

Thanks, I don't know which file to look for the ?> in though, or I would!

theqe2story

Quote from: theqe2story on January 21, 2014, 08:36:39 PM
Thanks, I don't know which file to look for the ?> in though, or I would!

I TAKE IT BACK!  You're right, thanks!  FIXED!

It was in the bridging file smf20.inc.php.

THANK YOU!!  :D