Create a course = 'Either course id or category must be specified'
I am trying to add a course in Moodle. I add a category, full name, short name, summary, then try to save, the software asks for authentication, I enter my user id and password and the software says 'Either course id or category must be specified' without creating the course.
I am supposed to be an administrator, course creator and teacher. I dont understamd what is not working.
Please help
Thanks
Re: Create a course = 'Either course id or category must be specified'
Re: Create a course = 'Either course id or category must be specified'
I have the last version of moodle: http://elearning.powerfulmindworks.com/campus/
The self-registration is on.
Cheers.
Re: Create a course = 'Either course id or category must be specified'
I hope I am wrong
Re: Create a course = 'Either course id or category must be specified'
Many thanks. If I've been hacked... What can I do?
Cheers.
Re: Create a course = 'Either course id or category must be specified'
Re: Create a course = 'Either course id or category must be specified'
Re: Create a course = 'Either course id or category must be specified'
will give you some hints as to where to start doing that so your Moodle is "clean" again.
Re: Create a course = 'Either course id or category must be specified'
Thank you
This morning I had plenty of users that were unknown to me. I just deleted them. I changed the passwords for my website. I will close the self-registration option again. I just did a back-up of my elearning website via FTP. I told my web hosting provider that I had been hacked.
Now, it says:
- Find out when exactly was the site hacked.
- Look for any modified or uploaded files on your web server - look for oldest file that does not belong in Moodle.
- Check your server logs for any suspicious activity around that date or few hours before, such as strange page parameters, failed login attempts, command history (especially as root), unknown user accounts, etc.
[04-Mar-2009 02:32:53] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[04-Mar-2009 02:32:53] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[04-Mar-2009 02:32:53] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[09-Mar-2009 06:41:50] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:41:50] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:41:50] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[09-Mar-2009 06:42:00] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:42:00] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:42:00] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[09-Mar-2009 06:42:05] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:42:05] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:42:05] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[09-Mar-2009 06:42:07] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:42:07] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[09-Mar-2009 06:42:07] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[15-May-2009 13:00:15] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[15-May-2009 13:00:15] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[15-May-2009 13:00:15] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[15-May-2009 13:00:15] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[15-May-2009 13:00:18] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[15-May-2009 13:00:18] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[15-May-2009 13:00:19] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/help.php(1) : eval()'d code on line 1
[15-May-2009 13:00:19] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 15:57:00] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 15:57:00] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 15:57:00] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 15:57:03] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 15:57:03] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 15:57:03] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 16:01:39] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 16:01:39] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 16:01:39] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:35:44] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:35:44] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:35:44] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:02] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:36:02] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:02] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant port - assumed 'port' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Undefined index: port in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant path - assumed 'path' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant query - assumed 'query' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant path - assumed 'path' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant query - assumed 'query' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant path - assumed 'path' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant host - assumed 'host' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Use of undefined constant port - assumed 'port' in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:36:06] PHP Notice: Undefined index: dgu_wurl in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:38:15] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:38:15] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:38:15] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:39:32] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:39:32] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:39:32] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:40:00] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:40:00] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:40:00] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:40:21] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /home/powerfu1/public_html/elearning/campus/index.php(1) : eval()'d code on line 1
[08-Jun-2009 17:40:21] PHP Notice: Undefined index: dhhag in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
[08-Jun-2009 17:40:21] PHP Notice: Undefined variable: R9DB9E103E88D622316D42B508D6D11AB in /home/powerfu1/public_html/elearning/campus/theme/chameleon/pix/mod/data/field/date/mdl_utf.php(1) : eval()'d code(1) : eval()'d code on line 1
Anything suspicious?
Any of the enclosed php that should be checked?
Thanks
Re: Create a course = 'Either course id or category must be specified'
Re: Create a course = 'Either course id or category must be specified'
You are right. All my php are contaminated. Do you know a software that can clean the mess. Its always the same code at the beginning of each php.
Thanks
Re: Create a course = 'Either course id or category must be specified'
I don't know how to do it automatically; sorry. A similar thing happened to me on a wordpress site and I just went in all the files and deleted the stuff - mind you; I then upgraded anyway - as you say you are on the most recent version you might like to reinstall everything.