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
LVL 3
Craig SharpLead Enginneer - Unix Server TeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MereteCommented:
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
0
Craig SharpLead Enginneer - Unix Server TeamAuthor Commented:
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
0
MereteCommented:
Yes you could be right there
I sourced this
There are several potential stumbling blocks in getting file upload working correctly
php.ini file usually is here: /usr/local/lib/php.ini
Take a look and see if it helps
Images not working
extract>
Editing pages with lots of content.
php.ini -- memory_limit = 8M -- increase it.
This also resolves "The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file." when uploading files, when all other things mentioned on this page do not work.
The memory_limit set in php.ini may be overridden by LocalSettings.php.
Check for a line that says something like:
ini_set( 'memory_limit', '20M' );
In this case, update the LocalSettings.php file instead.
http://meta.wikimedia.org/wiki/Uploading_files#Images_Not_Working

Uploading files
http://meta.wikimedia.org/wiki/Uploading_files
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.