Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

parse error on fresh installed oscommerce


contremaitre

Recommended Posts

Posted

Hi,

 

I have this error :

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in [...]/admin/includes/column_left.php on line 50

 

The line 50 says :

foreach ( $cl_box_groups as &$group ) {

I did not modify my osc files.

Any idea?

Thanks

Posted

Well have you tried to remove the '&' sign and see what it does - you could always download a fresh copy and check your files again - the ampersand sign should not be there.

"The doorstep to the temple of wisdom is a knowledge of our own ignorance."

  • 4 weeks later...
Posted

Recent PHP versions don't allow some forms of parameter addressing, such as &$group. AFAIK, the solution is simply to remove the &.

Archived

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

×
×
  • Create New...