Cake php error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roula
    New Member
    • Mar 2007
    • 18

    #1

    Cake php error

    Hi,

    I am using cake php for a website, and it was all working fine my local pc, but when I uploaded it on the host it gave me this error without showing anything:

    Code:
    Flash('The Content deleted: id '.$id.''); $this->redirect('/contents/index');  } } } ?>
     on  line Fatal error: Cannot instantiate non-existent class:  contentscontroller in  \\nas33ent\domains\d\syrainmilliondollar.com\user\htdocs\cake\dispatcher.php158
    anyone knows anything about cake php or this error?

    thanks for the help...
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    I don't know anything about cake, but the error would indicate that a class is missing.
    Did you perhaps forget to copy some of the files?
    Or maybe edit the path in the include statement so it is trying to include from localhost?

    Comment

    • roula
      New Member
      • Mar 2007
      • 18

      #3
      Originally posted by Atli
      Hi.

      I don't know anything about cake, but the error would indicate that a class is missing.
      Did you perhaps forget to copy some of the files?
      Or maybe edit the path in the include statement so it is trying to include from localhost?
      THANK YOU :D
      first i checked for the localhost thing but it was all correct, so I was gona reply back to u and say that it didn't work, but I thought I would check the uploaded files one by one, and I can't believe one of them was uploaded but the file size was not matching the one on my local pc.. I uploaded again and it worked just great :)

      thanks alot for your tip now i'm much more happy

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        Glad it worked out :)

        Comment

        Working...