From: Platonides <platonides@gmail.com>
To: Ja Ga <jaga_x_1@yahoo.com>; toolserver-l@lists.wikimedia.org
Sent: Thursday, April 5, 2012 6:58 AM
Subject: Re: [Toolserver-l] use of include_once
in PHP changed
On 05/04/12 06:59, Ja Ga wrote:
> Now that Toolserver is coming back from the dead, none of my PHP reports
> are displaying content. See, for instance,
> http://toolserver.org/~jason/disambig_links.php.
>
> The content cuts out whenever the report uses an include_once statement,
> as the following:
>
> include_once("../sql/status/dab_last_good_run.php");
>
> Now, this report hasn't changed in ages, so does anyone know why these
> reports now fail to render content when they reach an include_once?
>
> Thanks,
> Jason
php -l ../sql/status/dab_last_good_run.php
> Errors parsing ../sql/status/dab_last_good_run.php
If we look at it:
> $dab_error = "CALL dab13_store_results(): Table 'u_jason_p.recent_dabs_update' doesn't exist";
> ame()'] = "0 seconds";
> $dab_proc_results['CALL dab_cleanup()'] = "0
seconds";
which is invalid php.