Jump to content

Recommended Posts

Posted

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
  • Administrators
Posted

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.

Posted

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

Posted
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

  • Administrators
Posted

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.

Posted

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

  • Administrators
Posted

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

Posted

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

  • Administrators
Posted

@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

  • 1 month later...
Posted

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?

  • 3 weeks later...
  • 2 years later...
Posted

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

  • Administrators
Posted

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

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...