Post by KeithM » Thu Oct 05, 2017 5:31 pm

Hi all

not often i need help but am going around in circles here. I am used to fighting joomla and not so much OC. Updated my site from 1.5 to 3 yesterday with the latest build available. Followed the instructions for 1.5 to 3 as written by OC. I note the 2 files not to upload do not exist in the install anyway so I have my originals in place which are not 0kb!

I can log into the backend OK and do "stuff" and all my parts and customers are there but the front end just says "Error: A theme has not been assigned to this store!" - Obvious fix right? - Wrong!!

Template is assigned, I've uploaded a new template and assigned that but still the same message. folder is /catalog/view/theme and have default, yoocolor and Zmaxcart.

The install was via the upgrade path which completed without errors and I deleted the install folder.

I have moved the storage folder outside of public as the backend requested and that cleared that message.

In the error log error.txt in that storage folder/logs is the following which may be the cause:
2017-10-05 8:12:42 - PHP Notice: Undefined index: token in /home/sites/controlsystemsonline.co.uk/public_html/admin/controller/extension/theme/theme_default.php on line 135
2017-10-05 8:12:42 - PHP Notice: Undefined index: token in /home/sites/controlsystemsonline.co.uk/public_html/admin/controller/extension/theme/theme_default.php on line 140
2017-10-05 8:12:42 - PHP Notice: Undefined index: token in /home/sites/controlsystemsonline.co.uk/public_html/admin/controller/extension/theme/theme_default.php on line 145
2017-10-05 8:12:42 - PHP Notice: Undefined index: token in /home/sites/controlsystemsonline.co.uk/public_html/admin/controller/extension/theme/theme_default.php on line 148
2017-10-05 8:12:42 - PHP Notice: Undefined index: token in /home/sites/controlsystemsonline.co.uk/public_html/admin/controller/extension/theme/theme_default.php on line 150
those lines are from 133:

Code: Select all

		$data['breadcrumbs'][] = array(
			'text' => $this->language->get('text_home'),
			'href' => $this->url->link('common/dashboard', 'token=' . $this->session->data['token'], true)
		);

		$data['breadcrumbs'][] = array(
			'text' => $this->language->get('text_extension'),
			'href' => $this->url->link('extension/extension', 'token=' . $this->session->data['token'] . '&type=theme', true)
		);

		$data['breadcrumbs'][] = array(
			'text' => $this->language->get('heading_title'),
			'href' => $this->url->link('extension/theme/theme_default', 'token=' . $this->session->data['token'] . '&store_id=' . $this->request->get['store_id'], true)
		);

		$data['action'] = $this->url->link('extension/theme/theme_default', 'token=' . $this->session->data['token'] . '&store_id=' . $this->request->get['store_id'], true);

		$data['cancel'] = $this->url->link('extension/extension', 'token=' . $this->session->data['token'] . '&type=theme', true);

although that may be a red herring - I'll let you guys advise on that. any ideas would be appreciated. Thanks.

Newbie

Posts

Joined
Tue Feb 04, 2014 7:29 pm

Post by bumcarks » Fri Oct 06, 2017 2:19 am

$data['action'] = $this->url->link('extension/theme/theme_default', 'user_token=' . $this->session->data['user_token'] . '&store_id=' . $this->request->get['store_id'], true);

$data['cancel'] = $this->url->link('marketplace/extension', 'user_token=' . $this->session->data['user_token'] . '&type=theme', true);

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by KeithM » Fri Oct 06, 2017 4:37 pm

bumcarks wrote:
Fri Oct 06, 2017 2:19 am
$data['action'] = $this->url->link('extension/theme/theme_default', 'user_token=' . $this->session->data['user_token'] . '&store_id=' . $this->request->get['store_id'], true);

$data['cancel'] = $this->url->link('marketplace/extension', 'user_token=' . $this->session->data['user_token'] . '&type=theme', true);
Thank you, I'll give that a go. It only happens when I select a second theme, could be that that setup is corrupt or not compatible as it's an upgrade from 1.5.

Newbie

Posts

Joined
Tue Feb 04, 2014 7:29 pm
Who is online

Users browsing this forum: No registered users and 8 guests