Mediawiki 1.5.2 Suse 9.2 Apache 2.0.49 PHP 4.4.0 MySQL 4.0.18
I installed mediawiki into the document root of my vhost with no apparent errors (ie its sitting in wiki.mydomain.com, not www.mydomain.com/wiki, and no errors going through the install process). After dropping LocalSettings.php into the "parent" directory, I can visit the home page just fine. In fact, I can "visit" most any pages just fine.
However, what does not work is the following:
(these both give me the same error. In IE I get a "cannot display this page", in Firefox it wants to download a completely empty index.php file)
Clicking on "create an account or login" I can get to the "edit" form for the main page, but when I hit save, I get the above error
I have other apps that use php/mysql just fine (phpBB, wordpress). I turned on debugging from inside LocalSettings.php ($wgDebugLogFile = "/tmp/wikilog"), but the log doesn't show me any errors:
Start <<
Start request GET /index.php?title=Special:Userlogin&returnto=Special:Specialpages Host: wiki.mydomain.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9 ,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Referer: http://wiki.mydomain.com/index.php?title=Special:Specialpages
Main cache: fakememcachedclient Message cache: mediawikibagostuff Parser cache: mediawikibagostuff << End >>
My apache error log shows no errors. I tried turning on error logging with php.ini:
error_reporting = E_ALL & ~E_NOTICE log_errors = on error_log = /tmp/php_errors
But the php error log is empty (and the log is 666 in case it was having write permission problems).
I have been banging my head on this problem for several days now. Does anyone have any idea what's going on here? Thanks.
Matt
When you say parent directory, do you mean LocalSettings.php is in the root too? Incidentally, it's never a good idea to install MediaWiki in the root like that.
On 29/11/05, Belorion belorion@gmail.com wrote:
Mediawiki 1.5.2 Suse 9.2 Apache 2.0.49 PHP 4.4.0 MySQL 4.0.18
I installed mediawiki into the document root of my vhost with no apparent errors (ie its sitting in wiki.mydomain.com, not www.mydomain.com/wiki, and no errors going through the install process). After dropping LocalSettings.php into the "parent" directory, I can visit the home page just fine. In fact, I can "visit" most any pages just fine.
However, what does not work is the following:
(these both give me the same error. In IE I get a "cannot display this page", in Firefox it wants to download a completely empty index.php file)
Clicking on "create an account or login" I can get to the "edit" form for the main page, but when I hit save, I get the above error
I have other apps that use php/mysql just fine (phpBB, wordpress). I turned on debugging from inside LocalSettings.php ($wgDebugLogFile = "/tmp/wikilog"), but the log doesn't show me any errors:
Start <<
Start request GET /index.php?title=Special:Userlogin&returnto=Special:Specialpages Host: wiki.mydomain.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9 ,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Referer: http://wiki.mydomain.com/index.php?title=Special:Specialpages
Main cache: fakememcachedclient Message cache: mediawikibagostuff Parser cache: mediawikibagostuff << End >>
My apache error log shows no errors. I tried turning on error logging with php.ini:
error_reporting = E_ALL & ~E_NOTICE log_errors = on error_log = /tmp/php_errors
But the php error log is empty (and the log is 666 in case it was having write permission problems).
I have been banging my head on this problem for several days now. Does anyone have any idea what's going on here? Thanks.
Matt _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I have a vhost dedicated to the wiki. So, I have wiki.mydomain.com whose only content is the wiki. So the document root, in my case /home/vhosts/wiki/, contains the wiki and only the wiki. So, for example, the config directory was in /home/vhosts/wiki/config/, so moving the Localsettings.php to "parent" directory was moving it to /home/vhosts/wiki/, which is the document root for that virtual host.
Is that what you mean? Why is it not a good idea to put mediawiki in the document root like that?
On 11/29/05, Rob Church robchur@gmail.com wrote:
When you say parent directory, do you mean LocalSettings.php is in the root too? Incidentally, it's never a good idea to install MediaWiki in the root like that.
That's all fine then.
Rob Church
On 29/11/05, Belorion belorion@gmail.com wrote:
I have a vhost dedicated to the wiki. So, I have wiki.mydomain.com whose only content is the wiki. So the document root, in my case /home/vhosts/wiki/, contains the wiki and only the wiki. So, for example, the config directory was in /home/vhosts/wiki/config/, so moving the Localsettings.php to "parent" directory was moving it to /home/vhosts/wiki/, which is the document root for that virtual host.
Is that what you mean? Why is it not a good idea to put mediawiki in the document root like that?
On 11/29/05, Rob Church robchur@gmail.com wrote:
When you say parent directory, do you mean LocalSettings.php is in the root too? Incidentally, it's never a good idea to install MediaWiki in the root like that.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Okay ... just for the sake of argument I tried a completely fresh install in a subdirectory of the main vhost for this server (the default one, www.mydomain.com). So, installed under www.mydomain.com/wiki. I am having the exact same problems.
*However*, I have learned something new. Apparently apache error loggin wasn't setup properly in my last vhost config, but on my default it is. When I request the page for "creating an account" a segfault error.
child pid 30402 exit signal Segmentation fault (11)
Any common reasons for why mediawiki might segfault? As I mentioned before, I have php/mysql working for phpBB and Wordpress ...
On 11/29/05, Rob Church robchur@gmail.com wrote:
That's all fine then.
Rob Church
On 29/11/05, Belorion belorion@gmail.com wrote:
I have a vhost dedicated to the wiki. So, I have wiki.mydomain.comwhose only content is the wiki. So the document root, in my case /home/vhosts/wiki/, contains the wiki and only the wiki. So, for
example,
the config directory was in /home/vhosts/wiki/config/, so moving the Localsettings.php to "parent" directory was moving it to
/home/vhosts/wiki/,
which is the document root for that virtual host.
Is that what you mean? Why is it not a good idea to put mediawiki in
the
document root like that?
On 11/29/05, Rob Church robchur@gmail.com wrote:
When you say parent directory, do you mean LocalSettings.php is in the root too? Incidentally, it's never a good idea to install MediaWiki in the root like that.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Belorion wrote:
*However*, I have learned something new. Apparently apache error loggin wasn't setup properly in my last vhost config, but on my default it is. When I request the page for "creating an account" a segfault error.
child pid 30402 exit signal Segmentation fault (11)
Any common reasons for why mediawiki might segfault? As I mentioned before, I have php/mysql working for phpBB and Wordpress ...
* Bad memory / hardware error * Bug in Apache * Bug in PHP * Bug in a PHP extension (such as an opcode cache)
-- brion vibber (brion @ pobox.com)
I rebuilt Apache and all is well. I find it very strange though that phpBB and Wordpress worded just fine, but this did not ... oh well, the mysteries of Apache may forever elude me.
Thanks!
On 11/29/05, Brion Vibber brion@pobox.com wrote:
Belorion wrote:
*However*, I have learned something new. Apparently apache error loggin wasn't setup properly in my last vhost config, but on my default it is. When I request the page for "creating an account" a segfault error.
child pid 30402 exit signal Segmentation fault (11)
Any common reasons for why mediawiki might segfault? As I mentioned
before,
I have php/mysql working for phpBB and Wordpress ...
- Bad memory / hardware error
- Bug in Apache
- Bug in PHP
- Bug in a PHP extension (such as an opcode cache)
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org