score:2
Accepted answer
The problem is probably related to the permissions of the JSON file you created. Check if it has read permissions (for everyone, not only the file's owner).
If not (which is probably the case), put this at the end of your PHP function creating the file, under fclose($out)
:
chmod($tmpFile, 0644); # Read/write for file owner, read for everyone else
It needs to be readable by everyone since JavaScript is executed client-side and not server-side.
Source: stackoverflow.com
Related Articles
- HighCharts Stock Chart error code 18
- Getting error 'Cannot read property 'document' of undefined' while importing exporting.js (to export highchart charts)
- highchart with angular and ionic framework error
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- Highcharts error #13 while instantiating highchart on ajax call
- Error while creating the chart using highchart
- Highchart xAxis label click jquery error
- Getting error 'Cannot read property 'document' of undefined' (to export highchart charts)
- Alias "ext.highcharts.HighchartsWidget" is invalid error in yii highchart
- Highchart chart synchronisation showing console error while using highstock.js
- Error on Highchart import within mocha unit test
- Why is Highchart loaded twice in my rails app ? (Uncaught Highcharts error #16)
- Error while plotting data in rchart using HighChart
- highchart Series giving error inside while loop in php
- Error dynamically adding a highchart
- Strange character in the Highstock source code
- ionic3 highchart shows error during build
- Why does my Highchart look different when I transfer my code from Jsfiddle to my server?
- How to fix HighChart Error #20?
- I had follow someone code samples and try apply to my HighChart program but I can't get it work at all
- Highchart redraw is throwing error Uncaught TypeError: Cannot read property 'length' of undefined(…)
- Highchart error make the whole page breakdown
- Column based Highchart drilldown series assign color code to each column
- Highchart data does not start with 0 gives error
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Error in ordering the X axis in Highchart
- Highchart doesn't show the graph : error adding javascript array in series
- Highchart React not rendering heat map after refresh its throwing error
- Highchart org chart type error with ionic application
- Error: Data source must be a URL for refresh | console error | javascript | Highcharts
- Highcharts SVG accessibility
- How to remove white space around HighChart
- Activity gauge High Chart with Range option
- Highcharter annotation on date x-axis not working - R
- Getting Custom GeoJSON File To Work In HighMaps
- Highcharts set numberformat for decimals as comma
- Setting the width of a single bar in Highcharts
- Reports with parameter working fine independently but not functional in cockpit (composite document)
- Adding intraday option to highcharts
- Highcharts: yAxis duration in hours resets every 24h
- Would it be possible to use Highchart to make a graph with no charts, but only corresponding numbers?
- Creating Highcharts with Angular using Highcharts >= 5.0.0 and highcharts-ng >= 1.0.0 using a ChartFactory
- highcharts x-axis for 1 year displays tick/label of year +1
- Interpolate or use a variable inside a string in javascript
- programatically change the color of a highcharts spline series?
- How do I change the style of the inner part enclosed by the lines(polar) chart created with highcharts?
- combine column and splines highcharts using mysql
- Updating the axis of a highcharts chart object using jquery after inital render (django)
- Is it possible to style columnrange highchart to change color when data is below 0?
- Dragging annotations to the left edge is causing issues