CodeIgniter Forums
*Emergency* How do you upload a CI website onto a Linux server? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: *Emergency* How do you upload a CI website onto a Linux server? (/showthread.php?tid=55510)

Pages: 1 2 3


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

[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.


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

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


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

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


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

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

Where can I find this file?


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

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



*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

[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?


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

[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.



*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

[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.


*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

[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



*Emergency* How do you upload a CI website onto a Linux server? - El Forum - 10-30-2012

[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.