Topic on Project:Support desk

[RESOLVED] Blank page after clicking on 'file list' in special pages

13
81.149.212.167 (talkcontribs)

Hi,

I have been trying to figure this out for the past week and can't come across a solution!

Basically- I uploaded a few files last week and everything was working well. Then, halfway through an upload, the screen went blank. I had one file that just wouldn't upload (even though it had the correct extensions etc).

Anyway, after this point, every time I go into 'special pages' and click on list files or anything that requires a directory of the uploaded files, I get a blank page. It half loads then seems to give up and just ends up blank.

I've tried to do the error thing in local settings.php; increase memory in php.ini and various other things and I can't seem to work out where the problem is.

I'm running on MAMP on my Mac.

Help!

MarkAHershberger (talkcontribs)

When output stops like that, I've found a good way to figure out what the error is is to add

 error_reporting( -1 );
 ini_set( 'display_errors', 1 );

to your LocalSettings.php.

If you add those two lines, do you see any error messages?

MarkAHershberger (talkcontribs)
81.149.212.167 (talkcontribs)

Hi,

Thanks, have tried all of it and it doesn't appear to be showing anything...

I've added the error reporting to the local settings and nothing has come up.. and I've increased the memory size.

Is there anything else I can try?

Thanks,

S

Ciencia Al Poder (talkcontribs)

There's apparently an error log at /Applications/MAMP/logs/php_error.log

Check if it has an error message about that.

See also

2.165.167.73 (talkcontribs)

hello, I have the same problem with the blank file-list page. I'm running the wiki on an extern server. How can I fix it - all the "error-reporting" in the local settings.php didn't help.

I would be very very glad for any help!!

Ciencia Al Poder (talkcontribs)

The error reporting thing is not to fix the issue, but to know the cause of it being broken (which currently nobody knows) so it can be fixed.

If you post a detailed error message, it would help us diagnose the problem. Otherwise, we can't do anything since we can't reproduce the error in our environment.

Greylin (talkcontribs)

I have the same problem - a blank page when trying to upload an image file. My Wiki is 2 yrs old and this problem has never occurred before. Also, after trying to upload a 3MB .jpeg I am unable to view Special:ListFiles. Adding the error-reporting lines to LocalSettings.php didn't produce an error message on the blank page. However, my error log file contains the following:

PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 9216 bytes) in /home/xxxxx/public_html/wiki/includes/media/Bitmap.php on line 566

I'm using MediaWiki 1.23.5, PHP 5.3.24

Any advice would be gratefully received.

88.130.125.89 (talkcontribs)

Your memory limit currently is set to 50MB. However, this obviously is not enough; try setting the PHP setting memory_limit to something higher, e.g. to 128MB and try again!

Greylin (talkcontribs)

I took a guess (!) at how to do this and added

$wgMemoryLimit = "128M";

to LocalSettings.php and it has worked. Thank you very much!

Is the problem likely to recur if we keep uploading images? I'm just wondering if I will need to increase the limit again at some point in the future.

88.130.125.89 (talkcontribs)

I don't think this will reoccur any time soon: The memory limit is per request, so if you don't do anything with many images in the same website call, then there should be no problem. Maybe you have to raise this again some time in the future, when 128MB has become "small". Anyway, I guess that's not any time soon.

Gharryh (talkcontribs)

For days i had the same problem after upgrading from 1.23 --> 1.28.

Strangly the MemoryLimit variable was not part of the lLocalSetting file

After manualy adding this gives me the fileslist option back and even uploading a 500 kb image works now

Reply to "[RESOLVED] Blank page after clicking on 'file list' in special pages"