Welcome Guest, Not a member yet? Register   Sign In
Problem when upload to hosting
#1

[eluser]Mel [RS][/eluser]
Hi guys:
I'm developing an CI application on my lapton using windows and xampp and it works nice. My problem is when I upload the files to my hosting server, because the page still in white.

I put some flags in the index.php file and the problem in this line:

Code:
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;

I make an echo of BASEPATH constant and I got this:

Code:
/var/www/virtual/corsos.cz/demo/sys/

Can you help me? I can't change any configuration because this is a shared hosting.

Thanks in advance.
#2

[eluser]TheFuzzy0ne[/eluser]
Check that ./system/logs/ is writeable.
Check your database configuration - You can do this by not loading the database class, and seeing if you still get a white page.
Check for whitespaces before the opening PHP tags, and after the closing PHP tags.
#3

[eluser]Mel [RS][/eluser]
Hi.

I check all your ppoints before and all is ok.
#4

[eluser]Mel [RS][/eluser]
I set the log in all messages and I've got something, but nothing like an error:

Code:
DEBUG - 2009-03-14 09:41:12 --> Config Class Initialized
DEBUG - 2009-03-14 09:41:12 --> Hooks Class Initialized
DEBUG - 2009-03-14 09:41:12 --> URI Class Initialized
DEBUG - 2009-03-14 09:41:12 --> No URI present. Default controller set.
DEBUG - 2009-03-14 09:41:12 --> Router Class Initialized
DEBUG - 2009-03-14 09:41:12 --> Output Class Initialized
DEBUG - 2009-03-14 09:41:12 --> Input Class Initialized
DEBUG - 2009-03-14 09:41:12 --> Global POST and COOKIE data sanitized
DEBUG - 2009-03-14 09:41:12 --> Language Class Initialized

I've checked all files createde by me searching whitespaces and it's all ok. I connected manually to my database in remote mode and its ok.

Now I create a controller with database connection and it's works, I dont have a white page.But the config works.

Any idea?




Theme © iAndrew 2016 - Forum software by © MyBB