Difference between revisions of "Issue:Http 500 error"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.7.4 |Description = http 500 error |Status = open }} == Problem == I've installed dpl on MW 1.13 alpha on a Linux b...)
 
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
  |Extension  = DPL
 
  |Extension  = DPL
 
  |Version    = 1.7.4
 
  |Version    = 1.7.4
  |Description = http 500 error
+
  |Description = Blank Page (http500error) when using uncategorized pages
  |Status      = open
+
  |Status      = closed
 
}}
 
}}
  
 
== Problem ==
 
== Problem ==
I've installed dpl on MW 1.13 alpha on a Linux box. If I use now DPL as Parser extension I get an http 500 error when the dpl-syntax is correct. If I write a wrong dpl syntax I get I proper page with the dpl warning. I've tried the same code on a Windows/xampp an there it works fine. Any idea where to start? --[[User:Paulf|Paul]] 08:44, 5 June 2008 (CEST)
+
I've installed DPL on MW 1.13 alpha on a Linux box with mysql 5.0.45 and PHP 5.2.4. Now if I use DPL as parser extension I get an http 500 error on clicking "save page" only when I use the dpl-syntax with namespace. I.E. <nowiki><dpl>namespace=</dpl></nowiki> doesn't work but <nowiki><dpl>category=¦</dpl></nowiki> works fine. I've applied the special database dpl view via phpmyadmin like descriped in [[DPL:Manual_-_Source_and_Installation]] Chapter 3. It still doesn't work. On my XAMPP on Windows it all works fine. Any idea? --[[User:Paulf|Paul]] 20:57, 9 June 2008 (CEST)
  
  
 
== Reply ==
 
== Reply ==
 +
The query for uncategorized pages uses a special table which must be present in the database. Maybe the rights of the mediawiki user do not allow to create or access that table?. Have a look in the source and the docs. Try to run the resulting query (can be shown with debug=3) manually with a sql client. If that works, DPL should also work.
 +
 +
[[User:Gero|Gero]] 22:19, 10 June 2008 (CEST)
 +
 +
Solved with creating the dbview
 +
--[[User:Paulf|Paul]] 09:15, 17 June 2008 (CEST)

Latest revision as of 09:15, 17 June 2008

Description: Blank Page (http500error) when using uncategorized pages
Extension / Version: DPL   /   1.7.4
Type / Status: Bug   /   closed

Problem

I've installed DPL on MW 1.13 alpha on a Linux box with mysql 5.0.45 and PHP 5.2.4. Now if I use DPL as parser extension I get an http 500 error on clicking "save page" only when I use the dpl-syntax with namespace. I.E. <dpl>namespace=</dpl> doesn't work but <dpl>category=¦</dpl> works fine. I've applied the special database dpl view via phpmyadmin like descriped in DPL:Manual_-_Source_and_Installation Chapter 3. It still doesn't work. On my XAMPP on Windows it all works fine. Any idea? --Paul 20:57, 9 June 2008 (CEST)


Reply

The query for uncategorized pages uses a special table which must be present in the database. Maybe the rights of the mediawiki user do not allow to create or access that table?. Have a look in the source and the docs. Try to run the resulting query (can be shown with debug=3) manually with a sql client. If that works, DPL should also work.

Gero 22:19, 10 June 2008 (CEST)

Solved with creating the dbview --Paul 09:15, 17 June 2008 (CEST)