Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xian

Pages: [1]
1
Ideas / Use of the Browser History API
« on: May 16, 2016, 11:42:21 am »
Given that Feng is ajax driven it would make a TON of sense to update the URL and browser history.  We know that generated emails will send direct URLs to tasks or whatever so there's no reason that the JS can't update the URI with these direct links making it easier for colleagues to simply copy/paste their browser url in an email or IM to share a given task or note, or whatever.

I imagine this would be rather low hanging fruit too.

https://css-tricks.com/using-the-html5-history-api/

2
Feng Office 3 / Re: Error 500: Internal server error (overview tab)
« on: 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 :(

3
Feng Office 3 / Error 500: Internal server error (overview tab)
« on: 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 :/

Pages: [1]