Page MenuHomePhabricator

After Installation, after first edit, all pages blank
Closed, DeclinedPublic

Description

Author: rich

Description:
I've installed 1.8.2 locally on OS X using MAMP (which provides mySQL, PHP5, Apache all
in a tidy single directory).

Ran installer, moved LocalSettings.php, and was able to view the Main_Page.

Clicked "edit" (btw, tried this on other pages than "Main_Page" with same result)

Edit form looked fine... added a single word (no tags) and hit save.

Result after: I get a blank page. No content, no source code, nothing.

I suspect some disconnect with the DB, but the installation reports suggest
communication with the MySQL is good.


Version: 1.8.x
Severity: major
OS: Mac OS X 10.4
Platform: Macintosh

Details

Reference
bz8297

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8297.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

What does the PHP error log contain regarding the problem? Big blank pages often
indicate that some error is reported here.

arun wrote:

Got the same problem, running PHP 5.1.6 Apache 2.x, but on a Linux server.
Unfortunately I can't access the error logs...

this seems to be the same problem:

http://www.mediawiki.org/wiki/Project:Support_desk#1.8.2_is_completely_broken...

thom wrote:

Hi... I had the same problem...

The problem was that PHP ran out of allowed memory. Please check php and/or
apache logs.

I've set the memory_limit in php.ini to

memory_limit = 20M

(instead of 8M) and my problems disappeared

:)

Thom

thom wrote:

Hi... I had the same problem...

The problem was that PHP ran out of allowed memory. Please check php and/or
apache logs.

I've set the memory_limit in php.ini to

memory_limit = 20M

(instead of 8M) and my problems disappeared

:)

Thom

arun wrote:

Thanks Thom,

seems that the memory_limit did it...

In case you don't have access to php.ini, adding these lines at the top of
index.php might work for you:

ini_set(memory_limit,"20M");

(see
http://users.757.org/~joat/wiki/index.php/Fixing_MediaWiki's_memory_issues_when_you_don't_have_access_to_php.ini
)

worked for me ;)

Arun