contremaitre Posted October 2, 2013 Posted October 2, 2013 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
♥mommaroodles Posted October 2, 2013 Posted October 2, 2013 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."
contremaitre Posted October 3, 2013 Author Posted October 3, 2013 I just download version 2.3.3.4 from http://www.oscommerce.com/Products and the & sign is really there ?! I also tried to remve the & sign but I have another error in another file with the same & sign.
contremaitre Posted October 3, 2013 Author Posted October 3, 2013 Actually it was a PHP version issue.
MrPhil Posted October 31, 2013 Posted October 31, 2013 Recent PHP versions don't allow some forms of parameter addressing, such as &$group. AFAIK, the solution is simply to remove the &.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.