Welcome Guest, Not a member yet? Register   Sign In
*Emergency* How do you upload a CI website onto a Linux server?
#1

[eluser]friday[/eluser]
Hi,

I really need some help on this. I have a perfectly working Codeigniter website (with XAMPP), however now I need to get it working on a remote Linux server. I have uploaded the CI file to the root directory as shown here: http://i50.tinypic.com/a47qz7.jpg

When I try to go to the home page, I get this error on Chrome: http://i49.tinypic.com/nn2pfr.jpg

Can anyone help on this? I am not sure if there's anything more that needs to be done to get it functioning on a remote Linux root directory. This is quite urgent. Thanks.
#2

[eluser]friday[/eluser]
Sorry, I meant when I go to the home directory on the linux server I get that error on Chrome.
#3

[eluser]solid9[/eluser]
check the error log for specific error.
#4

[eluser]friday[/eluser]
[quote author="solid9" date="1351596810"]check the error log for specific error.[/quote]

Where can I find this file?
#5

[eluser]solid9[/eluser]
Sometimes in the root folder of your CI.
Sometimes in your CPanel of your website.
#6

[eluser]friday[/eluser]
[quote author="solid9" date="1351597283"]Sometimes in the root folder of your CI.
Sometimes in your CPanel of your website.
[/quote]

It's basically saying it's a server error and that it may be configured incorrectly.

I edited the config.php file base_url() address to the server address, and also configured the database connections in database.php properly. Is there something I'm missing?
#7

[eluser]LuckyFella73[/eluser]
Quote:... that needs to be done to get it functioning on a remote Linux root directory.

Are you sure your CI installation is placed somewhere inside the webservers htdocs directory?

I would try to place a test-file like "test.php" at the level your CI index.php is placed
and echo out a string. That way you can get sure the CI installation can be called
at all.
#8

[eluser]solid9[/eluser]
@friday
I already told you, you need to find the error_log,
If you have difficulty finding it call your hosting administrator and ask them to assist you.
It is in the error_log you will find out the exact error message.
#9

[eluser]OSb Web Solutions[/eluser]
Im using it on linux as well, did you changed mode to 777 of the folder?
Example:
Code:
sudo chmod -777 -R /var/www/CI
#10

[eluser]NotDior[/eluser]
[quote author="OSb Web Solutions" date="1351604530"]Im using it on linux as well, did you changed mode to 777 of the folder?
Example:
Code:
sudo chmod -777 -R /var/www/MyWebsite
[/quote]

Ummmmm...you don't need to chmod 777...your asking for problems with that.





Theme © iAndrew 2016 - Forum software by © MyBB