Avatar of Craig Sharp
Craig SharpFlag for United States of America asked on

URGENT: Mediawiki file upload error "The file you uploaded seems to be empty. This might be due to a typo in the filename. Please check whether you really want to upload this file."

I recently upgraded my Mediawiki to 1.19.7 from 1.17.  Everything is working fine except we are now unable to upload files.  We always get the following error.

The file you uploaded seems to be empty. This might be due to a typo in the filename. Please check whether you really want to upload this file.

I have looked at multiple forums that show discussions about the issue, but I have yet to find a solution.  I also am unable to find a bug number.

I also have confirmed all my settings in both php.ini and LocalSettings.ini.  Everything should be working, but no luck.

Has anyone had any experience with this issue and how did you solve it?

Environment:
MySQL 5.0.94
Apache 2.2.12
PHP5 5.3.8-0.19.6

Thanks
Software

Avatar of undefined
Last Comment
Merete

8/22/2022 - Mon
Merete

Try upgrading to the latest stable release manually.
please  read the Notes
MySQL 5 support is required since MediaWiki 1.19 – if you are using an older version of MySQL and cannot upgrade, you should use MediaWiki 1.18.5 (download).
Some users find it helpful to install an additional software package such as phpMyAdmin (MySQL) or phpPgAdmin (Postgres) to help administer the database server.
http://www.mediawiki.org/wiki/Manual:Installation_guide
ASKER
Craig Sharp

Thank you for the reply.  I should be able to upgrade the database, but if not then will a downgrade of Mediawiki work?  I thought that there were schema changes between 1.18 and 1.19.

Thanks
ASKER CERTIFIED SOLUTION
Merete

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck