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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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