Post by Tfic » Wed Apr 12, 2017 6:55 pm

Ik krijg een 500 error op mijn website, de melding die ik krijg:

PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /public_html/system/storage/modification/catalog/controller/product/manufacturer.php

Als ik de code bekijk staat er:

Code: Select all

foreach ($results as $result) {
			if (is_numeric(utf8_substr($result['name'], 0, 1))) {

					'quantity'  => $result['quantity'],
					'stockstatusid'  => $result['stock_status_id'],
					'button_cart'	=> (($result['quantity'] < $hb_oosn_product_qty) && (($result['stock_status_id'] == $hb_oosn_stock_status) or ($hb_oosn_stock_status == 0)))? $this->language->get('button_notify_button'):$this->language->get('button_cart'),
					'notify_enable'	=> (($result['quantity'] < $hb_oosn_product_qty) && (($result['stock_status_id'] == $hb_oosn_stock_status) or ($hb_oosn_stock_status == 0)))? true:false,
					
				$key = '0 - 9';
			} else {
				$key = utf8_substr(utf8_strtoupper($result['name']), 0, 1);
			}
Ik google al een tijdje rond, maar helaas tot op heden nog niet de oplossing gevonden. Hopelijk kunnen jullie me opweg helpen!

Newbie

Posts

Joined
Wed Apr 12, 2017 6:46 pm
Who is online

Users browsing this forum: No registered users and 78 guests