New install provides generic "Internal Server Error"

Anonymous
2014-03-28
2016-05-14
  • Anonymous - 2014-03-28

    After installing pH7 and removing the _install directory, attempts to hit the site I receive this content:

    ¡pH7! Social Dating CMS

    Internal Server Error

    The server encountered an error. This is most often caused by a scripting problem, a failed database access attempt, or other similar reasons.

    Nothing is being logged to the apache or varnish error logs.

    Since "some" pH7 code is being generated on the page, I'm inclined to beleive the issue is with pH7, and not apache or varnish.

    Is there a "debug" mode I can enable? I have "display errors" on in PHP, but I'm still not seeing anything.

     
    Last edit: Anonymous 2014-03-28
  • Pierre-Henry Soria

    Hi Ray,

    Sure, we've a debug mode.
    Please edit the ~/_YOUR-PROTECTED-FOLDER/app/configs/config.ini file
    Replace "environment = production" by "environment = development" at the beginning of the file.

    Refresh the page and please tell me the error.

     
  • Anonymous - 2014-03-28

    Fatal error: Class 'DomDocument' not found in /data/htdocs/_protected/framework/Mvc/Router/FrontController.class.php on line 109

     
    Last edit: Anonymous 2014-03-28
  • Anonymous - 2014-03-28

    installing the php-dom package took care of the issue. THe front page of the site loads now, thanks.

     
    Last edit: Anonymous 2014-03-28
  • Pierre-Henry Soria

    OK! Your PHP installation was special because this class is installed by default.

     
  • Yuran

    Yuran - 2014-04-02

    Hi.
    The file ~ / _YOUR-PROTECTED-FOLDER/app/configs/config.ini - it simply does not exist in this directory. What else do advise? There is a directory _protected / app / configs / environment and there are all.env.php development.env.fp production.env.php What to do? Help me please ...

     
  • Yuran

    Yuran - 2014-04-21

    Sorry for the inattention, the config.ini file exists. But now there was another problem - on the home page and on the issues the message admin123

    Whoops!

    Sorry, your pH7CMS License Key is incorrect!

    I'm testing the system on a local server http://open-server.ru (type wamp) on the local domain looks http://phcms

    What should be the license code and where can I get it?

     
  • Yuran

    Yuran - 2014-04-22

    Everything works, I understand. It was necessary to give the right folders 777 and files 666 in directiry _protected and public, and also comment in public/.htaccess at the top of those two lines
    #Options-MultiViews-Indexes
    #Options + FollowSymLinks

    Thanks

     
    Last edit: Yuran 2014-04-22
  • Flum

    Flum - 2016-05-14

    Hi Pierre,
    I really need your assistant, I am a novice when ti comes to PHP.
    So, i'm getting the below error:

    "The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at xxxxx@xxx.com to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

    I downloaded pH7CMS from cpanel, I performed your suggestions here but it didn't work. I adjusted all folders and files permissions to 777 and 666. Still won't work. Please help, I'm stuck ! :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks