Page MenuHomePhabricator

Blank index page after installation
Closed, ResolvedPublic

Description

Author: ivelinan

Description:
My wiki is installed and works fine if you go directly to the URL: http://olap.ivelina.com/index.php5

However the root folder displays a blank index page.

I am running the following:

MediaWiki verion 1.11.1

Platform Type: Debian
MySQL Version: 5.0.45
PHP Version: 4.4.7

Any help would be much appreciated.

Thanks.


Version: 1.11.x
Severity: critical
OS: Linux
Platform: PC
URL: http://olap.ivelina.com

Details

Reference
bz12990

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 10:04 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz12990.
bzimport added a subscriber: Unknown Object (MLST).

skizzerz wrote:

You don't appear to have any rewrite rules/whatnot in either Apache or .htaccess, which is why you're getting this issue.

See http://www.mediawiki.org/wiki/Manual:Short_URL for more information on getting that redirection to work.

ivelinan wrote:

I just checked the PHP error log and this is what is repeats over and over for each time i tried to refresh the index page. I've replaced the path to my root folder with a simple "wiki_root_folder" for readability:

PHP Fatal error: Call to undefined function: headers_list() in wiki_root_folder/includes/OutputHandler.php on line 71

PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in wiki_root_folder/includes/Exception.php on line 160

PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

PHP Warning: Unknown: open(/var/php_sessions/sess_5562c416103fd40d15de762d3075f2f0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

ivelinan wrote:

(In reply to comment #1)

You don't appear to have any rewrite rules/whatnot in either Apache or
.htaccess, which is why you're getting this issue.

See http://www.mediawiki.org/wiki/Manual:Short_URL for more information on
getting that redirection to work.

I'm sorry to be a pain but what am I redirecting and why? Shouldn't my root directory just work right off the bat? I've read that page with the Short URL instructions but i'm not interested in pretty URLs at the moment so i didn't think i needed to set that up.

I must be confused about something. Can you please explain with an example of the correct syntax.

Thanks.

ivelinan wrote:

I should mention that I am installing this on a purchased hosting server and therefore I don't have access to the configuration of it. I may be able to ask the IT support of the company to do something for me if I know exactly what to ask them.

ivelinan wrote:

I solved the problem by installing an older version 1.6 b/c i don't have PHP5 on my server.