Jump to:

3373 Posts in 998 Topics by 712 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Fatal Error

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 313 Views
  • anny
    Avatar
    Community Member
    3 Posts

    Fatal Error Link to this post

    i am trying to work on the following code in PHP with Class. This class contains the CRUD (create, read/fetch, update and delete) functions.
    when m running it in wamp.... it gives the errors like:

    in the insert case: Fatal error: Fatal error: Call to a member function exec() on a non-object in C:\wamp\www\new DAO\dao.php on line 37

    in the fetch case: Fatal error: Call to a member function query() on a non-object in C:\wamp\www\new DAO\dao.php on line 53

    in the update case: it is not working

    in the delete case: Fatal error: Call to a member function query() on a non-object in C:\wamp\www\new DAO\dao.php on line 53

    plz help me to solve these problems...... if not all but atleast one

    Attached Files
  • martimiz
    Avatar
    Forum Moderator
    1035 Posts

    Re: Fatal Error Link to this post

    I fail to see how this has anything to do with the SilverStripe framework? This is not really the right place for general PHP questions... But maybe I'm missing something?

  • anny
    Avatar
    Community Member
    3 Posts

    Re: Fatal Error Link to this post

    but now how will you help me???

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Fatal Error Link to this post

    There is nothing here that relates to silverstripe, this forum is for discussing silverstipe.

    If you want regular php help please try www.php.net or maybe something like www.php-forum.com or comp.lang.php

  • anny
    Avatar
    Community Member
    3 Posts

    Re: Fatal Error Link to this post

    Thank you so much

    313 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.