Welcome Guest, Not a member yet? Register   Sign In
Create custom library
#4

[eluser]TheFuzzy0ne[/eluser]
Sorry, I've just spotted your problem. $this is a variable, so it needs to be prefixed with a '$'.

In your index.php file, if you add the following to the top, it will enable error reporting and show you the problem:

Code:
error_reporting(E_ALL):
ini_set('display_errors', '1');

Just remember to disable it when your app goes live.


Messages In This Thread
Create custom library - by El Forum - 03-09-2013, 05:04 AM
Create custom library - by El Forum - 03-09-2013, 05:13 AM
Create custom library - by El Forum - 03-09-2013, 05:18 AM
Create custom library - by El Forum - 03-09-2013, 05:20 AM
Create custom library - by El Forum - 03-09-2013, 05:24 AM
Create custom library - by El Forum - 03-09-2013, 05:33 AM
Create custom library - by El Forum - 03-09-2013, 07:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB