I'm getting 500 Internal Server Error

0

I have an online store uploaded to Hostinger .

Apparently the main page works correctly, but at the moment of clicking on the menu, shopping cart or something else, I get the following error:

  

Failed to load the following resources: The server has responded with a status of 500 (Internal server error).

     

  

Internal server error:

     

The server encountered an internal error or incorrect configuration and was unable to complete your request. Contact the server administrator, [email protected] and inform them of the time the error occurred, and the actions you took just before this error.

I have tried to rename the htaccess file and the internal error stops coming out, in this case there is a Hostinger error. Is it possible that the error comes from that file?

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /tienda/index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
    ErrorDocument 404 /tienda/index.php
</IfModule>

I've also tried giving 755 permissions to all folders uploaded to Hostinger .

The CodeIgniter framework is being used, I do not know if that could have any impact on the error.

    
asked by Pablo Molina Gallardo 27.03.2017 в 16:50
source

1 answer

0

check the base path of your application, that of your pc is not the same as the hostinger, this in the file application/config/config.php variable $config['base_url'] , hopefully it is fixed, greetings.

    
answered by 05.05.2017 в 18:44