|
-
September 25th, 2008, 11:01 PM
#1
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.....
-
September 26th, 2008, 07:39 AM
#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.
-
October 2nd, 2008, 06:30 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|