Welcome Guest, Not a member yet? Register   Sign In
change autoload, become an blank page
#1

[eluser]sloth[/eluser]
Hello.. I'm a beginner..

i have problem, that i can't understand..
i have an autoload.php like these :

Code:
$autoload['libraries'] = array('site_sentry', 'session');

and then i change :

Code:
$autoload['libraries'] = array('database', 'site_sentry', 'session');

but my site become a blank page...

any suggestion..?!?

Edited :
PROBLEM SOLVE...!!
thank's for your suggest..
i just install a repository of linux php-pgsql (pgsql for support php)...
it change php.ini automatically...
#2

[eluser]Dam1an[/eluser]
Thats very strange, as you should get a CI database error at the very least if it can't connect to the database
Is every controller/function you try result in a blank page?
#3

[eluser]n0xie[/eluser]
1. Are you sure mysql support is enabled in your php.ini?
2. Are you sure your database credetials are correct?
#4

[eluser]Thorpe Obazee[/eluser]
I don't know the reason but it could be that site_sentry is using CI sessions and it was loaded first before the Session Class

edit: oh wait, did you mean that the first one works and the second one doesn't?
#5

[eluser]sloth[/eluser]
@Dam1an : no function result a blank page...

@n0xie : i guess it about php.ini problem... i found php.ini w/o postgres support.. (server on linux) in windows, support enable on php.ini.. - i still find an postgres support -

@bargainph : that's no problem i loaded site_sentry first before session, not become a blank page.. it should be an error message if not correct...

anyone know where setting for support postgre in linux server... (i'm beginner in linux system)
____________________
sorry for my english
#6

[eluser]n0xie[/eluser]
[quote author="sloth" date="1241622981"](server on linux) in windows, [/quote]
Err wait what...?

I'm not familiar with postgresql support with php. If you're running on windows I think you should comment in the '.dll' in your php.ini (php_pgsql.dll? pgsql.dll? something like that) under the extension heading.

The same goes for Linux but it's probably a '.so' extension.

It depends highly on the serversetup...




Theme © iAndrew 2016 - Forum software by © MyBB