Feng Forum

Support => Feng Office 3 => : xian May 11, 2016, 11:02:27 AM

: Error 500: Internal server error (overview tab)
: xian May 11, 2016, 11:02:27 AM
This is a mostly fresh install of 3.4.2 on a shared host Apache server.

In the Dev Inspector console I see the following:

ext-base.js?rev=2:10
GET /index.php?context={%222%22:[0],%223%22:[0]}&c…true&c=dashboard&a=main_dashboard&current=overview-panel&_dc=1462972918760
500 (Internal Server Error)

but immediately after that I see:
ext-base.js?rev=2:10
XHR finished loading: GET "/index.php?context={%222%22:[0],%223%22:[0]}&c…true&c=dashboard&a=main_dashboard&current=overview-panel&_dc=1462972918760".


If I open the XHR request in a new tab it loads fine, albeit disconnected from the CSS and JS of the main page.
I deleted autoloader.php and log.php and refreshed and this is what's in log.php:

Session "default" started at 2016-05-11T13:38:21+0000
#1 ERROR: Error: Use of undefined constant JSON_NUMERIC_CHECK - assumed 'JSON_NUMERIC_CHECK' in '/home2/keenanch/public_html/manager/application/layouts/website.php' on line 540 (error code:
#2 ERROR: Error: Use of undefined constant JSON_NUMERIC_CHECK - assumed 'JSON_NUMERIC_CHECK' in '/home2/keenanch/public_html/manager/application/layouts/website.php' on line 540 (error code:
Time since start: 4.39247298241 seconds

Given that the console shows that the request IS failing but then loading, maybe this is a JS timing issue? I've tried on 2 different computers on 2 different networks :/
: Re: Error 500: Internal server error (overview tab)
: xian May 11, 2016, 11:04:20 AM
For what it's worth using CODE tags triggers the "sorry you can't use external links" error when submitting a post :(