Jump to content

Recommended Posts

Posted

Hi everyone, please can someone help me with this issue in moodle,

 

If i go to my notifications under site administration i get "this page cannot be displayed" i then cannot access anything else on the moodle site, i have to reboot my ubuntu server to get moodle working again

 

debugging is on but not telling me anything is wrong

Posted
My installation is on windows, from that experience I would say that it is probably timing out. Have a look at your php config file and increase the timeout time and try again. Alternatively in windows you can do an update via cmd instead. I imagine that similar can be done in ubuntu
Posted

version 2.7

 

To update do I just download a new copy and copy over the config file?

 

Thanks for your responses so far i'm desperate to get this working asap

Posted
version 2.7

 

To update do I just download a new copy and copy over the config file?

 

Thanks for your responses so far i'm desperate to get this working asap

 

No, an update isn't as simple as a config file change. There are core files that need changing.

 

I would read this:

Upgrading - MoodleDocs

 

PLEASE backup your mysql Database and the files you currently have.

Posted

got a little bit further with this and uploaded the standard theme which it kept wanting to remove after I deleted from FTP a while ago, now getting this error message on the plugin check

 

Notice: Undefined variable: in /var/www/moodle/message/lib.php on line 25

 

Notice: Trying to get property of non-object in /var/www/moodle/message/lib.php on line 25

 

Warning: require_once(/eventslib.php): failed to open stream: No such file or directory in /var/www/moodle/message/lib.php on line 25

 

Fatal error: require_once(): Failed opening required '/eventslib.php' (include_path='/var/www/moodle/lib/zend:/var/www/moodle/lib/pear:.:/home/ZendFramework-1.12.3/library') in /var/www/moodle/message/lib.php on line 25

Posted
got a little bit further with this and uploaded the standard theme which it kept wanting to remove after I deleted from FTP a while ago, now getting this error message on the plugin check

 

I would delete everything and start over with your original backup.

 

Warning: require_once(/eventslib.php): failed to open stream: No such file or directory in /var/www/moodle/message/lib.php on line 25

 

is very self explanatory. It's saying that it cannot find the file (eventslib.php) which is referenced on line 25.

Posted

Are you sure it's the exact file? I know whenever I encounter errors like this it's something very blind and infront of me.

 

Have you tried starting from your backup all over again?

Posted

yes I backed up the database before upgrading, new issue now once files have been untarred and admin page wants me to upgrade to 2.7.1 I get the same behaviour as before, have to do a reboot to get back to the same process, which makes me think its something else crashing it out maybe with Ubuntu server.

 

erro log shows this:

 

 

[11-Aug-2014 12:25:01 Europe/London] PHP Fatal error: Call to undefined function Èâ§^u() in /var/www/moodle/lib/xmldb/xmldb_constants.php on line 32

 

The page looses its CSS styling before allowing me to continue to the error

Posted
yes I backed up the database before upgrading, new issue now once files have been untarred and admin page wants me to upgrade to 2.7.1 I get the same behaviour as before, have to do a reboot to get back to the same process, which makes me think its something else crashing it out maybe with Ubuntu server.

 

erro log shows this:

 

 

[11-Aug-2014 12:25:01 Europe/London] PHP Fatal error: Call to undefined function Èâ§^u() in /var/www/moodle/lib/xmldb/xmldb_constants.php on line 32

 

The page looses its CSS styling before allowing me to continue to the error

 

That function looks wrong.

 

Can you tell me what that line actually is?

Posted

the bold line

 

// ==== First, some constants to be used by actions ====

/** Default flags for class */

define('ACTION_NONE', 0);

/** The invoke function will return HTML */

define('ACTION_GENERATE_HTML', 1);

/** The invoke function will return HTML */

define('ACTION_GENERATE_XML', 2);

/** The class can have subaction */

define('ACTION_HAVE_SUBACTIONS', 1);

Posted (edited)
the bold line

 

Just a question, are you 100% sure you have all the files? I'm wondering if it's referencing certain files which have correctly been placed. I had an error very similar not too long ago where I thought I had been uploading all the files but it didn't do it.

 

Also,

 

Backup that file and replace it with this:

 

http://fossies.org/linux/moodle/lib/xmldb/xmldb_constants.php

Edited by Bradlys
Posted

yes all the files are defo there, I untar'd it from Linux command line, still no joy with the replaced file

 

I'm now convinced this has something to do with my Ubuntu server, or the way lamp or zend or something similar is setup, seems weird how a server restart gets the site operational again albeit stuck in a loop

Posted
I'm not wasting anymore time on this now, going to reinstall my server with windows IIS 8 to host moodle onto - Ubuntu server seems too complex when issues occur
Posted
I'm not wasting anymore time on this now, going to reinstall my server with windows IIS 8 to host moodle onto - Ubuntu server seems too complex when issues occur

 

Setting up LAMP is fantastic if you get it working. But I'd agree, this doesn't seem like a Moodle issue. Goodluck with it :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...