Jump to content

PHP Warning: session_start()......HELPPPP!!!


Recommended Posts

Posted

Hello guys!

We have an very big problem(s) on my phpvms pages. (Actually admin panel)

Here is our admin panel error_logs (first 20 lines):

10-Feb-2015 23:48:10 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Feb-2015 23:48:10 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Feb-2015 23:48:11 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Feb-2015 23:48:11 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[12-Feb-2015 00:40:46 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
--------------------------
12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_LTCO.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_RKSI.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_EBBR.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_OTHH.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_miles_flown.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_VTCC.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_NWWW.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_ENGM.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_LTFJ.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_get_airport_ESSA.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
[12-Mar-2015 23:34:02 Europe/Helsinki] PHP Warning: unlink(/home/birgenai/public_html/v1/core/cache/phpvms_total_flights.cache) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /home/birgenai/public_html/v1/admin/modules/Maintenance/Maintenance.php on line 220
--------------------------
[15-Mar-2015 19:21:46 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[17-Mar-2015 22:58:58 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[17-Mar-2015 22:58:58 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:00:07 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:00:08 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:00:08 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:00:08 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:00:08 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:02:02 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:02:02 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[22-Mar-2015 01:02:02 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
---------------------------------------
[07-Apr-2015 01:31:53 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Apr-2015 23:59:50 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Apr-2015 23:59:51 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Apr-2015 23:59:53 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[10-Apr-2015 23:59:59 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[11-Apr-2015 00:00:00 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[11-Apr-2015 00:00:06 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[11-Apr-2015 00:00:07 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[11-Apr-2015 00:00:07 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:24 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:24 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:24 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:25 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:25 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:25 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:25 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[13-Apr-2015 02:24:25 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
--------------------------------------------

Total lines 1248.

Main problems are listed below.

  • Time Out errors on every PIREP accepting/rejecting or deleting.
  • Entering to admin panel, we are getting a Time Out or HTTP 500 error.
  • We have an PIREP Filling Error when sending a PIREP after the flight with using smartCARS. (It's not a client problem. It was a Web-Side problem)
  • I can't access to my web page sometimes. I'm getting a HTTP 500 or Time Out error.
  • I get an 503 error in all pages and admin panel when I wanted to make a change in Admin Panel.
  • I can"t log'n to my site in first try. I'm entering my username and password then clicking to Login, I'm getting this error:

Fatal error: Class 'CodonEvent' not found in /home/birgenai/public_html/core/modules/Login/Login.php on line 151

I'm also tried this solutions. Listed below.

  • I'm reuploaded phpvms files. It doesn't work.
  • I'm tried to close VaCentral connection. So, I closed but it doesn't work.
  • I'm tried to decrease database size. It doesn't work.

How I try anymore? Please help me ASAP. I'm so embarrassed to my VA Management and CEO. Please ASAP!

Thank you very much!

  • Administrators
Posted

Have you enabled phpVMS debugging, if so what errors are you seeing?

What are the newest errors in the server error log? The ones shown above really do not tell much of a story.

I tried going to your site and get a 503 error on about every third page load, which I believe is more of a server resource issue than a software issue.

Posted

Have you enabled phpVMS debugging, if so what errors are you seeing?

What are the newest errors in the server error log? The ones shown above really do not tell much of a story.

I tried going to your site and get a 503 error on about every third page load, which I believe is more of a server resource issue than a software issue.

:D Sorry. I've limited inernet connection last week. Yes, I'm already enabled debug mode in local.config.php

There is one error_log avail. and it's in the admin folder. Here is the last logs.

[27-Apr-2015 22:05:54 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130
[27-Apr-2015 22:05:54 Europe/Helsinki] PHP Warning: Invalid argument supplied for foreach() in /home/birgenai/public_html/v1/admin/modules/PIREPAdmin/PIREPAdmin.php on line 130

I can't find another error_logs in our server. Where else can I find?

Sorry for late answer. Thanks!

Posted

Hi guys,

We are turned on the debug mode and debug mode still running over 15 days. So, what can I find the results of debug. Or, Where is the debugs?

Thanks!

Posted

Hello again!

I finded newest error_log in smartCARS folder. I think there was an MySQL Problem. Can you help me?

Thanks!'

[29-Apr-2015 09:25:57 Europe/Helsinki] PHP Fatal error:  Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95 (2013)</b></font>]<br />[<font color=000000></font>]</font><p>
 </blockquote><hr noshade color=dddddd size=1>
 thrown in /home/birgenai/public_html/v1/core/classes/ezdb/ezdb_mysql.class.php on line 99
[29-Apr-2015 09:29:45 Europe/Helsinki] 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' (11) (2002)</b></font>]<br />[<font color=000000></font>]</font><p>
 </blockquote><hr noshade color=dddddd size=1>
 thrown in /home/birgenai/public_html/v1/core/classes/ezdb/ezdb_mysql.class.php on line 99
[29-Apr-2015 09:30:04 Europe/Helsinki] 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' (11) (2002)</b></font>]<br />[<font color=000000></font>]</font><p>
 </blockquote><hr noshade color=dddddd size=1>
 thrown in /home/birgenai/public_html/v1/core/classes/ezdb/ezdb_mysql.class.php on line 99
[29-Apr-2015 09:37:05 Europe/Helsinki] PHP Fatal error:  Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95 (2013)</b></font>]<br />[<font color=000000></font>]</font><p>
 </blockquote><hr noshade color=dddddd size=1>
 thrown in /home/birgenai/public_html/v1/core/classes/ezdb/ezdb_mysql.class.php on line 99
[01-May-2015 01:32:35 Europe/Helsinki] PHP Parse error:  syntax error, unexpected ',' in /home/birgenai/public_html/v1/core/modules/Registration/Registration.php on line 171
[01-May-2015 01:32:50 Europe/Helsinki] PHP Parse error:  syntax error, unexpected ',' in /home/birgenai/public_html/v1/core/modules/Registration/Registration.php on line 171
[01-May-2015 01:33:05 Europe/Helsinki] PHP Parse error:  syntax error, unexpected ',' in /home/birgenai/public_html/v1/core/modules/Registration/Registration.php on line 171
[01-May-2015 01:33:35 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_IF, expecting T_FUNCTION in /home/birgenai/public_html/v1/core/modules/Registration/Registration.php on line 166
[01-May-2015 01:33:50 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_IF, expecting T_FUNCTION in /home/birgenai/public_html/v1/core/modules/Registration/Registration.php on line 166

  • Administrators
Posted

The first part of the log looks like the mysql server was down or could not be reached at some point in time.

There should be server logs available in your cpanel if they are not in the root of your site, or your host should be able to supply them.

I really think that you may want to look at a different hosting platform with all the 503 errors and mysql server being down, among other things. It looks like your site is having some permissions issues on the server as well right now.

post-198-0-37187600-1431219772_thumb.png

Posted

The first part of the log looks like the mysql server was down or could not be reached at some point in time.

There should be server logs available in your cpanel if they are not in the root of your site, or your host should be able to supply them.

I really think that you may want to look at a different hosting platform with all the 503 errors and mysql server being down, among other things. It looks like your site is having some permissions issues on the server as well right now.

post-198-0-37187600-1431219772_thumb.png

Hi simpilot,

All file permissions set to CHMOD 777. ;)

Thanks!

  • Administrators
Posted

Hi simpilot,

All file permissions set to CHMOD 777. ;)

Thanks!

Not a file permissions error, read the errors closely. The file_put_contents command is disabled which is denying you use of it. The site is not available at all now.

post-198-0-36175500-1431304039_thumb.png

Posted

They are destroyed own sites. They will not benefit from PHPVMS.

There's nothing we can do. This system 21st century technology. What more do they want?

  • Administrators
Posted

They are destroyed own sites. They will not benefit from PHPVMS.

There's nothing we can do. This system 21st century technology. What more do they want?

I have no idea what this means......

Posted

I have no idea what this means......

You're right about that because I already have no idea. I helped to they about designing own VA Site. But they are broke it own site. And they called me to resolve the problems. Then, I opened this topic to here. But they acted impatiently and they destroyed the site. There is nothing to do.

As I said earlier, the error can occur in any system. The important thing is to be patient in order to achieve a solution.

Finally, Thanks simpilotgroup (David) to all helps and tips. After all, our own pages running smoothly. :wub:

Thanks!

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