PHP Parse Error: syntax error, unexpected $end بي. اتش. بى خطأ تحليل : خطأ لغوي ، ونهاية غير متوقعة دولار
In PHP 5, the following error may appears as an error entry in Apache error log or simply displays on PHP web page, even if calling to php scripts with php_info() works perfectly and successfully returns information on PHP configurations: بي. اتش. بى فى 5 ايار / مايو الخطأ التالية تظهر وجود خطأ في دخول اباتشي سجل خطأ او مجرد عرض صفحة الويب على بي. اتش. بي ، حتى لو كان يدعو الى مخطوطات بي. اتش. بى مع php_info () يعمل على اكمل وجه والعودة بنجاح معلومات عن تشكيلات بي. اتش. بى :
Parse Error: syntax error, unexpected $end in ….. خطا تحليل : خطأ لغوي ، وغير متوقع دولار في نهاية….. scripts.php on line … scripts.php على الخط…
The error may caused by a missing curly bracket in PHP script coding. الخطأ قد تسبب بها مجعد شريحة المفقودين في بي. اتش. بى سكريبت الترميز. Beside, it may also caused by error in PHP coding in class definition, as in PHP, a class definition cannot be broke up and distributed into multiple files, or into multiple PHP blocks, unless the break is within a method declaration. الى جانب ذلك ، يمكن أيضا بسبب خطأ في الترميز في الدرجة بي. اتش. بى التعريف ، كما هو الحال في بي. اتش. بى ، والطبقة لا يمكن ان يكون تعريف تفريق وموزعة على ملفات متعددة ، او الى كتل متعددة بي. اتش. بى ، ما لم يكن في غضون فترة انقطاع هو طريقة الاعلان.
But more commonly, the error is often caused by the use of Short Open tags in PHP, ولكن الاكثر شيوعا ، هو الخطأ في كثير من الاحيان نتيجة لاستخدام العلامات قصيرة مفتوحة في بي. اتش. بى ، instead of full tag,
To use short open tags, it must be enabled in PHP.INI. قصيرة مفتوحة لاستخدام العلامات ، ويجب تمكين هذا في php.ini. Search for short_open_tag in PHP.INI, and change the value to On. البحث عن short_open_tag في php.ini ، والى تغيير على قيمة. The line should look line: الخط الذي يجب ان تنظر الخط :
short_open_tag = On على short_open_tag =
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذا هو الاله الذي ترجم صفحة مقدمة "كما هى" دون ضمان. Machine translation may be difficult to understand. الترجمة الاليه قد يكون من الصعب ان نفهم. Please refer to يرجى الرجوع الى original English article المادة الاصليه English whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at والمساهمة في حصة او الحصول على الدعم التقني والمساعدة فى My Digital Life Forums بلدي الرقميه الحياة المنتديات .
Related Articles مقالات ذات صلة
- WordPress MySQL SQL Query Error in WPDB Class WordPress الخلية لغة الاستعلامات البنيويه استفسار خطأ في الدرجة wpdb
- gmmktime Error in WordPress and MagpieRSS gmmktime خطأ في WordPress وmagpierss
- PHP Allowed Memory Size Exchausted Fatal Error بي. اتش. بي الذاكرة الحجم المسموح exchausted خطأ فادح
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3 تثبيت خادم الويب في ويندوز اكس بي مع apache2 ، php5 وmysql4 -- الجزء 3
- How to Customize, Modify or Change WordPress Database Connection Error Page كيفية تخصيص أو تعديل أو تغيير WordPress قاعدة البيانات خطأ في الاتصال الصفحه
- Comments and Comment Blocks in PHP تعليقات والتعليق لبنات في بي. اتش. بى
- Oracle Database Import Error 3113/3114 خطا قاعدة البيانات أوراكل استيراد 3113/3114
- Oracle ORA-14074 Create or Add New Partition Fails Error اوراكل ora - 14074 انشاء او اضافة جديدة للتقسيم لا خطأ
- Oracle EXP-00091 Error When Export Database اكسب اوراكل - 00091 خطا عند تصدير قاعدة البيانات
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files بدء httpd اباتشي اخفقت بسبب لا يمكن فتح او اى من هذا القبيل mod_bwlimited ، mod_log_bytes او mod_bandwidth ملفات

































May 14th, 2006 23:30 ايار / مايو 14th ، 2006 23:30
thanks a lot, شكرا جزيلا ،
short_open_tag = On solved that problem for me short_open_tag = على ان تحل مشكلة بالنسبة لي
August 22nd, 2006 22:49 اب / اغسطس 22nd ، 2006 22:49
Thanks for this post…saved me a lot of time! شكرا لهذه الوظيفة… انقذ لي الكثير من الوقت!
December 20th, 2006 04:57 كانون الاول / ديسمبر 20th ، 2006 04:57
I saw your posting and made the change to the php.ini file and I’m still getting the error the is being run with Fedora Core 5 with MySql 5. رأيت الارسال الخاص بك وجعل تغيير على الملف php.ini وانا لا يزال الحصول على خطأ تدار مع فيدورا الاساسية 5 مع الخلية 5.
Can someone please help يمكن للشخص من فضلكم ساعدونا
0)
{ (
while ($row = mysql_fetch_assoc($result)) في حين ان (الصف دولار = mysql_fetch_assoc دولار (نتيجة))
{ (
print $row(’cust_id’) . أطبع دولار على التوالي ( 'cust_id'). ‘-’ . '--'. $row(’cust_url_desc’) ; دولار على التوالي ( 'cust_url_desc') ؛
} )
} )
else ايضا
{ (
echo ‘No rows found!’; صدى 'لم الصفوف وجدت!' ؛
} )
mysql_free_result($result); mysql_free_result (نتيجة دولار) ؛
mysql_close($connection); mysql_close ($ الصدد) ؛
?> ؟>
February 5th, 2007 07:41 شباط / فبراير 5th ، 2007 07:41
Hello. مرحبا. I have a problem with a PHP file that shows the “PHP Parse Error: syntax error, unexpected $end” error and I followed the instructions in this page and corrected the php.ini from OFF to ON. عندي مشكلة مع ملف بي. اتش. بى وهذا يدل على "بي. اتش. بى خطأ تحليل : خطأ لغوي ، ونهاية غير متوقعة دولار" خطأ وانا اتبع التعليمات في هذه الصفحه) وصحح من وتوجيهه الى php.ini.
Now, the file don’t give any feedback when I open it. والآن ، فان الملف لا تعطي اي اقتراحات عندما فتحها. It only gives me a blank page and no info! الا انه يعطيني صفحة بيضاء وليس من المعلومات! O_o
It’s strange… Can you help me please? انه من الغريب… هل يمكن ان تساعدني من فضلك؟ Thanks. شكرا.
March 29th, 2007 22:29 مارس 29th ، 2007 22:29
This might be due to a missing quote also هذا قد يكون راجعا الى ان اقتبس ايضا في عداد المفقودين
August 30th, 2007 19:39 اب / اغسطس 30th ، 2007 19:39
Thanks a ton, I’ve been trying to figure this out for the last few hours. وبفضل من نصف طن ، وانا كنت تحاول الخروج عن هذا الرقم خلال الساعات الماضية.
September 15th, 2007 20:20 ايلول / سبتمبر 15th ، 2007 20:20
thhanx a lot short_open_tag = On solved my problem. thhanx الكثير short_open_tag = بلادي على حل المشكلة. ypu are helpful ypu مفيدة
September 30th, 2007 12:07 ايلول / سبتمبر 30th ، 2007 12:06
wow! واو! thanks for your useful guidance… وبفضل توجيهات مفيدة للالخاص بك…
October 23rd, 2007 18:52 تشرين الاول / اكتوبر 23rd ، 2007 18:52
Very useful, thanks. مفيدة جدا ، شكرا. I just upgraded to openSuse 10.3 from 10.2 which had reset my php.ini. أنا فقط ورفع مستواها لتصبح 10،3 من 10،2 اوبن سوزه التي php.ini اعادة بلدي.
February 27th, 2008 20:22 السابع والعشرون من فبراير ، 2008 20:22
Thanks for your time, But for me Its really didfficult to find a missing curly bracket. شكرا على وقتك ، ولكن بالنسبة لي didfficult دورته حقا لايجاد المفقودين مجعد شريحة.
Is there any easiest way to findout with MISSING CURLY BRACKET. هل هناك اي وأسهل طريقة لfindout مع مجعد شريحة المفقودين. Any editor can do it for us. أي محرر تستطيع ان تفعل ذلك بالنسبة لنا.
Please Help. من فضلكم ساعدونا.
Rana رنا
March 8th, 2008 14:27 الثامن آذار / مارس ، 2008 14:27
syntax error, unexpected $end in C:\wamp\www\login.php on line 49 خطأ لغوي ، وغير متوقع دولار في نهاية ج : \ نوع من البط \ الشبكه العالمية \ login.php على الخط 49
March 17th, 2008 00:32 مارس 17th ، 2008 00:32
Thank you, شكرا لك ،
Been searching for ages for solution to this. تم البحث عن الاعمار من اجل التوصل الى حل لهذه.
short_open_tag = On solved that problem for me. short_open_tag = على ان تحل مشكلة بالنسبة لي.
Finally I can open templates وأخيرا يمكنني ان فتح قوالب
May 10th, 2008 14:10 العاشر من ايار / مايو ، 2008 14:10
Thank you very much ….. شكرا جزيلا…..