[quote author=مجید link=topic=20929.msg111227#msg111227 date=1249109070]
[quote author=moderator link=topic=20929.msg110947#msg110947 date=1248743161]
سلام دوستان من مامبو رو همونطوري كه آموزش داده بودين رو لوكال هاست نصبش كردم و پيغام موفقيت اومد همه چيز تكميل...

حالا نميتونم وارد قسمت مديريت و بخش كاربري بشم لطفاً راهنمائي كنين ممنونم ازتون...

اين پيغام رو ميده وقتي ميخوام وارد شدم اين صفحه باز ميشه... با اين آدرس http:// localhost/mambo_465_farsi/

اينم پيغام هااا...


Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\index.php on line 177

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\index.php on line 290

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\index.php on line 347

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\index.php on line 352

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 406

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 417

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 532

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 1150

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 1733

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 2745

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 2751

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 2757

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 2763

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 2769

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 2826

Deprecated: Function ereg_replace() is deprecated in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 3136

Fatal error: Call to undefined method mosMenu::mosDBTable() in C:\wamp\www\mambo_465_farsi\includes\core.classes. php on line 899

ممنونم ميشم راهنمائيم كنين

[/quote]

سلام
این ایراد از php5.3 ناشی میشه که ظاهرا لوکال هاست اولیه شما php 5.3 داره برای حل این مشکل کافیه مراحل زیر رو طی کنید

فایل includes/database.php رو باز کنید
لاین 785 رو که نوشته شده var $_db = null; پیدا کنید و بعد از آن این خط رو اضافه کنید

کد:
  function mosDBTable ($table='', $keyname='id', $db='') {
    if ($table) $this->_tbl = $table;
    else $this->_tbl = $this->tableName();
    $this->_tbl_key = $keyname;
    if (is_object($db)) $this->_db = $db;
  }
بعد از تغییرات باید به شکل زیر در آید

کد:
  /** @var mosDatabase Database connector */
  var $_db = null;
  
  function mosDBTable ($table='', $keyname='id', $db='') {
    if ($table) $this->_tbl = $table;
    else $this->_tbl = $this->tableName();
    $this->_tbl_key = $keyname;
    if (is_object($db)) $this->_db = $db;
  }
  
  /**
   *  @return bool True if DB query failed. Sets the error message
   */
همچنین اکر در لوکال هاست هستید و دسترسی به فایل php.ini دارید آنرا باز کنید و سپس این مورد را جستجو کنید error_reporting

و هر چی در جلوی آن هست لطفا به خط زیر تغییر بدید

کد:
error_reporting = E_ALL | ~E_STRICT
در صورتی که دسترسی هم به php.ini ندارید display_errors را از فایل htaccess خاموش کنید تا warning ها ظاهر نشوند


[/quote]