CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    1

    Arrow Problem in shifting php cart to other domain

    HI

    I am new to PHP and I got a freelance project on PHP. My client has two domain in a single server. My work is to copy the shopping cart from existing site and intigrate it on the new site. Both the site are in same server but diffrent domain and working on PHP ver 5

    My problem is when I am shifting the entire cart php application to new site, it is showing below error message where as same files are running perfecting in my local system as well as the site from where I took all the cart page.

    Error

    Fatal error: Cannot use object of type cMySQL as array in /nfs/c01/h05/mnt/11913/domains/colormagnets.net/html/cart/classes/class.cart.php on line 255

    Please help out. I am really in problem... please.....

  2. #2

    Re: Problem in shifting php cart to other domain

    Sounds like either a permissions or a configuration issue. I'd check to make sure the file copies have the same permissions (or at least permissions for all web server(s)) to access them. Beyond that, check the config on the 2nd host to verify MySQL access is enabled.

  3. #3
    Join Date
    Oct 2008
    Location
    Tel Aviv, Berlin, L.A.
    Posts
    23

    Re: Problem in shifting php cart to other domain

    It might be a permission problem, too. First of all, it's a FATAL error on line n. - Could u provide some code??
    ariell
    programming is understanding

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured