Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: antdickens on July 10, 2013, 05:08:30 PM
-
Hi All
I have had moodle up and running fine in a test environment.
Bur for some reason I have tried a fresh installation on a virgin sme system, the install went fine, but when a try add new users or courses etc I get error 500.
I can change themes, log in etc.
Not sure where to start looking.
Any ideas?
Thanks in advance
-
antdickens:
every time you have an error, the first things to do are:
- take a look in the logs (httpd's ones in your case)
- search the forums, the wiki, the documentation and bugzilla
- post a topic here with the error message
- file a bug (possibily) because "if it doesn't work out-of-the-box, it's likely a bug"
thank you
-
The best way to check the logs, I have found out, is to log into the Sever Manager Panel. View the log "messages". Then in a new tab, open your moodle or any problem application, recreate the problem, and then immediately refresh the log from your other tab.
I had an issue before where the log I was looking for got lost in DHCP leases and PPTP connections.
-
Hi
Thanks for your advice.
I have looked in the httpd log files through the sme server manager and there are no entries relating to moodle other than in the access log which does update each time I view a page, nothing about errors in that or any other http log file.
-
search the messages log file
follow wiki advice to enable displaying of php errors
-
Hi
Thanks for that
It appears the problem is down to the version of PHP installed
I need to either upgrade moodle or downgrade php
Least I now know which way to head
Thanks again
-
please report here the exact error message, thank you
-
here you go
Jul 11 12:06:57 bits httpd: PHP Fatal error: Call to undefined method MoodleQuickForm_hidden::MoodleQuickForm_hidden() in /opt/moodle/html/lib/pear/HTML/QuickForm/element.php on line 363
-
Latest Moodle requires a higher version of MySQL above SME's, how did you install?
-
antdickens
There are a number of supported Moodle versions (that are supported by Moodle).
There is also the old sme server contrib.
You need to choose the correct version that matches the characteristics of your server operating system ie mysql & php versions for example, rather than just install the "latest" version.
Read the Moodle site for details.
What version did you install ?
-
This is the Moodle server check page. I installed it as per the wiki.
Thanks
Environment
Check how your server suits current and future installation requirements
Moodle Version 1.9.2+ (Build: 20080910)
Server Checks
Name Information Report Status
moodle version 1.0 is required and you are running 1.9.2 OK
unicode must be installed and enabled OK
database mysql version 4.1.16 is required and you are running 5.1.69 OK
php version 4.3.0 is required and you are running 5.3.3 OK
php_extension iconv should be installed and enabled for best results OK
php_extension mbstring should be installed and enabled for best results OK
php_extension curl should be installed and enabled for best results OK
php_extension openssl should be installed and enabled for best results OK
php_extension tokenizer should be installed and enabled for best results OK
php_extension xmlrpc should be installed and enabled for best results OK
php_extension ctype should be installed and enabled for best results OK
php_extension pcre must be installed and enabled OK
-
Well that's a new spin. There is an error.
I will try to install per wiki into my VM. Won't happen until tomorrow morning, though.
What other contribs, addons, modifications do you have done to your SME install? Was it an upgraded server or CD ISO install?
I know there is a version of Moodle 2.0 that runs, but everything here on Contribs.org should work as posted. So I will work on that first before revising any wiki instructions.
-
Moving to Contribs section of the Forums.
-
moodle 196 - 198 is required to run on sme8 because of php5.3