TechAttax Posted May 22, 2015 Report Share Posted May 22, 2015 Help! The first thing I need to talk about is the website crashing. The site runs fine until I go to the admin panel. It then takes about 5 mins to load the admin panel The second thing I get error messages when I try to change a setting. It happens with everything I can change from adding new aircraft to my fleet to adding a new base. Another bug I get is when looking at my bookings - http://puu.sh/hXse4/c2a07e8233.png that is the error i get. EDIT: I am now being told that users are getting a socket error when trying to sign up. Quote Link to comment Share on other sites More sharing options...
alpyeni1 Posted May 25, 2015 Report Share Posted May 25, 2015 Hey, Did you tried to clean the cache? Also, If you get any Time Out, HTTP 406 and 500 erros, please disconnect your phpVMs from VaCentral if you don't use it. How I do this? Go to your local.config.php in core/ folder. Open it and paste this settings to anywhere. /* VACentral */ Config::Set('VACENTRAL_ENABLED', false); If it doesn't work, follow this instructions a. Open your dashboard.tpl in admin/templates folder. b. Delete all lines and paste this codes. Remember to create backup! <h3>VA Stats:</h3> <table width="100%"> <tr> <td valign="top" width="33%" nowrap="nowrap"> <strong>Users Online: </strong><?php echo count(StatsData::UsersOnline()); ?><br /> <strong>Guests Online: </strong><?php echo count(StatsData::GuestsOnline()); ?> </td> <td valign="top" width="33%" nowrap="nowrap" > <strong>Total Pilots: </strong><?php echo StatsData::PilotCount(); ?><br /> <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br /> <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?> </td> <td valign="top" width="33%" nowrap="nowrap" > <strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?><br /> <strong>Total Schedules: </strong><?php echo StatsData::TotalSchedules(); ?><br /> <strong>Flights Today: </strong><?php echo StatsData::TotalFlightsToday();?> </td> </tr> </table> <h3>Pilot Reports for the Past Week</h3> <div align="center" style="width=98%"> <div id="reportcounts" align="center" width="400px" > <img src="<?php echo fileurl('/lib/images/loading.gif');?>" /><br /><br /> Loading... </div> </div> <?php /* Added in 2.0! */ $chart_width = '800'; $chart_height = '200'; /* Don't need to change anything below this here */ ?> <script type="text/javascript" src="<?php echo fileurl('/lib/js/ofc/js/swfobject.js')?>"></script> <script type="text/javascript"> swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>", "reportcounts", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo adminaction('/dashboard/pirepcounts');?>"}); </script> With this code, you're detaching all of the connections between phpVMS and vaCentral. Try this solutions. If it doesn't work, we spoke again about this problem. Note: Paste your error_log if you have in your FTP. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.