Welcome Guest, Not a member yet? Register   Sign In
website online problem
#1

[eluser]Gerep[/eluser]
Hi guys,

I'm new with CodeIgniter and I just send my files online on the following link: http://anuncio.redenoos.com.br/ but it seems to have an error.

I've created a login. To generate the error just click on "Entrar", should display messages on the required fields but I got this error.

Quote:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.

My steps:
Quote:Folder: system/application/config
- config.php -> $config['base_url'] = "http://anuncio.redenoos.com.br/";
- database.php -> database configuration;

Thanks in advance.
#2

[eluser]JHackamack[/eluser]
Have you made sure your .htaccess file is in place. I notice you aren't specifying index.php in your urls at all, usually that means you've decided to set up an htaccess file with the correct instructions
#3

[eluser]Abdul Jamal[/eluser]
you have to make .htaccess file to avoid this problem.............
#4

[eluser]Gerep[/eluser]
The htaccess I have, I've downloaded it from the CI wiki.

Here is my htaccess file:

Quote:<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /anuncio.redenoos.com.br/

#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
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>




Theme © iAndrew 2016 - Forum software by © MyBB