[Xerte] Re: White Screen Of Dead
David Goodwin
david at palepurple.co.uk
Tue Dec 6 17:35:21 GMT 2011
Yes, it makes sense. I suspect switch.txt (and some of the other .txt files) are just a bit out of date.
David.
On 6 Dec 2011, at 17:30, Jose Diaz wrote:
> Hey David.
>
> I just downloaded the SVN version from Google Code, enabled the "switch.txt" and edited it:
>
> 121 //include $xerte_toolkits_site->php_library_path . "database_library.php";
> 122 require_once $xerte_toolkits_site->php_library_path . "database_library.php";
>
> No visual glitches reported and I was able to login.
>
> Does it make sense if we ask to Pat include this change in "switch.txt" ?
>
> Pat ... what do you think?
>
> 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: Jose Diaz <xt4mhz at yahoo.com>
> Para: XERTE XERTE <xerte at lists.nottingham.ac.uk>
> Enviado: Martes, 6 de diciembre, 2011 12:27:33
> Asunto: [Xerte] Re: White Screen Of Dead
>
> 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
>
>
>
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
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/2530a3e2/attachment.html>
More information about the Xerte
mailing list