Difference between revisions of "Issue:Addlasteditor crashes new article"
From FollowTheScore
| Line 23: | Line 23: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | Take away "addlasteditor=true" and the save works. Then add "addlasteditor=true" again, and everything is fine. It's only for new articles. | ||
== Reply == | == Reply == | ||
Latest revision as of 21:16, 15 March 2010
| Description: | addlasteditor crashes when saving a new article |
| Extension / Version: | DPL / 1.8.9 |
| Type / Status: | Bug / open |
Problem
Edit a new article and add a DPL query that contains addlasteditor. Save. The page will crash on save, probably because there is no last editor yet. error_log says:
- [Mon Mar 15 16:12:26 2010] [error] [client nn.nn.nn.nn] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/w/extensions/Cite/Cite_body.php on line 658, referer: http://mysite/w/index.php?title=Template:Lasteditor&action=edit&redlink=1
Test case:
{{#dpl:
|namespace={{NAMESPACE}}
|titlematch={{PAGENAME}}
|skipthispage=no
|addlasteditor=true
|mode=inline
}}
Take away "addlasteditor=true" and the save works. Then add "addlasteditor=true" again, and everything is fine. It's only for new articles.