[Xerte] Re: Blank Page in a Web installation
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue May 22 09:43:58 BST 2012
Do we need to put this fix in the new stuff, or is it superceded?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 21 May 2012 17:08
To: Xerte list
Subject: [Xerte] Re: Blank Page in a Web installation
If you View Source on the blank page is there anything there?
________________________________
From: jbroide at gmail.com
Date: Mon, 21 May 2012 09:08:05 -0300
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Blank Page in a Web installation
Hi
Ive installed the online toolkits on a web server.
Ive used the swithc.txt file as the index.php file
I had to change some lines, becouse there wehre some bugs. Ive got a blank page.
I am an not an expert in php, my achanges where done as a work arround.
First of all i found that the line
----------------------------------
" /*include $xerte_toolkits_site->php_library_path . "database_library.php";"
----------------------------------------------
was declared twice, so i commented the second one.
Second
I had to add and ELSE statement at the end of the script
because there was some situations where I got a blank page.
( The else is for the first IF statement
------------------------------------
"if((!isset($_POST["login"]))&&(!isset($_POST["password"]))){"
--------------------------------------
What i have added is>
---------------------------------
}
} else{
echo $buffer;
--------------------------------
I hope this will be usefull
Jose Broide
jbroide at gmail.com<mailto:jbroide at gmail.com>
--
José S.Broide
messenger: josebroide at hotmail.com<mailto:josebroide at hotmail.com>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120522/52071c46/attachment.html>
More information about the Xerte
mailing list