Got an issue with a few users. The error when they upload is as follows;
Fatal error: Maximum execution time of 30 seconds exceeded in /home/.keegan/darthgus/westozwarlords.net/roster/lib/wowdb.php on line 729
I have modded php.ini and made the time out to 300 seconds, same error, just takes longer to come up.
Line 729 is this function in the wowdb.php; specifically in the middle of the while statement. Seems to be getting stuck in this section for some reason.
/**
* Formats quest data to be inserted to the db
*
* @param array $quest_data
* @param int $memberId
* @param string $zone
* @return array
*/
function make_quest( $quest_data, $memberId, $zone, $slot )
{
$quest = array();
$quest['member_id'] = $memberId;
//Fix quest name if too many 'quest' addons cause level number to be added to title
while(substr($quest_data['Title'],0,1) == '[')
{
$quest['quest_name'] = ltrim(substr($quest_data['Title'],strpos($quest_data['Title'],']')+1));
}
if(!isset($quest['quest_name']))
{
$quest['quest_name'] = $quest_data['Title'];
}
$quest['quest_tag'] = $quest_data['Tag'];
$quest['quest_index'] = $slot;
$quest['quest_level'] = $quest_data['Level'];
$quest['zone'] = $zone;
if( isset($quest_data['Complete']) )
$quest['is_complete'] = $quest_data['Complete'];
else
$quest['is_complete'] = 0;
return $quest;
}
Any help? I have attached one of the offending charprofiler.lua that it gets stuck on also. Is using the latest CP, and roster is 1.7.3 with hotfix first posted.