Welcome Guest, Not a member yet? Register   Sign In
“404 Page Not Found” errors.
#5

[eluser]mdcode[/eluser]
Just a guess as I can't remember the actual error I was getting when trying to start out, but are the versions of PHP different on your localhost as opposed to your live Linux box? PHP5 (the version mostly seeming to be installed on Linux boxes nowadays) require this to be at the start of your Controller instead of the class name:

Code:
class Pri extends Controller {
    
    function __construct()
    
    // continue on with the rest of the controller code...


Messages In This Thread
“404 Page Not Found” errors. - by El Forum - 09-07-2009, 10:54 AM
“404 Page Not Found” errors. - by El Forum - 09-07-2009, 11:12 AM
“404 Page Not Found” errors. - by El Forum - 09-07-2009, 11:15 AM
“404 Page Not Found” errors. - by El Forum - 09-07-2009, 11:25 AM
“404 Page Not Found” errors. - by El Forum - 09-07-2009, 04:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB