Jump to content
MakeWebGames

Recommended Posts

Posted

Well, I found out a lot of my login issues were actually because mod_sec with cPanel was enabled. Now that is disabled and there is this error

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/public_html/gym.php:2) in /home/public_html/globals.php on line 13 Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/gym.php:2) in /home/public_html/lib/basic_error_handler.php on line 39 - Critical Error A critical error has occurred, and page execution has stopped. Below are the details: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/gym.php:2) (2) Action taken: Line executed: /home/public_html/globals.php:114

I have a modified gym, but I have a feeling there might be something "globally" needed fixed.

Also, anyone know how to integrate mod_sec with mccodes? Just a security thing, but giving it what I can. Otherwise will try to research tomorrow.

Posted
<?php
   $macropage="gym.php";
   include "globals.php";
   if($ir['hospital']) { die("This page cannot be accessed while in hospital."); }
   $statnames=array(
   'Strength' => 'strength',
   'Agility' => 'agility',
   'Guard' => 'guard',
   'Labour' => 'labour');
   if(!$ir['jail'])
   {
   print "<h2>Sports Center</h2><hr width='100'>";
   }
   else
   {
     print "<h3>Jail Fitness</h3><hr />";
   }

   $ir['strank']=get_rank($ir['strength'],'strength');
   $ir['agirank']=get_rank($ir['agility'],'agility');
   $ir['guarank']=get_rank($ir['guard'],'guard');
   $ir['labrank']=get_rank($ir['labour'],'labour');
   $ir['strength']=number_format($ir['strength']);
   $ir['agility']=number_format($ir['agility']);
   $ir['guard']=number_format($ir['guard']);
   $ir['labour']=number_format($ir['labour']);
Posted

lol, it's paid up for a year, and they are helpful, but it's one of those overseas tech support situations when you using the chat feature. Me I'm usually to impatient to wait for a ticket response, lol.

What host would you suggest?

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.   Paste as plain text instead

  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.

×
×
  • Create New...