Welcome Guest, Not a member yet? Register   Sign In
hooks + database(not able to access database)
#5

[eluser]nirbhab[/eluser]
I pasted the above code:
n guess wht

Quote:A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: hooks/getsystem.php

Line Number: 10
Fatal error: Call to a member function database() on a non-object in D:\www\vhosts\localhost\hook\system\application\hooks\getsystem.php on line 10



one more thing to mention:

i am auto loading database:
autoload.php
Code:
$autoload['libraries'] = array('database');


Messages In This Thread
hooks + database(not able to access database) - by El Forum - 01-15-2008, 11:22 PM
hooks + database(not able to access database) - by El Forum - 01-16-2008, 12:08 AM
hooks + database(not able to access database) - by El Forum - 01-16-2008, 12:19 AM
hooks + database(not able to access database) - by El Forum - 01-16-2008, 12:28 AM
hooks + database(not able to access database) - by El Forum - 01-16-2008, 04:04 AM
hooks + database(not able to access database) - by El Forum - 01-16-2008, 05:59 AM
hooks + database(not able to access database) - by El Forum - 01-16-2008, 09:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB