[Xerte] Re: White Screen Of Dead

David Goodwin david at palepurple.co.uk
Tue Dec 6 15:55:09 GMT 2011



> 
> 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/dc2e70e5/attachment.html>


More information about the Xerte mailing list