Community Forums

eror : Undefined variable: thumb in/cstegory.tpl

Forum untuk pengguna Opencart dari Indonesia

eror : Undefined variable: thumb in/cstegory.tpl

Postby giblartar » Tue May 29, 2012 1:08 am

permisi mw nanya.

ane pake op 1.4.
trs ane coba pasang ginbo theme
ad yg janggal d category,
seperti berikut penampkannya

Notice: Undefined variable: thumb in C:\xampp\htdocs\openlama\catalog\view\theme\gimboo\template\product\category.tpl on line 13

kira" bagaimana mengatasi ny
salam
giblartar
 
Posts: 8
Joined: Tue May 29, 2012 1:01 am

Re: eror : Undefined variable: thumb in/cstegory.tpl

Postby sans » Tue May 29, 2012 2:13 am

giblartar wrote:permisi mw nanya.

ane pake op 1.4.
trs ane coba pasang ginbo theme
ad yg janggal d category,
seperti berikut penampkannya

Notice: Undefined variable: thumb in C:\xampp\htdocs\openlama\catalog\view\theme\gimboo\template\product\category.tpl on line 13

kira" bagaimana mengatasi ny
salam


penampakannya mana? Trus, apakah temanya compatibel dg versi OC yg anda gunakan?
sans
 
Posts: 358
Joined: Tue Dec 07, 2010 1:18 am

Re: eror : Undefined variable: thumb in/cstegory.tpl

Postby giblartar » Tue May 29, 2012 3:05 am

sans wrote:
giblartar wrote:permisi mw nanya.

ane pake op 1.4.
trs ane coba pasang ginbo theme
ad yg janggal d category,
seperti berikut penampkannya

Notice: Undefined variable: thumb in C:\xampp\htdocs\openlama\catalog\view\theme\gimboo\template\product\category.tpl on line 13

kira" bagaimana mengatasi ny
salam


penampakannya mana? Trus, apakah temanya compatibel dg versi OC yg anda gunakan?

iya mas tema ny memang untuk oc 1.4.x

eror ny :
Notice: Undefined variable: thumb in C:\xampp\htdocs\openlama\catalog\view\theme\gimboo\template\product\category.tpl on line 13
Image
giblartar
 
Posts: 8
Joined: Tue May 29, 2012 1:01 am

Re: eror : Undefined variable: thumb in/cstegory.tpl

Postby sans » Tue May 29, 2012 3:32 am

Klo gitu coba pastikan ada kode dibawah ini di file category.php (sekitar baris 70) di catalog/controller/product/category.php

Code: Select all
$this->data['thumb'] = $this->model_tool_image->resize($image, $this->config->get('config_image_category_width'), $this->config->get('config_image_category_height'));
sans
 
Posts: 358
Joined: Tue Dec 07, 2010 1:18 am

Re: eror : Undefined variable: thumb in/cstegory.tpl

Postby giblartar » Tue May 29, 2012 1:39 pm

sans wrote:Klo gitu coba pastikan ada kode dibawah ini di file category.php (sekitar baris 70) di catalog/controller/product/category.php

Code: Select all
$this->data['thumb'] = $this->model_tool_image->resize($image, $this->config->get('config_image_category_width'), $this->config->get('config_image_category_height'));

ternyata ini masalah ny om

di file categori.tpl line 13

variable $thumb ny blm d deklarasiin,

jd ane tambahin $thumb = 'image.jpg'; d line 13

alhamdulillah solved :D
giblartar
 
Posts: 8
Joined: Tue May 29, 2012 1:01 am


Return to Forum Berbahasa Indonesia

Who is online

Users browsing this forum: No registered users and 4 guests

Hosted by Arvixe Web Hosting