היי , עקבתי אחרי מדריך של yii
בקישור הבא:
http://phpguide.co.il/מדריך+לYii+הפריימוורק+הכי+מתקדם+של+PHP++חלק+ד.htm
כשאר אני מנסה למצוא את מספר המשתמשים שנרשמו בצורה הבאה:
if(Account::userExists($user)==0)
$error[] = "שם המשתמש שבחרת תפוס.";
אני מקבל שגיאה כזו:
Internal Server Error
Declaration of Account::model() should be compatible with CActiveRecord::model($className = 'CActiveRec...')
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
אשמח אם תסתכלו גם בתצלום המסך .
כאילו שם הפונקציה מפריע לו.
מה אתם אומרים?
בקישור הבא:
http://phpguide.co.il/מדריך+לYii+הפריימוורק+הכי+מתקדם+של+PHP++חלק+ד.htm
כשאר אני מנסה למצוא את מספר המשתמשים שנרשמו בצורה הבאה:
if(Account::userExists($user)==0)
$error[] = "שם המשתמש שבחרת תפוס.";
אני מקבל שגיאה כזו:
Internal Server Error
Declaration of Account::model() should be compatible with CActiveRecord::model($className = 'CActiveRec...')
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
אשמח אם תסתכלו גם בתצלום המסך .
כאילו שם הפונקציה מפריע לו.
מה אתם אומרים?