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:
those lines are from 133: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
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);