2

I have a simple component with 1 php file that returns data from database. The file is called using JS AJAX from my homepage, and works perfectly when hosted locally.

But on deploying it to live server, the AJAX call returns with :

failed to load resource. Internal server error occurred 500.

I have tried giving permissions and re configuring htaccess.txt file... but all vein..

example: localhost:1000/index.php?option=com_comp&option=raw --- works web.azurewebsites.net/index.php?option=com_comp&option=raw --- dosent work

2

In the .htaccess file uncomment this line:

#RewriteBase /

Make it :

RewriteBase /

It have worked for me before on the same error

  • thank you for your quick response..but unfortunately..its still not working...the error says : The page cannot be displayed because an internal server error has occurred. – BANDHAN MUNJAL Oct 10 '15 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.