Jump to content

mjrbradley66

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by mjrbradley66

  1. Hi,

    My website was working absolutely fine until two weeks ago when all of a sudden I got a number of errors which has resulted in preventing any users from getting on their account. " You need to be logged in to access this feature". New pilots can still register but no current pilots can access their account. I will attach some pictures below. I contacted my hosting company and they said it isn't a server issue but a PHP issue. The error log seems to suggest line 101:86720947_176762750288963_19678979184593486491057_913189235767594_249915669977287

    [02-Feb-2020 03:54:23 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/sunflyvi/public_html/lib/skins/ocean_blue/frontpage_main.php on line 99
    [02-Feb-2020 10:14:30 UTC] PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sunflyvi/public_html/core/classes/ezdb/ezdb_mysqli.class.php on line 101
    [02-Feb-2020 10:14:31 UTC] PHP Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (2002)</b></font>]<br />[<font color=000000><b></b></font>]</font><p>
    </blockquote><hr noshade color=dddddd size=1>
    thrown in /home/sunflyvi/public_html/core/classes/ezdb/ezdb_mysqli.class.php on line 106
    [02-Feb-2020 10:14:43 UTC] PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sunflyvi/public_html/core/classes/ezdb/ezdb_mysqli.class.php on line 101
    [02-Feb-2020 10:14:43 UTC] PHP Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (2002)</b></font>]<br />[<font color=000000><b></b></font>]</font><p>
    </blockquote><hr noshade color=dddddd size=1>
    thrown in /home/sunflyvi/public_html/core/classes/ezdb/ezdb_mysqli.class.php on line 106

     

    If anyone has any suggestions on how to sort this, then that would be gratefully appreciated.

    Thanks

    Matthew

  2. Hi,

    I installed the exam center pluggin for my VA this morning and it had lots of error messages however I found a forum post on here which helped me with that, but now I have encountered more that I don't know how to fix on the page. (see first pic). Then I went to the Admin panel version and there were tones more but all strict standards errors. (2 pics below first)

    22812619_311216436024981_935939318_o.png

     

    Code for this:

    22811327_311218169358141_695696950_n.png

    Admin Part Issue

    22773363_311216442691647_261498239_n.png

     

    22811633_311216446024980_615051016_n.png

    Code for Admin errors

    22835245_311221982691093_1502736804_n.pn

     

    22782011_311223949357563_1364487536_n.pn

     

     

    22773547_311225132690778_1655237889_n.pn

     

    22773524_311226519357306_2098854497_n.pn

     

    22834744_311227326023892_1996901320_n.pn

     

    22811341_311228282690463_232048263_n.png

    Any help would be most appreciated.

    Thanks

    Matthew

  3. Hi,

    I am currently struggling to get the maps in different parts of my website to work.

    I have got it to work on the homepage by following a tutorial but I tried the same thing on the Fleet Tracker, ACARS Map and "My Flight Map" in pilot center, but they didn't work.

    If anyone has any suggestions they would be gratefully appreciated.

    Thanks

    Matthew

  4. Hi, This is PHP V5.5 on my website currently but I haven't installed it yet. I looked how to upgrade to 5.5 but most people don't recommend doing that. Also if I am using .TPL files will this still work the way it should as if it had .PHP files.

    Thanks for all the help you are giving.

    Matthew

    20821241_284537332026225_79274481_o.png?

    This is my PHP 5.5

×
×
  • Create New...