Re: Unable to register at Wiki

From: Date: Tue, 17 Mar 2015 16:09:08 +0000
Subject: Re: Unable to register at Wiki
References: 1 2 3 4  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-20860@lists.php.net to get a copy of this message
Hannes Magnusson wrote: > On Tue, Mar 17, 2015 at 7:36 AM, Christoph Becker <cmbecker69@gmx.de> wrote: >> Hannes Magnusson wrote: >> >>> You likely did not answer the " Which email address do you have to >>> mail now? " question correctly. >> >> Maybe the question should be slightly reworded, e.g. > > I'd love help to reword this :D > > https://github.com/php/web-wiki/blob/master/dokuwiki/inc/lang/en/register.txtÙË@×?ëÈÈú<ÍqUýj > > > https://github.com/php/web-wiki/blob/master/dokuwiki/inc/html.php#L1594 I'll see if I'll be able to submit a pull request later. I have some trouble getting the folder layout right for web-wiki and web-shared; for now I've quickly moved parts of the clones, so that it works. >>> I don't know why the error message doesn't show up when its wrong o.O >>> Maybe we broke something in the template? >> >> FWIW: I just sent an empty form, and there was no message shown, despite >> msg($lang['regmissing'], -1) is called, what should display "Sorry, you >> must fill in all fields.". > > Yeah... I don't know why the error message isn't showing. Maybe we > broke the templates or something with the customizations we've done. Indeed, it seems that an early commit[1] broke the display of any message, due to the exclusion of tpl_header.php which calls the important html_msgarea(). A very quick fix might be to insert the respective <?php html_msgarea() ?> in dokuwiki/lib/tpl/phpnet/main.php right below <!-- wikipage start --> Some styling for the respective classes (apparently, .error, .info, .success, .notify) would also be appropriate. [1] <https://github.com/php/web-wiki/commit/b189eb22dc5a13cf71e407797d62c3e18b0cdbe1> -- Christoph M. Becker

« previous php.webmaster (#20860) next »