توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل با ماژول MambWeather
سلام
من ماژول آب و هوای MambWeather را نصب میکنم درست هم کار میکنه فقط یه پیغام خطا میده ! میشه راهنمایی کنید .
Notice: Undefined property: weatherMetar::$properties in /home/xxxxxxxx/public_html/modules/MambWeather/metar.class.php on line 952
mhadaily
07-11-2008, 12:47 PM
مشخصه که چیزی رو نمی تونه بفهمه
باید اون خط رو در اون فایل هم قرار بدید
روی چه مامبویی هست روی اینرنت تست کردید ؟ ماژول سازگار هست ؟
من روی 462 نصب میکنم ، کد هم اینه :
// At this point, the $phenomena_group variable contains the one
// index of the $this->images array, while the $maxcoverage
// variable contains the other index of the $this->images array.
// The correct image can be selected from the array.
$this->phenomena=$phenomena;
if (($night == 1) || ($this->itime == 'nite')) {
return @$this->properties['icons_path'] .
$this->n_images[$phenomena_group][$maxcoverage];
} else {
return $this->properties['icons_path'] .
$this->images[$phenomena_group][$maxcoverage];
}
}
خط 952 هم اینه
return $this->properties['icons_path'] .
majd66
07-12-2008, 09:53 AM
ممکنه لینک دانلود ماژول(اگر رایگان هست) قرار بدید تا بررسی بشه
یا حق
درست شد !
دارم ترجمه اش مینکم آماده شده خبر میدم
mhadaily
07-12-2008, 10:22 PM
درست شد !
دارم ترجمه اش مینکم آماده شده خبر میدم
راه حل مشکل چی بود ! اگر نیاز هست من توضیح بدم بازم بگید اگر نه لطفا خودتون کامل توضیح بدید چطور درست شد !
یاعلی
توی این قسمت از کد
} else {
return $this->properties['icons_path'] .
$this->images[$phenomena_group][$maxcoverage];
}
قبل از
$this
باید یک @ اضافه میشد یعنی این میشد :
@$this
vBulletin® v4.2.5, Copyright ©2000-2026, Jelsoft Enterprises Ltd.