Page 1 of 1

Template error ...2 Column OC 140 Theme Series - Blue

Posted: Sat Apr 17, 2010 8:10 pm
by westernbees
hey guys. ..

I have followed every step as mentioned in installation notepad . But i get "Fatal error: Call to a member function http() on a non-object in catalog\controller\module\category.php on line 1 8"error as soon as i follow this step

Step 2 – catalog/controller/module/category.php
-----------------------------------------------
Put this code :


$this->data['text_home'] = $this->language->get('text_home');
$this->data['text_special'] = $this->language->get('text_special');
$this->data['text_account'] = $this->language->get('text_account');
$this->data['text_login'] = $this->language->get('text_login');
$this->data['text_logout'] = $this->language->get('text_logout');
$this->data['text_cart'] = $this->language->get('text_cart');
$this->data['text_checkout'] = $this->language->get('text_checkout');
$this->data['home'] = $this->url->http('common/home');
$this->data['special'] = $this->url->http('product/special');
$this->data['account'] = $this->url->https('account/account');
$this->data['logged'] = $this->customer->isLogged();
$this->data['login'] = $this->url->https('account/login');
$this->data['logout'] = $this->url->http('account/logout');
$this->data['cart'] = $this->url->http('checkout/cart');
$this->data['checkout'] = $this->url->https('checkout/shipping');

i have did this b4 with same template but never got this issue before ...

Can any one help me out... ?

Regards,
westernbees

Re: Template error ...2 Column OC 140 Theme Series - Blue

Posted: Mon Apr 19, 2010 8:19 am
by thermalzombie
Does this template work now with 1.4.7

I tried it with 1.4.6 and I got some errors on the menu hopfully somebody nice will release some themes for 1.4.7

Here is my 1.4.6 install
http://www.thermalzombie.com/opencart/

Re: Template error ...2 Column OC 140 Theme Series - Blue

Posted: Fri Apr 23, 2010 7:45 pm
by westernbees
any solution... ?

Re: Template error ...2 Column OC 140 Theme Series - Blue

Posted: Fri Apr 23, 2010 9:40 pm
by Qphoria
why not try searching the error "Call to a member function http()"

Re: Template error ...2 Column OC 140 Theme Series - Blue

Posted: Sat Apr 24, 2010 7:28 pm
by westernbees
didnt wrk

Re: Template error ...2 Column OC 140 Theme Series - Blue

Posted: Tue Apr 27, 2010 5:35 pm
by westernbees
i need a solution please....

Re: Template error ...2 Column OC 140 Theme Series - Blue

Posted: Tue Apr 27, 2010 10:51 pm
by gondalia
1. in all .php & .tpl files
FIND:
($this->url->https('
REPLACE WITH:
((HTTPS_SERVER . 'index.php?route=

2. in all .php & .tpl files
FIND:
$this->url->https('
REPLACE WITH:
(HTTPS_SERVER . 'index.php?route=

3. in all .php & .tpl files
FIND:
($this->url->http('
REPLACE WITH:
((HTTP_SERVER . 'index.php?route=

4. in all .php & .tpl files
FIND:
$this->url->http('
REPLACE WITH:
(HTTP_SERVER . 'index.php?route=

5. in all .php & .tpl files
FIND:
($url->https('
REPLACE WITH:
((HTTPS_SERVER . 'index.php?route=

6. in all .php & .tpl files
FIND:
$url->https('
REPLACE WITH:
(HTTPS_SERVER . 'index.php?route=

7. in all .php & .tpl files
FIND:
($url->http('
REPLACE WITH:
((HTTP_SERVER . 'index.php?route=

8. in all .php & .tpl files
FIND:
$url->http('
REPLACE WITH:
(HTTP_SERVER . 'index.php?route=

9. in all .php & .tpl files
FIND:
$this->load->helper('image');
REPLACE WITH:
$this->load->model('tool/image');

10. in all .php & .tpl files
FIND:
image_resize(
REPLACE WITH:
$this->model_tool_image->resize(

11. in admin .tpl files only. This will make the new admin tabs work
FIND:
class="tabs"
REPLACE WITH:
class="tabs htabs"