(SyntaxError: Unexpected end of input) when I click any link under the administration block. ver. 2.8.1

(SyntaxError: Unexpected end of input) when I click any link under the administration block. ver. 2.8.1

by Jerry Milliken -
Number of replies: 1

Hi folks, I could not find anything that matched MY situation in the forums or on google so this was the next step. I either get a blank page or the error the below when I try to enter the admin section for anything. My site has been up for 2 months with no problems until now. The only change I made in the admin section before the error started, was remove a person from manager role.

 

 

SyntaxError: Unexpected end of input    at Object.parse (native)    at Object.Y.namespace.parse (/xxx/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:24483:18)    at BRANCH.ajaxProcessResponse (/xxx/theme/yui_combo.php?m/1427388214/block_navigation/navigation/navigation-debug.js:658:33)    at Y.Subscriber._notify (/xxx/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:13680:35)    at Y.Subscriber.notify (/xxx/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:13709:24)    at Y.CustomEvent._notify (/xxxxxx/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:13372:17)    at Y.CustomEvent._procSubs (http:// xxxxxxxxx/xxx//theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:13498:36)    at Y.CustomEvent.fireSimple (xxx//theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:13465:18)    at Y.CustomEvent._fire (http:// xxxxxxxxx/xxx/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:13447:29)    at Object.ET.fire (/xxx//theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1427388214/mcore-debug.js:14600:22)


I also now get the following error at the end of the debug report.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84 bytes) in /home/ xxxxxxxxx/xxx/ xxxxxxxxx/xxx/lib/dml/mysqli_native_moodle_database.php on line 1084

 

I have been trying to come up with some information for days now. Thanks for any and all input.

Jerry

Average of ratings: -
In reply to Jerry Milliken

Re: (SyntaxError: Unexpected end of input) when I click any link under the administration block. ver. 2.8.1

by Ken Task -
Picture of Particularly helpful Moodlers

Think I'd try to address this:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84 bytes)

That says php allocation for PHP script memory usage is just a little short of what it needs - 84 bytes more ... which is also related to what it says first: Unexpected end of input.

134217728 bytes is 128M. 

which is the default for most PHP installs:

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M

Increase the 128M above to 150M (that value is a guess) and restart apache.

Then 'try it again'. smile

'spirit of sharing', Ken