Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Fatal error: Call to a member function on a non-object

    Hello,

    I have moved my files to new server, I ran installation again and I installed the shop..I can see the shop face, but admin has this error:

    [07-Feb-2008 15:33:37] PHP Fatal error: Call to a member function on a non-object in /shop/admin/includes/extra_datafiles/attributes_preview.php on line 27


    any help or advice?

    Thank you

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Fatal error: Call to a member function on a non-object

    Quote Originally Posted by alkayem View Post
    /admin/includes/extra_datafiles/attributes_preview.php
    Zen Cart does not have an attributes_preview.php file in the /admin/includes/extra_datafiles folder, unless it's something you've added.
    Perhaps removing that file or renaming it to .php1 may stop the error you're encountering.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function on a non-object

    Thank you !

    If I try to log in, I will get the error:

    There was a security error when trying to login.


    can you help me please in this?

  4. #4
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function on a non-object

    I have seen this:
    https://www.zen-cart.com/tutorials/i...hp?article=312

    I am using the defualt template..and havent changed anything...

  5. #5
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function on a non-object

    any help?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Fatal error: Call to a member function on a non-object

    Chances are that your FTP didn't load all your files to the new server correctly.
    Either that or you're using outdated files designed for an older version of Zen Cart.

    The exact situation you're now experiencing is unclear, so I'll direct you to this catch-all for troubleshooting:
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues

    If you still can't sort it out, a URL might help, so we can see the error in action.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Fatal error: Call to a member function on a non-object
    By joejoejoe in forum General Questions
    Replies: 1
    Last Post: 8 Jan 2013, 11:53 PM
  2. Replies: 6
    Last Post: 4 Jun 2007, 11:42 PM
  3. Fatal error: Call to a member function on a non-object
    By jonwil99 in forum General Questions
    Replies: 1
    Last Post: 18 Oct 2006, 03:01 PM
  4. Fatal error: Call to a member function on a non-object in
    By shawnz28 in forum Basic Configuration
    Replies: 5
    Last Post: 12 May 2006, 03:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg