Shape 5

Joomla Templates => Aluma Photography - October - Club => : jazzmellod May 10, 2016, 07:39:29 AM



: Parse error on page..can not get into my web site.
: jazzmellod May 10, 2016, 07:39:29 AM
I am getting the error below whenever try to enter my web-site.


Parse error: parse error, expecting `'('' in H:\hshome\dtlphoto\darrintoddlittlephotography.com\templates\aluma_photography\index.php(1) : regexp code(1) : eval()'d code(6) : regexp code(1) : eval()'d code on line 588


: Re: Parse error on page..can not get into my web site.
: mikek May 10, 2016, 01:47:18 PM
Hello,

None of that code in the error message is actually part of the template. It is either being inserted by an extension or something has maliciously inserted it. You can try replacing the template's index.php file with the one attached which is a fresh copy, make a backup of your existing one first though.


: Re: Parse error on page..can not get into my web site.
: jazzmellod May 10, 2016, 01:55:36 PM
How do I do that, I am going to need a little guidance.


: Re: Parse error on page..can not get into my web site.
: mikek May 11, 2016, 07:16:01 AM
Hello,

You would need to connect with your server via ftp. Each host a little different, so your host should have instructions on how to connect with an ftp client, such as filezilla. Your host may also have a file manager in the admin section of your account on their server. You would copy the index.php file to your local machine as a backup and then upload the copy I attached.

The code you pasted looks very suspicious to me. Have you kept your Joomla install and extensions up to date on version updates for security?


: Re: Parse error on page..can not get into my web site.
: jazzmellod May 11, 2016, 09:01:19 AM
No I have not updated in awhile, where are the updates?


: Re: Parse error on page..can not get into my web site.
: mikek May 11, 2016, 10:15:07 AM
Hello,

If you haven't updated your Joomla in a while you have left your site open to hacks due to out dated security. I don't know what version of Joomla you are running, but in the more recent versions of Joomla you can update Joomla from Components/Joomla Update. However, if your site has already been hacked simply updating the site will not change much, you would need to clean the entire site or ask your host to restore it to a backup from an earlier date before upgrading.

You can also find updates directly from joomla.org. You would have to contact any third party extensions you are using to see if they have updates and what the procedure is in updating their products.