Forum Support

Shape 5
November 27, 2020, 12:00:10 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Parse error on page..can not get into my web site.  (Read 1229 times)
jazzmellod
Jr. Member
**
Offline Offline

Posts: 45



« 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
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 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

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jazzmellod
Jr. Member
**
Offline Offline

Posts: 45



« Reply #2 on: May 10, 2016, 01:55:36 PM »

How do I do that, I am going to need a little guidance.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 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

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jazzmellod
Jr. Member
**
Offline Offline

Posts: 45



« Reply #4 on: May 11, 2016, 09:01:19 AM »

No I have not updated in awhile, where are the updates?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #5 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

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.