Post by westernbees » Sat Apr 17, 2010 8:10 pm

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

Newbie

Posts

Joined
Tue Mar 30, 2010 10:40 pm

Post by thermalzombie » Mon Apr 19, 2010 8:19 am

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/

Newbie

Posts

Joined
Sun Nov 15, 2009 10:50 pm

Post by westernbees » Fri Apr 23, 2010 7:45 pm

any solution... ?

Newbie

Posts

Joined
Tue Mar 30, 2010 10:40 pm

Post by Qphoria » Fri Apr 23, 2010 9:40 pm

why not try searching the error "Call to a member function http()"

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by westernbees » Sat Apr 24, 2010 7:28 pm

didnt wrk

Newbie

Posts

Joined
Tue Mar 30, 2010 10:40 pm

Post by westernbees » Tue Apr 27, 2010 5:35 pm

i need a solution please....

Newbie

Posts

Joined
Tue Mar 30, 2010 10:40 pm

Post by gondalia » Tue Apr 27, 2010 10:51 pm

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"

New member

Posts

Joined
Sat Apr 10, 2010 12:45 am
Who is online

Users browsing this forum: No registered users and 5 guests