Author Topic: No access to admin area  (Read 7779 times)

pixeljuggler

  • Newbie
  • *
  • Posts: 2
    • View Profile
No access to admin area
« on: March 21, 2008, 07:07:48 pm »
I keep getting the below error when trying to access the admin section. Would appreciate any help. Did a search in the support forum an noticed someone had the same problem, tried following the instructions you provided for this person, though there is no longer a .htaccess file in the root for the download.

Fatal error: Maximum execution time of 30 seconds exceeded in /home/******/public_html/imagehosting/classes/Statistics.php on line 86

TurnKey Admin

  • Administrator
  • *****
  • Posts: 64
    • View Profile
Re: No access to admin area
« Reply #1 on: March 21, 2008, 07:11:30 pm »
Try this open upload\classes\Statistics.php
Find
Code: [Select]
if(!preg_match('~^[0-9]{4}-[0-9]{2}-[0-9]{2}$~', $this->dates['start']))
{
$this->dates['start'] = date('Y-m-07');
}
Change to
Find
Code: [Select]
if(!preg_match('~^[0-9]{4}-[0-9]{2}-[0-9]{2}$~', $this->dates['start']))
{
$this->dates['start'] = date('Y-m-08');
}

pixeljuggler

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: No access to admin area
« Reply #2 on: March 22, 2008, 10:27:19 pm »
I keep getting the same error, changing the date didn't do anything. Any other ideas?

Tags:
     

    SMF spam blocked by CleanTalk