Jump to content
Flightguy123

Error on charts and on the admin panel

Recommended Posts

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!

  • Like 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

*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

Share this post


Link to post
Share on other sites

*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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

@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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×