Post by unixvanz » Wed Nov 02, 2011 11:55 am

Gan, saya mau tanya. kenapa di opencart saya pas di masukkan YM keluar info
"Notice: Undefined offset: 1 in /home/cherlove/public_html/catalog/controller/module/yahoochat.php on line 12 " yach?

ad yang bisa bantu?
oh iya, website nya : http://www.cherloveshop.com

thanx

Newbie

Posts

Joined
Tue Sep 27, 2011 1:54 pm

Post by qahar » Wed Nov 02, 2011 6:28 pm

pakai module apa and OC versi brapa?

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by skyknight » Thu Nov 17, 2011 12:38 pm

buka file /home/cherlove/public_html/catalog/controller/module/yahoochat.php
copy kan kembari code yang ada di 12
nanti akan dibantu cek

Newbie

Posts

Joined
Fri Nov 11, 2011 4:46 pm

Post by g3njreng » Thu Nov 24, 2011 11:34 am

sama nih, saya keluar begini

Notice: Undefined offset: 1 in /home/godsp379/public_html/catalog/controller/module/yahoomessenger.php on line 19

artinya apa yah?
saya pake OC 1.5.1.3
<?php
class ControllerModuleyahoomessenger extends Controller {
protected function index() {
$this->language->load('module/yahoomessenger');

$this->data['heading_title'] = $this->language->get('heading_title');

$code = html_entity_decode($this->config->get('yahoomessenger_code'));
$code = trim($code);
$last_pos = strrpos($code ,";");
$code_length = strlen($code);
if ($last_pos == ($code_length - 1)) $code = substr($code,0, $code_length - 1);

$code = explode(';', $code);
$t = strip_tags($this->config->get('yahoomessenger_style'));
$dat='';
foreach ($code as $codes){
$str = explode(':', $codes);
$dat .='<a href="ymsgr:sendim?'.$str[0].'"><img src="http://opi.yahoo.com/online?u='.$str[0].'&m=g&t=' . $t . ' "></a></br><b>'.$str[1].'</b></br>';
}
$this->data['code'] = $dat;

if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/yahoomessenger.tpl')) {
$this->template = $this->config->get('config_template') . '/template/module/yahoomessenger.tpl';
} else {
$this->template = 'default/template/module/yahoomessenger.tpl';
}

$this->render();
}
}
?>

Newbie

Posts

Joined
Wed Nov 23, 2011 12:57 pm

Post by g3njreng » Tue Nov 29, 2011 12:28 pm

blm ada yg reply... ;D

Newbie

Posts

Joined
Wed Nov 23, 2011 12:57 pm

Post by batikjateng » Fri Dec 09, 2011 6:12 pm

g3njreng wrote:blm ada yg reply... ;D

Agan pake OC sery berpa ? klo OC 1.5 silahkan pake Modul YM yang bisa di download http://www.ziddu.com/download/17748466/ ... r.zip.html

Newbie

Posts

Joined
Wed Dec 07, 2011 2:42 pm

Post by nanangno1 » Fri Dec 16, 2011 10:44 pm

setelah upload, install di menu admin. agan mesti isi dengan lengkap id ym + nama yang dikehendaki (bbcctv:sales) bbcctv adalah id ymnya, sales adalah nama yg akan muncul dibawah idymnya. contoh hasilnya bisa dilihat di www.tplink.co.id semoga membantu :)

Newbie

Posts

Joined
Fri Dec 16, 2011 10:41 pm

Post by citius » Tue Oct 16, 2012 1:05 pm

Kok setelah saya copas file2 sesuai foldernya malah muncul pesan

Notice: Error: Could not load language module/yahoo messenger! in C:\xampp\htdocs\Tasku\system\library\language.php on line 26

Sebelumnya juga pernah seperti itu tapi setelah di copas file carousel dari admin/language/english/module ke admin/language/indonesia/module masalah selesai. Nah sekarang muncul lagi setelah saya copas file2 untuk modul YM.

Newbie

Posts

Joined
Thu Oct 11, 2012 4:33 pm
Who is online

Users browsing this forum: No registered users and 11 guests