Steve Bartlett Posted August 26, 2014 Report Posted August 26, 2014 At the top of the Admin Center there is so supposed to that graph that shows how many Pireps were submitted each day, all I have is a box with this in it, how do I fix it:Open Flash ChartJSON Parse Error [syntax Error]Error at character 0, line 1:0: Quote
Members Vangelis Posted August 26, 2014 Members Report Posted August 26, 2014 Thats normal at some point it will come back Quote
freshJet Posted August 26, 2014 Report Posted August 26, 2014 It's because of the flash chart exploit, the flash file was deleted. Find the thread on here, Nabeel published a new version. Quote
Steve Bartlett Posted August 26, 2014 Author Report Posted August 26, 2014 The only thing I have been able to find is this, and that file is not even in there: "Delete the core/lib/ofc_image_upload.php file, or replace it with the one from the latest download. ofc_image_upload.php is something that's not even used. The rest of the library is just an interface to the charts, which are used internally, and no URL parameters are passed in." Quote
Steve Bartlett Posted August 26, 2014 Author Report Posted August 26, 2014 I was getting this on the Public profile page too, but that is now working, just the admin center now. Quote
Jose Conde Posted August 27, 2014 Report Posted August 27, 2014 If you have php 5.4 or php 5.5 is the solution to error is: Edit the file: /core/common/OFCharts.class.php. Search: protected function show_chart($title) { Change to: protected static function show_chart($title) { 1 Quote
Steve Bartlett Posted August 27, 2014 Author Report Posted August 27, 2014 It works, thank you very much! Quote
chilemugriento Posted September 3, 2014 Report Posted September 3, 2014 Thank you for this helpful tip. Any chance to solve this ? Best regards Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.