Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Weird problem!! Parse error


mes

Recommended Posts

Got 2 sites, and they were working perfect, then all of a sudden both of them on two different servers got exactly the same problem and I havent altered any files.

 

Now all I get is

 

Parse error: parse error, unexpected '.' in /catalog/includes/header.php on line 62???

 

weird, what could cause this?

 

I have compared the file to my backups and it hasnt changed!!

 

Thanks Guys, hope someone has an idea.

 

Cheers,

 

Mes

Link to comment
Share on other sites

 <td valign="middle"><?php echo '<a href="'../../index.htm'">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

That is the code that is causing the problem.

 

any ideas on what to change?

 

cheers,

 

mes

Link to comment
Share on other sites

 <td valign="middle"><?php echo '<a href="'../../index.htm'">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

That is the code that is causing the problem.

 

any ideas on what to change?

 

cheers,

 

mes

 

'<a href="../../index.htm">' .

Treasurer MFC

Link to comment
Share on other sites

Thanks Boxtel I have removed that now and it works, weird thing is it had worked like that for ages.

 

What could have changed on both servers to make the same error?

 

Also weirdly the permissions had been changed on my configure.php file, could this be due to a virus/hack attempt?

 

Not sure,

 

cheers fellas,

 

mes

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...