From: Dan F. <dfr...@cs...> - 2005-06-29 15:42:51
|
Leonard mckinley wrote: >Dan Frankowski: > > >>>I recently tried some of the themes available in my wiki user login, >>>and one of them PHPWiki was not happy with. How do I reset the >>>active theme for my wiki user back to the default. >>> >>> >>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. >> >> > >Thanks! Oddly there was no Preferences button with the wikilens theme >(the one causing problems), but I found the right URL to surf to and >was able to change my theme back to the default. > >However, silly me, I tried one of the other profiles (the one right >below wikilens, whichever that is), and now I'm locked out with: > > Fatal PhpWiki Error > > lib/DbaDatabase.php (In template 'body') (In template 'html'):54: >Fatal[256]: >dba_open(/var/www/sggl/htdocs/sgglwiki/pages/wiki_session.gdbm,w): >Driver initialization failed for handler: gdbm: Can't be writer > > * file: /var/www/sggl/htdocs/sgglwiki/pages/wiki_session.gdbm > * mode: w > * handler: gdbm: > * ?> > >I did chmod this file to 666 just to try and get past it, but it still >fatals with this same error. > >I swear if you help me get back to the default theme, I'll never change >the theme again! ;-) > > I'm afraid I don't know what theme that is, what that error in the code is, or what version of PhpWiki you're running, or what your configuration is (e.g., what back-end you're using for pages). Thus, I'm afraid I don't have time to look into it now. I just answered before because I had a quick suggestion. Dan |