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
Hello,
when I use include_once on my account it works:
http://toolserver.org/~nosy/test.php
Cheers Marlen
On Wed, 4 Apr 2012, Ja Ga wrote:
Date: Thu, 5 Apr 2012 06:59:40 From: Ja Ga jaga_x_1@yahoo.com To: "toolserver-l@lists.wikimedia.org" toolserver-l@lists.wikimedia.org Subject: [Toolserver-l] use of include_once in PHP changed
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
_______________________________________________ Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
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.
Indeed it is. Thanks for pointing it out; I should have looked there before posting here; my apologies.
- Jason
________________________________ 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.
toolserver-l@lists.wikimedia.org