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?!
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? ;)
Hi Emanuele,
Thank you for answering my question.
I have checked the log file of my hosting provider. aaia-eg.com is the staging server for CompanyReview.org. 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: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T032435: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T032453: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T105027: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T114803: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T124410: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T134151: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T134846: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T144019: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T153748: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T163620: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T173533: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T184036: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T193936: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20120930T201103: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T043601: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T180916: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T185216: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T190810: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T200612: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T210453: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T220321: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T220428: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121001T230140: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T000028: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T010041: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T015957: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T022731: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T025656: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T031422: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T041835: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T122352: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121002T215444: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121003T024643: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121003T132329: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121003T194614: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121004T045752: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121004T102850: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121004T150225: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121004T174929: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121004T212050: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011255: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011257: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011301: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011310: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011313: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011314: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011317: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011327: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T011958: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T012128: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T012311: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T012355: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T012651: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T012849: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T012919: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013222: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013228: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013229: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013233: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013242: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013245: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013247: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013250: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T013300: aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T044228: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T052653: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T052655: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T055951: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121005T192910: www.aaia-eg.com/index.php
suexec policy violation: see suexec log for more details
20121006T065258: companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T065319: companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T065340: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T065347: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T085431: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T085515: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T085900: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090049: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090306: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090415: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090419: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090430: www.companyreview.org/install.php
suexec policy violation: see suexec log for more details
20121006T090724: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090728: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090730: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090850: companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T090852: companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T095624: companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T095704: www.companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T100235: companyreview.org/index.php
suexec policy violation: see suexec log for more details
20121006T101726: companyreview.org/install.php
suexec policy violation: see suexec log for more details
20121006T102556: companyreview.org/install.php
suexec policy violation: see suexec log for more details
20121006T102710: www.companyreview.org/conntest.php
suexec policy violation: see suexec log for more details
20121006T102839: www.companyreview.org/conntest.php
suexec policy violation: see suexec log for more details
20121006T102859: www.companyreview.org/conntest.php
suexec policy violation: see suexec log for more details
/me 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 (http://download.simplemachines.org/?smflanguages), 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.
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.
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.