Welcome Guest, Not a member yet? Register   Sign In
Uploading CI to Live Server
#1

[eluser]hkboateng[/eluser]
Hello, I donot understand the error below. I am trying to upload my first CI web application to my live server and it has given me this error.
How do I go about fixing this error?

Thank you in advance.
A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 346
#2

[eluser]solid9[/eluser]
configure your database.php

It is located at application/config/database.php
#3

[eluser]hkboateng[/eluser]
I changed the configuration and now am getting this error
Code:
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.

Am not sure whether is with my webhost (asmallorange.net) or something I have not yet done.
#4

[eluser]solid9[/eluser]
check the syntax.
Sometimes it's missing semi-colon or quote or missing braces, etc...
Double check the settings.

And if you think the problem still persist find the error_log.
With in it you'll find the exact error.





#5

[eluser]ahmed.alsiddig[/eluser]
hi ..
check the database conf & be sure all ur conf changed to the live server..
#6

[eluser]hkboateng[/eluser]
Is the mod_rewrite file.I had to delete the Rewrite pointing to my local server. No it works




Theme © iAndrew 2016 - Forum software by © MyBB