Everytime I tried to upload a file to my PmWiki (popular PHP based Wiki) installation, it failed with “no file uploaded” error. في كل مرة حاولت رفع الملف الى بلدي pmwiki (بي. اتش. بى الشعبي القائم على ويكي) تركيب ، مع انها لم تفلح في "الملف الذى تم تحميله اي" خطأ. Also it asks me for password thrice, once before accessing the upload page and twice after uploading. كما انه يطلب مني كلمة السر لثلاث مرات ، مرة واحدة قبل الوصول الى صفحة تحميل وبعد تحميل مرتين.

The solution was to remove the password check on upload. وكان الحل لازالة كلمة السر للتحقق من التحميل. As it is an intranet installation, accessed only by my team, it isn’t much of a problem. كما هو تركيب شبكة داخلية ، يمكن الاطلاع عليه إلا من خلال فريقي ، وهي ليست جزءا كبيرا من مشكلة. To remove password check have the following line in your config.php - لازالة كلمة السر قد تحقق في السطر التالي config.php الخاص بك --
$DefaultPasswords['upload'] = ”; دولار defaultpasswords [ 'تحميل'] = "؛

Note: Remember to search for $DefaultPasswords first and comment the line, if present. ملاحظه : تذكر للبحث عن دولار وdefaultpasswords اول خط التعليق ، اذا كان حاضرا.

Bonus Tips: مكافاه النصائح :
1. How to increase the file upload limit in pmwiki? كيف يمكن زيادة الحد من تحميل الملفات في pmwiki؟
Add these line to config.php - اضافة الى هذه الخط config.php --
$UploadMaxSize = 100000000; Uploadmaxsize دولار = 100000000 ؛

Note: The size is in bytes; so the above is 100, 000, 000 bytes (slightly less than 100 MB). ملاحظه : في حجم بايت ؛ ذلك ما ورد اعلاه هو 100 ، 000 ، 000 بايت) يقل قليلا عن 100 ميغابايت).

2. How to enable file upload in the first place? كيف يمكن تحميل الملفات في المقام الأول؟
Uncomment / add this line in config.php - غير تعليق / اضافة هذا الخط في config.php --
$EnableUpload = 1; Enableupload دولار = 1 ؛