Closed Thread
Results 1 to 9 of 9

Thread: Server error if installed in the root folder

  1. #1
    roshgorg is offline x10Hosting Member roshgorg is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    9

    Server error if installed in the root folder

    Hello,
    I installed OpenClassifieds in the public_html folder of my hosting account at http://technis.elementfx.com/ .The installation was shown as successful, but when I go to the page, it shows a 500 internal server error. There is no problem if I install any other script using the Softaculous installer. But, the error occurs only with the openClassifieds.

    The error that is shown when visiting the page is given below:-

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, no-reply@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the 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.

  2. #2
    MaestroFX1's Avatar
    MaestroFX1 is offline Community Advocate MaestroFX1 has a spectacular aura about
    Join Date
    Feb 2008
    Location
    Area 51
    Posts
    1,577

    Re: Server error if installed in the root folder

    Hello!
    Did you try uncommenting the RewriteBase / in the .htaccess file ?
    This file should be there in public_html.
    You can un-comment that by removing the hash sign(#).

  3. #3
    roshgorg is offline x10Hosting Member roshgorg is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    9

    Re: Server error if installed in the root folder

    Hey, thanks for the quick reply.

    There is no RewriteBase / in the .htaccess file....
    The following are the contents of my .htaccess file:-
    ErrorDocument 404 /content/404.php
    Options All -Indexes
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase
    RewriteRule ^([0-9]+)$ index.php?page=$1 [L]
    RewriteRule ^install/$ install/ [L]
    :
    :
    :
    :
    </IfModule>


    And all the line are not commented.

    Now what should I fo?
    Also, please mention what should be the Chmod for the public_html folder. Is it 750 or 755 or 777?

    Thank You my dear friend.

  4. #4
    MaestroFX1's Avatar
    MaestroFX1 is offline Community Advocate MaestroFX1 has a spectacular aura about
    Join Date
    Feb 2008
    Location
    Area 51
    Posts
    1,577

    Re: Server error if installed in the root folder

    Quote Originally Posted by roshgorg View Post
    Also, please mention what should be the Chmod for the public_html folder. Is it 750 or 755 or 777?
    It should not be 777.
    Set permissions of folders and files inside public_html to 755 and 644, respectively and that of public_html to 750.

  5. #5
    roshgorg is offline x10Hosting Member roshgorg is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    9

    Re: Server error if installed in the root folder

    Hello Meastro...
    YEah i corrected the chmod... But, still the error is there...
    Should I add a new line RewriteBase / in the htaccess file?
    Last edited by roshgorg; 05-30-2011 at 02:20 AM.

  6. #6
    MaestroFX1's Avatar
    MaestroFX1 is offline Community Advocate MaestroFX1 has a spectacular aura about
    Join Date
    Feb 2008
    Location
    Area 51
    Posts
    1,577

    Re: Server error if installed in the root folder

    Quote Originally Posted by roshgorg View Post
    There is no RewriteBase / in the .htaccess file....
    Please add this RewriteBase /( RewriteBase with a forward slash) in your .htaccess file or PM me if you want me to look into it.

  7. #7
    roshgorg is offline x10Hosting Member roshgorg is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    9

    Re: Server error if installed in the root folder

    I added that in the htaccess file, but still it is not working...I will pm you now.

    Thanks meastro in advance.

  8. #8
    MaestroFX1's Avatar
    MaestroFX1 is offline Community Advocate MaestroFX1 has a spectacular aura about
    Join Date
    Feb 2008
    Location
    Area 51
    Posts
    1,577

    Re: Server error if installed in the root folder

    Fixed it!
    If you have any further issues, just let us know!
    You may close this thread now by using the "Administrative" link.
    Thank you for your cooperation!
    ~MaestroFX1

  9. #9
    roshgorg is offline x10Hosting Member roshgorg is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    9

    Re: Server error if installed in the root folder

    Hello MeastroFX1,,,
    you are the real meastro. Wow, it is working superb. Can you tell me what was wrong and what did you do to correct the error.

    Anyways, thank you very much....

Closed Thread

Similar Threads

  1. Deleted root folder! I need help!
    By tmwdsi1415 in forum Free Hosting
    Replies: 3
    Last Post: 04-27-2011, 04:25 AM
  2. Please Restore Root Folder
    By kidistan15 in forum Free Hosting
    Replies: 1
    Last Post: 08-18-2010, 06:50 AM
  3. I installed my forum on the root directory...
    By randommaker in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 03-17-2009, 11:32 AM
  4. Cant installed in my root directory
    By mhine in forum Free Hosting
    Replies: 4
    Last Post: 04-11-2008, 07:19 PM
  5. Replies: 3
    Last Post: 09-21-2007, 01:06 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers