Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

After some trials and tribulations we're proud to announce the Beta Database. The database should be an exact copy of the production database running on a beefier machine.

Against the spirit of Google, beta means beta, and not "unsupported" or "don't sue us". It means that:

All changes on the Beta Database will be lost, as it is only temporary.

The database is a copy of PerlMonks as of the 24th of September. Please don't post real questions there and also don't post answers there. It will be wiped whenever a new copy of the real PerlMonks database is loaded into it.

As we're moving from MySQL 4 to MySQL 5, there are bound to be some queries and pages that don't work anymore. ambrus thankfully has already found two such instances (MySQL 5 is very picky about the order of implicit JOINs and LEFT JOINs). Please go there, check that everything is as you expect, and reply here with the pages you find that are not working.

The test program

For regression testing, I'm using the following program. It would be nice if your bug reports used a similar program to verify the bug or that the bug got fixed. Please also check that the bug does not also occur with the normal PerlMonks site :).

#!/opt/perl/bin/perl5.10.0 use strict; use Test::WWW::Mechanize; use Test::More; use vars qw($beta $production $login $pass); ($login,$pass) = @ARGV; my @tests = <DATA>; chomp @tests; plan tests => 4+ 2*@tests; my %mech = ( beta => { url => '', mech => Test::WWW::Mechanize->new(), }, production => { url => '', mech => Test::WWW::Mechanize->new(), }, ); for my $site (sort keys %mech) { my $m = $mech{$site}->{mech}; my $url = $mech{$site}->{url}; $m->get("${url}node=109"); $m->submit_form( with_fields => { user => $login, passwd => $pass, }, ); $m->content_like(qr!Hey\.\s*Glad you're back!i, "Logged in as '$lo +gin'") or $m->save_content(''); $m->content_unlike(qr!Oops!i, "Correct password") or $m->save_content(''); }; for my $url (@tests) { for my $site (sort keys %mech) { my $u = $mech{$site}->{url} . $url; my $m = $mech{$site}->{mech}; $m->get($u); $m->content_unlike( qr/Server Error\s*\(Error ID/, "[$site] No + error on $url" ); $m->save_content('log.html'); }; }; __DATA__ node=The+Monastery+Gates node=Message+Inbox node=Patch+lister node=Recently+Active+Threads;nnt-as-of=2008-08-21

Known bugs

  1. The linked /css/common.css is not found. This is because common.css does not live in the database and I don't want to mess with the global RewriteRules just for testing.
  2. The beta website isn't as responsive as it could be because it runs as a CGI instead of using mod_perl.
Thanks for helping us test,
Co-Rion for the gods

Update: Removed link to as Google found it and the script doesn't exist anymore.

In reply to Open beta test of the new database by Co-Rion

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (10)
    As of 2018-06-25 12:41 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (126 votes). Check out past polls.