Flightguy123 Posted October 10, 2013 Report Share Posted October 10, 2013 Hey all, I am getting the following error Open Flash Chart JSON Parse Error [syntax Error] Error at character 0, line 1: 0: <br /> on all of the charts on my website, as well as on the admin panel I am unable to view the airports list, routes list and pilots list. I have tried installing and updating repeatedly. Any help to resolve the problem would be much appreciated! Happy simming! 1 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 10, 2013 Administrators Report Share Posted October 10, 2013 Did you rename your charts folder when the flash chart exploit was first found? If so you need to change the name back and either remove the exploit file or update it. Quote Link to comment Share on other sites More sharing options...
Flightguy123 Posted October 10, 2013 Author Report Share Posted October 10, 2013 I am not sure what file was moved, this is from the new install on the phpvms.net website Its also not just the charts but most of the jquery i think. The Pilots list, airports list and routes list does not bring up anything, it loads and displays 0. Thanks for the help, Ada Quote Link to comment Share on other sites More sharing options...
Flightguy123 Posted October 18, 2013 Author Report Share Posted October 18, 2013 *Gentle Bump* The admin panel tables are working however I was unable to get the Open Flash Charts to work. I have the PHPvms install from the website, the most current one. Any help is much appreciated Thanks, Ada Quote Link to comment Share on other sites More sharing options...
pedroportugal Posted October 18, 2013 Report Share Posted October 18, 2013 the same error for me. Quote Link to comment Share on other sites More sharing options...
pedroportugal Posted October 20, 2013 Report Share Posted October 20, 2013 *Gentle Bump* The admin panel tables are working however I was unable to get the Open Flash Charts to work. I have the PHPvms install from the website, the most current one. Any help is much appreciated Thanks, Ada any help? lol Quote Link to comment Share on other sites More sharing options...
steve Posted October 21, 2013 Report Share Posted October 21, 2013 The admin panel tables are working however..... Hi, Can you explain how you got the table working again.... it is driving me mad. I have searched and tried various solutions without success Steven Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 22, 2013 Administrators Report Share Posted October 22, 2013 Looking at the aav site, it would be hard to diagonse from the forum here, it is obvious by the url's that the system has been altered. I would suggest looking into how you are parsing the url's to the necesarry library functions for the charting. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 22, 2013 Administrators Report Share Posted October 22, 2013 @steve - all I can see on your site is a database connection error at this time. Quote Link to comment Share on other sites More sharing options...
Flightguy123 Posted October 22, 2013 Author Report Share Posted October 22, 2013 AAv is not PHPvms, sorry should have clarified, www.skywardsva.com. Also for the tables, it just started to work one day after a certain number of reinstalls Thanks again, Ada Quote Link to comment Share on other sites More sharing options...
steve Posted October 23, 2013 Report Share Posted October 23, 2013 hi Simpilot, sorry the url you are looking at is most likely to my old site. I am currently using www.net-flyer.net Thanks for taking the time to try and look at my issue. Steven Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 23, 2013 Administrators Report Share Posted October 23, 2013 @steve I can see that the charts are not working -> http://www.net-flyer...ex.php/finances <- and I can also see that it seems the files are there for the library -> http://www.net-flyer...hp-ofc-library/ <- (btw - you really should block access to the folder) From the outside it looks like it should be working. That is about all I can see from what I can see. I would check your error logs for the server and if you have not already enable error logging within phpVMS and check the logs after you try to use a page with a chart and see what is showing up. It may be that there is no data being provided, or corrupted data being provided and the chart library doesn't know what to do with it. @Flightguy - The same things seem present on your site. @Both - What version are you using or better yet where are you getting it from? Quote Link to comment Share on other sites More sharing options...
steve Posted October 27, 2013 Report Share Posted October 27, 2013 Thanks for looking, apologies for the slow response, hate it when real responsibilities get in the way of my hobbies. Anyway, I am using the latest version of the download, sourced from the downloads section of the PHPVMS website. Just to be sure I re-downloaded a fresh copy and reinstalled the package, same results. I guesssome of the issues may be related to the php version, i am using 5.4.20? Could it be the MySQL version? Thanks for any and all help given. Steven Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 28, 2013 Administrators Report Share Posted October 28, 2013 @Steve - php 5.4.x is going to cause you some headaches as there are some functionality within the core of phpVMS that was built upon the 5.3.x platform that needs updating to fully migrate to 5.4 but there are some work arounds in the fourm depending on exactly what error you run into. I would highly suggest getting your download for the system from the github version, namely the 935 tag and then removing the file completly or applying the patch to the ofc_upload_image.php file that was the source of the recent exploit. You can find that download here -> https://github.com/n...phpVMS/releases Quote Link to comment Share on other sites More sharing options...
loplo Posted December 3, 2013 Report Share Posted December 3, 2013 I'm getting the Open Flash Chart JSON Parse Error [syntax Error] Error at character 0, line 1: 0: <br /> Erorr on charts. I think my hosting provider just updated the PHP. PHP version 5.4.22 Any workaround on this? Quote Link to comment Share on other sites More sharing options...
loplo Posted December 21, 2013 Report Share Posted December 21, 2013 anyone?! Quote Link to comment Share on other sites More sharing options...
Dorian33 Posted February 23, 2016 Report Share Posted February 23, 2016 Sorry for answering this post more than 2 years after the last answer, but I had the same problem, and the only solution that really works that I found was to put my website's PHP version in 5.3. It doesn't work anymore from 5.4. Dorian Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 28, 2016 Administrators Report Share Posted February 28, 2016 Sorry for answering this post more than 2 years after the last answer, but I had the same problem, and the only solution that really works that I found was to put my website's PHP version in 5.3. It doesn't work anymore from 5.4. Dorian You can find the fix for it here -> https://github.com/DavidJClark/phpvms_5.5.x/commit/319f8b35c4ac7b4c9eb5b56457662c122f844db3 Quote Link to comment Share on other sites More sharing options...
Matos Posted October 11, 2017 Report Share Posted October 11, 2017 solution: http://php.net/manual/en/language.oop5.decon.php update the files in the folder: /core/lib/php-ofc-library I did this, and now running on version 7 of PHP. Quote Link to comment Share on other sites More sharing options...
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.