chrisjako Posted August 8, 2014 Posted August 8, 2014 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
iceman85 Posted August 8, 2014 Posted August 8, 2014 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
chrisjako Posted August 8, 2014 Author Posted August 8, 2014 Already tried that its set to 6000 seconds just for good measure! Still no joy though, no help or support form moodle.net either!
unixman_again Posted August 8, 2014 Posted August 8, 2014 Have you checked the proxy settings in Moodle? (Site admin > server > http).
chrisjako Posted August 8, 2014 Author Posted August 8, 2014 the moodle server itself is set to an exception in our smoothwall so it doesn't need proxy, plus its has its own external IP
FN-GM Posted August 8, 2014 Posted August 8, 2014 What version are you on? Have you tried running an update for moodle?
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 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
Bradlys Posted August 11, 2014 Posted August 11, 2014 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.
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 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
Bradlys Posted August 11, 2014 Posted August 11, 2014 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.
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 it is there in the lib folder as requested with all the correct permissions - stupid PHP open your bloody eyes!!!
Bradlys Posted August 11, 2014 Posted August 11, 2014 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?
Bradlys Posted August 11, 2014 Posted August 11, 2014 Doing backup and fresh install now The backup should have been done before hand... As Moodle might have changed a few database entries.
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 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
Bradlys Posted August 11, 2014 Posted August 11, 2014 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?
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 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);
Bradlys Posted August 11, 2014 Posted August 11, 2014 (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 August 11, 2014 by Bradlys
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 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
chrisjako Posted August 11, 2014 Author Posted August 11, 2014 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
Bradlys Posted August 11, 2014 Posted August 11, 2014 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now