I managed to get moodle to install last night, after multiple failed attempts.
The site loads, and allows me to login. However I've come across a few teething problems. I have searched these forums for solutions, and tried them... but the problems still exist.
Menu not expanding
The admin menu on left side, doesn't expand when I click on 'My Profile Settings' or 'Site Administration', the others don't expand or contract either... but these ones are already expanded.
I found a solution on this forum which said to include the following code in the javascript.php file
if (windowobj) { after windowobj = window.open(fullurl,name,options); and close the brachet before return false;
I've put this at the very end of the javascript.php file, after "Minify::serve('Files', $options); die();}"
When I did this and uploaded it, the error went and the menu worked fine... now I've come back to fix further problems.... the menu problem is back. I've tried re uploading the javascript.php file, but can't seem to find a solution.
I have copied the error given on internet explorer too, if that helps?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)Timestamp: Sat, 22 Jan 2011 18:35:06 UTC
Message: Syntax errorLine: 1Char: 1Code: 0URI: http://sitename.hpta.co.uk/lib/javascript.php?file=%2Flib%2Fjavascript-static.js&rev=160
Message: Syntax errorLine: 1Char: 1Code: 0URI: http://sitename.hpta.co.uk/lib/javascript.php?file=%2Flib%2Fswfobject%2Fswfobject.js&rev=160
Message: 'M.util' is null or not an objectLine: 321Char: 1Code: 0URI: http://sitename.hpta.co.uk/
Message: 'M.util' is null or not an objectLine: 1Char: 188Code: 0URI: http://sitename.hpta.co.uk/lib/javascript.php?file=%2Fblocks%2Fdock.js&rev=160
Message: Object doesn't support this property or methodLine: 1Char: 126Code: 0URI: http://sitename.hpta.co.uk/lib/javascript.php?file=%2Fblocks%2Fnavigation%2Fnavigation.js&rev=160
Message: Object expectedLine: 1Char: 1Code: 0URI: http://sitename.hpta.co.uk/
___________________________________________________
The other error, shows on login screen and the index.php page.
Notice: Undefined property: stdClass::$frontpage in /homepages/xx/useraccount/htdocs/moodle/index.php on line 144
$frontpagelayout = $CFG->frontpage;
The page calls the following:
require_once($CFG->dirroot .'/course/lib.php'); require_once($CFG->libdir .'/filelib.php');
I have found a few people with this error on their sites, but no solutions... can someone point me in the right direction?
Thanks