How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Jins M. N. Your Own Question
Jins M. N.
Jins M. N., Computer Support Specialist
Category: Computer
Satisfied Customers: 2478
Experience:  Qualified Computer Professional - 12+ years experience. Expert in Computer Hardware & Graphic Design
50064670
Type Your Computer Question Here...
Jins M. N. is online now
A new question is answered every 9 seconds

I need help getting my Joomla site back online. Its an emergency!

This answer was rated:

I need help getting my Joomla site back online. It's an emergency!
Hi, Thanks a lot for posting your query here. I am Jins here to assist you. Is this on on internet or on the local system ? If on internet please give me the site url. If on local system, which server you are using wamp or zamp ?

Regards
Jins
Customer: replied 3 years ago.
Internet - toptennisacademy.com
Okay Michelle, can you please give its administrator login details ?

regards
Jins
Customer: replied 3 years ago.
It won't let me access the admin panel in Joomla
Can you please give those details. I am getting the admin login screen. I need to try. If we can't login to admin section, can you please give the hosting and ftp login details. You can change it later after we fix the issue.

Regards
Jins
Customer: replied 3 years ago.
Joomla: admin
topten7
Customer: replied 3 years ago.
Here is the code from the Cpanel: It says the error is on line 56

* Creates a new instance of JDate representing a given date.
*
* Accepts RFC 822, ISO 8601 date formats as well as unix time stamps.
* If not specified, the current date and time is used.
*
* @param mixed $date optional the date this JDate will represent.
* @param int $tzOffset optional the timezone $date is from
*/
function __construct($date = 'now', $tzOffset = 0)
{
if ($date == 'now' || empty($date))
{
** $this->_date = strtotime(gmdate("M d Y H:i:s", time()))
return;
}

$tzOffset *= 3600;
if (is_numeric($date))
{
$this->_date = $date - $tzOffset;
return;
}

yes, you are right. It not allows to access admin panel also. Can you please give me the hosting cpanel and ftp login details ? I need to check some php files on your server.

Is this happened after joomla update or after installing some plugins ?


regards
Jins
Customer: replied 3 years ago.
Not sure about the update. We noticed the site was a mess and tried to update the code ourself.

It's inmotion hosting: topten7/topten77


cpanel:topten7/tennis2013
Hi Michelle, I fixed the error and your site is working fine now. Please do not forget to change the passwords you shared here.

If you are satisfied with my service, please give a positive rating on my answer. Then only I will get paid for my time and efforts. A good bonus will make me more happy.

Regards
Jins
Jins M. N. and 9 other Computer Specialists are ready to help you
Customer: replied 3 years ago.
Hey! I asked another question about the actual error that wasn't answered. Can you please tell me what you did so I can correct in the future?

Thanks.
Hi Michelle, The error occured because of date default time zone function in the date.php file in the Library->joomla->Utilities folder.

I added the code

date_default_timezone_set('America/New_York');

in the start of that php file and it sets the default time zone which removed that warning.


Regards
Jins

Related Computer Questions