"The server encountered an unexpected condition" Error after installing Arabic!

Started by companyreview, October 06, 2012, 10:13:46 AM

Previous topic - Next topic

companyreview

I have encountered the most strange case that might meet someone who tries to install a forum.

I have installed SMF successfully on my remote server (files, db, config,..everything) it just works fine. Through the administration panel of the forum, I installed a new language, the "Arabic" language. It tells me that the installation is successful but upon turning to the forum, it gave me the following error message: "The server encountered an unexpected condition which prevented it from fulfilling the request. The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.".

An error is not the end of the world! I tried somethings.
First, I re-uploaded the files of the forum overriding the old files (but not for the configuration file settings.php), but it still not working.
Second, I tried a new clean installation, I removed every single file in the root of the old installation, dropped the DB entirely, recreated the DB, and uploaded the fresh extracted files of SMF to the server root once again. I tried to begin a clean installation but guess what?! It still gives me the same error?!!!
How can it feel the previous installation? I don't know! Everything is new .. both files and db are new and fresh, how could it know about the previous installation?!!! Very strange to me as I am a PHP/MySQL developer for over 8 years now!

Even more, I uploaded a new .php file that I wrote it myself in order to test the db connection, guess what? It gives me the same error! What is the relation between my file and the previous installation of SMF? I don't know!

Is there anyone here can help me discover what happened? And how can the script feel the previous installation?? And what is the relation between my own .php file and the error of the previous installation of SMF? One last question, How reliable the SMF is?!

emanuele

Hello companyreview and welcome to sm.org.

Does your host use suexec?
SMF may have tried to chmod some file or directory to 755 or 777 and the server may have locked down everything.

Quote from: companyreview on October 06, 2012, 10:13:46 AM
One last question, How reliable the SMF is?!
Sorry, but here I have to answer with another question: how could you expect that we (that develop and support SMF) say that is not 100% reliable? ;)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

companyreview

Hi Emanuele,

Thank you for answering my question.
I have checked the log file of my hosting provider. hxxp:aaia-eg.com [nonactive] is the staging server for hxxp:companyreview.org [nonactive]. Anyway, below are the latest log records regarding both domains. Your guess seams to be right as "suexec" is mentioned in each record. I know now it taking the server administration way rather than the development way. I am not good at server administration, could you please advice me how to avoid this policy violation upon installing the Arabic language?

Thank you in advance.


20120930T032405: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T032435: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T032453: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T105027: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T114803: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T124410: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T134151: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T134846: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T144019: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T153748: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T163620: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T173533: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T184036: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T193936: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20120930T201103: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T043601: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T180916: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T185216: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T190810: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T200612: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T210453: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T220321: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T220428: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121001T230140: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T000028: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T010041: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T015957: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T022731: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T025656: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T031422: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T041835: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T122352: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121002T215444: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121003T024643: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121003T132329: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121003T194614: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121004T045752: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121004T102850: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121004T150225: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121004T174929: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121004T212050: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011255: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011257: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011301: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011310: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011313: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011314: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011317: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011327: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T011958: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T012128: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T012311: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T012355: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T012651: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T012849: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T012919: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013222: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013228: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013229: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013233: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013242: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013245: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013247: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013250: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T013300: hxxp:aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T044228: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T052653: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T052655: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T055951: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121005T192910: hxxp:www.aaia-eg.com/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T065258: hxxp:companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T065319: hxxp:companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T065340: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T065347: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T085431: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T085515: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T085900: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090049: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090306: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090415: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090419: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090430: hxxp:www.companyreview.org/install.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090724: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090728: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090730: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090850: hxxp:companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T090852: hxxp:companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T095624: hxxp:companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T095704: hxxp:www.companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T100235: hxxp:companyreview.org/index.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T101726: hxxp:companyreview.org/install.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T102556: hxxp:companyreview.org/install.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T102710: hxxp:www.companyreview.org/conntest.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T102839: hxxp:www.companyreview.org/conntest.php [nonactive]
suexec policy violation: see suexec log for more details

20121006T102859: hxxp:www.companyreview.org/conntest.php [nonactive]
suexec policy violation: see suexec log for more details

emanuele

* emanuele is not that good either...

It's a while I don't check the code that adds a new language, but for sure the easiest way is to do it manually: go to the download page and select language packs, then the language that you want to install and finally if you want the UTF8 pack or not.
Download it on your computer, extract it and upload the extracted files to the root of the forum.
You will then find the new language available.

To restore the site you may have to contact your host.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Arantor

If it's complaining about suexec, it's almost certainly a file permissions issue, very likely the language files are 666 and shouldn't be.

companyreview

Hello Guys,

Thank you so much for your generous help. I have resolved the problem by changing the permissions of the files and it is now working just fine.

Advertisement: