Server error if installed in the root folder

Status
Not open for further replies.

roshgorg

New Member
Messages
9
Reaction score
0
Points
0
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.
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
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(#).
 

roshgorg

New Member
Messages
9
Reaction score
0
Points
0
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.
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
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.
 

roshgorg

New Member
Messages
9
Reaction score
0
Points
0
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:

roshgorg

New Member
Messages
9
Reaction score
0
Points
0
I added that in the htaccess file, but still it is not working...I will pm you now.

Thanks meastro in advance.
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
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
 

roshgorg

New Member
Messages
9
Reaction score
0
Points
0
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....
 
Status
Not open for further replies.
Top