Estoy con un proyecto bajo Codeigniter que tengo que arreglar ya que una consultora tocó algo que hizo que dejase de funcionar. Llevo días probando y tratando de encontrar donde está el problema y no doy con el.
El problema es que se puede visualizar la página de inicio de la web, pero una vez ahi pulsando a cualquier sección de la página, se muestra un error 500 Internal Server Error.
Cita:
He revisado el .htaccess y está así:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, 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.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, 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.
Cita:
El config.php tiene el $config['base_url'] apuntando a su dominio correctamente y $config['index_page'] = "";AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /inmobiliaria/
RewriteCond $1 !^(index.php|images|css|js|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /inmobiliaria/
RewriteCond $1 !^(index.php|images|css|js|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
El database.php tiene los datos de la base de datos correctamente.
No está generando logs en /system/logs aun teniendo en index.php error_reporting(E_ALL), por lo que voy dando palos de ciego...
Espero que alguien pueda guiarme por el buen camino.
Muchas gracias!