Hi,
We just finished uploading Fastway_plugin_1_1_1 onto our Opencart 1.4.4 and after we installed it via the backend we went to [edit] and got a blank page with the following error message:
Fatal error: Call to a member function https() on a non-object in /home/www/mydomain.com.au/store/admin/controller/shipping/fastway.php on line 46
Does anyone know what this means and how can we fix it.
Thanks
We just finished uploading Fastway_plugin_1_1_1 onto our Opencart 1.4.4 and after we installed it via the backend we went to [edit] and got a blank page with the following error message:
Fatal error: Call to a member function https() on a non-object in /home/www/mydomain.com.au/store/admin/controller/shipping/fastway.php on line 46
Does anyone know what this means and how can we fix it.
Thanks
I've just installed this too and got the same error. To fix it I updated the fastway.php file to match the other examples in the directory. I tried to attach the updated file to the post, but I can't attach a .php file so you'll have to update yourself.
I'm brand new to opencart and php so I'm making a fix based on the other example files - whether it works or not, who knows! All I can say is that it doesn't cause errors any more in the admin page.
Find the line in the admin\controller\shipping\fastway.php file starting with "//" as indicated and update with the following line.
Line 17
// $this->redirect($this->url->https('index.php?extension/shipping'));
$this->redirect(HTTPS_SERVER . 'index.php?route=extension/shipping');
Line 44
// $this->redirect($this->url->https('index.php?extension/shipping'));
$this->redirect(HTTPS_SERVER . 'index.php?route=extension/shipping');
Line 50
// 'href' => $this->url->https('extension/shipping'),
'href' => HTTPS_SERVER . 'index.php?extension/shipping',
Line 56
// 'href' => $this->url->https('shipping/fastway'),
'href' => HTTPS_SERVER . 'index.php?shipping/fastway',
Line 61
// $this->data['action'] = $this->url->https('shipping/fastway');
$this->data['action'] = HTTPS_SERVER . 'index.php?shipping/fastway';
Line 63
// $this->data['cancel'] = $this->url->https('extension/shipping');
$this->data['cancel'] = HTTPS_SERVER . 'index.php?extension/shipping';
I'm brand new to opencart and php so I'm making a fix based on the other example files - whether it works or not, who knows! All I can say is that it doesn't cause errors any more in the admin page.
Find the line in the admin\controller\shipping\fastway.php file starting with "//" as indicated and update with the following line.
Line 17
// $this->redirect($this->url->https('index.php?extension/shipping'));
$this->redirect(HTTPS_SERVER . 'index.php?route=extension/shipping');
Line 44
// $this->redirect($this->url->https('index.php?extension/shipping'));
$this->redirect(HTTPS_SERVER . 'index.php?route=extension/shipping');
Line 50
// 'href' => $this->url->https('extension/shipping'),
'href' => HTTPS_SERVER . 'index.php?extension/shipping',
Line 56
// 'href' => $this->url->https('shipping/fastway'),
'href' => HTTPS_SERVER . 'index.php?shipping/fastway',
Line 61
// $this->data['action'] = $this->url->https('shipping/fastway');
$this->data['action'] = HTTPS_SERVER . 'index.php?shipping/fastway';
Line 63
// $this->data['cancel'] = $this->url->https('extension/shipping');
$this->data['cancel'] = HTTPS_SERVER . 'index.php?extension/shipping';
Hello;
I have installed this plugin. I am getting the admin Login screen come up each time I press 'Edit' to go into the shipping area of the admin to setup the rest of the settings, it says 'Invalid token session. Please login again.'
I have tried unticking the tokens in the admin settings, to see if it makes an difference. It only refresh the page when I try to go into the fastways 'edit'.
Does anyone know how to get around this, or why this may be happening.
Thank you
I have installed this plugin. I am getting the admin Login screen come up each time I press 'Edit' to go into the shipping area of the admin to setup the rest of the settings, it says 'Invalid token session. Please login again.'
I have tried unticking the tokens in the admin settings, to see if it makes an difference. It only refresh the page when I try to go into the fastways 'edit'.
Does anyone know how to get around this, or why this may be happening.
Thank you
http://australianwebsitesolutions.com.au Australian Website Hosting for Opencart Shopping sites- Serious Hosting for Serious Aussie Shopping Sites!
Looks like it might just need upgrading to opencart 149...
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
How can I go about doing this?
thanks
thanks
http://australianwebsitesolutions.com.au Australian Website Hosting for Opencart Shopping sites- Serious Hosting for Serious Aussie Shopping Sites!
Who is online
Users browsing this forum: No registered users and 4 guests