• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
“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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.