Jump to content

Website won't allow anyone to log in


mjrbradley66

Recommended Posts

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

Link to comment
Share on other sites

You may need to do a restore on your db, it may have gotten corrupted maybe by a bad update, or an incomplete update. If you are on a VPS or dedicated you can do that in cpanel yourself, if on shared hosting, you will need to contact your host about doing a db restore or reboot.

Link to comment
Share on other sites

  • Administrators

I think you need to contact your host, the message " 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" does not look like it can be fixed by someone other than your host

Link to comment
Share on other sites

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...