[Xerte] Re: Moodle authentication patch gives blank screen
Robert Chalmers
robert at chalmers.com.au
Wed Nov 2 01:23:54 GMT 2011
Still trying with this.
In summary.
1. I can now login to Xerte via my Moodle set up. But I can do nothing else.
2. I can open management.php, and it displays reasonably correctly and the top left logo.jpg shows
http://your-english-success.com/xerte/website_code/images/xerteLogo.jpg
3. If I try to login on the management console, it dumps me back to the index.php
4. index.php does not display correctly, ie, the logo is a broken-image icon at
http://your-english-success.com/xerte/{{site_logo}}
So - I can not now disable .htaccess, unless it's a database setting? Renaming the .htaccess file makes no difference.
So it looks like something is getting badly lost in this exercise.
I'd love to get this going for teachers, but it's proving to be a mine field.
Is there a repository of the _latest_ code somewhere? Given that you say I have an outdated config.php file, there are probably others.
Back to the drawing board it seems.
Robert
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Wednesday, November 02, 2011 10:29 AM
To: Xerte discussion list
Subject: [Xerte] Re: Moodle authentication patch gives blank screen
in management.php, turn the .htaccess setting to false
On Wed, Nov 2, 2011 at 12:23 AM, Robert Chalmers <robert at chalmers.com.au> wrote:
> – now it works. Leastwise I can login. However – if you accidentally put
> index.php/ you get a very strange result.
>
> Thanks. I’ve been breaking my brain over this for days now.
>
>
>
> Now back to one of the original problems.
>
>
>
> Oops! This link appears to be broken
>
>
>
> http://your-english-success.com/xerte/edit_1
>
>
>
> I can create a project, but when I select [Edit] or anything else, I get the
> url shown above. Nothing on the end, like .php or what ever.
>
>
>
>
>
> robert
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
> Sent: Wednesday, November 02, 2011 9:25 AM
> To: Xerte discussion list
> Subject: [Xerte] Re: Moodle authentication patch gives blank screen
>
>
>
> <snip/>
>
> 2. I know it’s doing something, because in config.php I set the debug
> switch to 1, and it gives me a php error.
>
> // Error reporting fix - please set
> ini_set('error_reporting', 1);
> and this reports
> ‘Fatal error: Call to undefined function _debug() in F:\My
> Websites\yes\xerte\website_code\php\database_library.php on line 110’
>
> I’ve reset that back to 0, as it provided no insights at all.
>
>
>
> Your version of config.php is out of date. It should contain something like
> the following :
>
>
>
> if(!function_exists('_debug')) {
>
> function _debug($string) {
>
> @file_put_contents('/tmp/debug.log', $string, FILE_APPEND);
>
> }
>
> }
>
>
>
>
>
> Pasting the above into config.php should fix your problem.... You might wish
> to change '/tmp/debug.log' to something else - e.g. 'c:\debug.log' if you're
> on Windows.
>
>
>
>
>
> thanks
>
> 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
More information about the Xerte
mailing list