From: Dan F. <dfr...@cs...> - 2005-06-29 14:41:26
|
Leonard mckinley wrote: >I recently tried some of the themes available in my wiki user login, >and one of them PHPWiki was not happy with. I immediately started >getting these errors, and get them every time I log into wiki with my >user login: > > lib/plugin/RateIt.php (In template 'navbar') (In template 'top') (In >template 'body') (In template 'html'):230: Warning[2]: extract(): First >argument should be an array > > Fatal error: Call to undefined function: _get_pageid() in >/var/www/sggl/htdocs/sgglwiki/lib/plugin/RateIt.php on line 544 > >Effectively this wiki user login is useless. > >How do I reset the active theme for my wiki user back to the default. I >do have wiki admin priviledge by the way, but I don't see how that >helps me. > > Do you have access to the source code? I think one way to dodge this would be to put return ""; right at the top of the run() method in lib/plugin/RateIt.php. This would skip the ratings plugin altogether, and allow the user to change the theme back. Not sure. You might try it. Dan |