Welcome Guest, Not a member yet? Register   Sign In
New site - Stops right before load_class('Hooks');
#1

[eluser]louis w[/eluser]
I have a site that I made locally and this is the first time I am testing it out on a remote server. When I load up the site it just shows a white page, no errors and nothing in the logs.

My index page contains
Code:
error_reporting(E_ALL);
    ini_set('display_errors', 'On');

I tracked it down to line 78 in Codeigniter.php. It stops right before making this call:
Code:
$EXT =& load_class('Hooks');

I am working under PHP Version 5.2.6 on FreeBSD. The host is pair.com

Has anyone ever experienced this?
#2

[eluser]louis w[/eluser]
Ok... so it took some digging but it ended up being the first call to log_message which happens in the Config class. Figured it was a file write permissions issue and then found this on pair:

http://www.pair.com/support/knowledge_ba...iwrap.html

Seems like if you want php to have access to files on the server you need to add some cgi stuff.

I will leave this up here for anyone who experiences the same problem.
#3

[eluser]Unknown[/eluser]
I had the same problem after switching servers. Changing permissions: 'chmod 777 logs' (to enable writing to the logs) solved the problem for me.




Theme © iAndrew 2016 - Forum software by © MyBB