[Xerte] Re: White Screen Of Dead
Jose Diaz
xt4mhz at yahoo.com
Tue Dec 6 16:57:33 GMT 2011
Hi David.
I just changed to "require_once" sentence.
About the XOT version, I'm using the published here:
http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip
It's published at the main webpage.
Do I have to use another version?
Thanks for all this help.
José.
--
Lic. José Gregorio Díaz Unda.
Asesor de Tecnologías de Información y Comunicación.
Tel.: 58.0412.5518085
Skype: xt4mhz
Web: www.usb.ve - jgdu.blogspot.com
________________________________
De: David Goodwin <david at palepurple.co.uk>
Para: Jose Diaz <xt4mhz at yahoo.com>; Xerte discussion list <xerte at lists.nottingham.ac.uk>
Enviado: Martes, 6 de diciembre, 2011 11:25:09
Asunto: Re: [Xerte] White Screen Of Dead
>
>I did: root at pc06074-linux:/var/www/xot# grep -r database_library.php *
>
>
>And the results:
>
>
>
>config.php: require_once(dirname(__FILE__) . '/website_code/php/database_library.php');
>index.php: include $xerte_toolkits_site->php_library_path . "database_library.php";
>integration.txt: include $xerte_toolkits_site->php_library_path . "database_library.php";
>moodle_config.txt: require_once(dirname(__FILE__) . '/website_code/php/database_library.php');
>webctlink.txt: include
$xerte_toolkits_site->php_library_path . "database_library.php";
>
>
>As I can see, the "index.php" file (before switch.txt) is including "database_library.php". So, I commented and now I can log in but with some visual glitches:
>
>
Don't comment it out - just change include's to require_once's.
e.g. require_once $xerte_toolkits_site->php_library_path . "database_library.php";
1.jpg : Log in page. There is some info missing under the "Sign In" button.
>2.jpg and 3.jpg : After success login. the Projects and Templates are at the bottom of the page.
>4.jpg : After log out. Again, there is some info missing under the "Sign In" button.
>5.jpg : I tried to log in with any not existent user and the info under the "Sign In" button came up. No "notice" message at the upper left corner of the page.
>
>
>Is this solution acceptable? ... I mean, commenting that line?
I suspect there's a PHP error taking place (within the html source?) which is screwing up the rendering/layout.
>
>Why could be happening about visual mismatch of the page?
See above.
What version of toolkits are you using? I thought the latest version didn't have these problems.
David.
Pale Purple Ltd. (Company No: 5580814)
'Business Web Application Development and Training in PHP'
http://www.palepurple.co.uk
Office: 0845 0046746 Mobile: 07792380669
Follow us on Twitter: @PalePurpleLtd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111206/83ca539a/attachment.html>
More information about the Xerte
mailing list