Forum Support

 
Advanced Search


[1]

Offline jazzmellod
Free Member
Posts: 45
Posted on: 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
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: 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.
Logged

Offline jazzmellod
Free Member
Posts: 45
Posted on: May 10, 2016, 01:55:36 PM

How do I do that, I am going to need a little guidance.
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: 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?
Logged

Offline jazzmellod
Free Member
Posts: 45
Posted on: May 11, 2016, 09:01:19 AM

No I have not updated in awhile, where are the updates?
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: 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.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.012 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.