עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

בעיה בהרצת קוד PHP על שרת שהתקנתי XAMPP

Featured Replies

פורסם

שלום

יש לי קוד PHP שרץ כמו שצריך כאשר אני מריץ אותו באתר שיש לי ב hostgator.com

ניסיתי להתקין XAMPP ולהריץ את הקוד על המחשב שלי וקיבלתי את השגיאות הבאות :

Fatal error: Cannot redeclare class File in C:\xampp\php\PEAR\File.php on line 92

כשאני מוריד את ה require למחלקה File שאני כתבתי אני מקבל את השגיאות הבאות :

Strict Standards: Non-static method PEAR::registerShutdownFunc() should not be called statically in C:\xampp\php\PEAR\File.php on line 541
Text Input

Fatal error: Call to undefined method Image::AddToForm() in C:\xampp\htdocs\infograph\Classes\Abstract\AbstractInfoGraph.php on line 77

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically in C:\xampp\php\PEAR\PEAR.php on line 780

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method File::_File() should not be called statically in C:\xampp\php\PEAR\PEAR.php on line 803

Strict Standards: Non-static method File::closeAll() should not be called statically in C:\xampp\php\PEAR\File.php on line 102

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically in C:\xampp\php\PEAR\File.php on line 377

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically in C:\xampp\php\PEAR\File.php on line 378

א - למה יש לי בעיה להכריז על מחלקה בשם File ?

ב - מה זה כל האזהרות האחרות על PEAR ? עושה רושם שכל הבלאגן מתחיל שם , האם זה איזה תוסף שניתן לכבות או שזה חלק אינטגלי מ PHP ?

ג - השגיאה על פונקציה שלא קיימת לא מתקבלת כאשר הקוד רץ על השרת השני, איך זה הגיוני ?

תודה :)

עריכה :

טוב הסתדרתי .. הורדתי את ה PEAR הזה מה include path של ה PHP ועכשיו הכל עובד כמו שצריך .. אשמח לשמוע אבל מה זה ה PEAR הזה .. לא כל כך הבנתי מהאתר שלהם מה זה.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.