
|
View Full Version : Help with shopping cart!
help the new 02-17-2009, 06:21 PM Hi,
I tried to install a shopping cart, but every time I get an error saying that the database server name is incorrect. I tried way too long if you ask me, with one shopping cart and every time I got that same error. I read around and I heard zeus cart was ok, so I uploaded that. I actually get the same problem. The server name is localhost, but if I use that or the IP I get a message saying check server name. I contacted my host and he says it's good. Can anyone tell me what might be the problem? Could it be that I need some permission somewhere?
WebDevourer 02-17-2009, 10:58 PM If that does not work obviously your host did not check correctly. The script seems to not be able to communicate with the database. It may be a permission or a firewall problem if the database is located on a different server. Your host should normally be able to help you, but that does not seem the case!
tuxpack 02-18-2009, 04:58 AM Hi,
If your host is using a different server for database, you may need to use the IP address instead of localhost.. ..and Yes, its something your host is supposed to help.
erystiva 02-18-2009, 05:36 AM Do you have any other scripts using the database? How are you entering the database information; via running a install script or via a config file? Also, in your host control panel, can you setup additional databases, if so create a new one with unique database name, username and password and then try installing the cart to that database.
mojo3120 02-22-2009, 11:22 AM Hi,
If your host is using a different server for database, you may need to use the IP address instead of localhost.. ..and Yes, its something your host is supposed to help.
being on a shared host, I can almost guarantee they're running separate database servers. You'll need the location of their database server to use in place of localhost.
being on a shared host, I can almost guarantee they're running separate database servers.
I can't think of one that I've used where localhost didn't work, nor did any of them mention they used a separate DB server. You have anything to back that statement up?
The server name is localhost, but if I use that or the IP I get a message saying check server name.
Just making sure this isn't a misunderstanding, 4 bits of info are needed to connect scripts to a database:
db_name
db_user
password
server
Are you possibly mixing up "db_name" and "server"? Can you post the actual relevant configuration file (hide the password) that relates to setting up the script?
mojo3120 02-22-2009, 12:14 PM You have anything to back that statement up?
Not really :stickout:.
Being a server admin (manage about half a dozen private servers), w/ all the junk that gets crammed onto shared hosts, I'd imagine it'd be a nightmare trying to manage mysql servers running on the same machines as the web servers :confused: .
If you say localhost works for most you've dealt with then I'm probably wrong. The only shared host I've even dealt with in the past year or so is Dreamhost.
I guess guarantee probably wasn't the best word to use there :stickout:. It's definitely something to check though.
dreamcodedesign 02-22-2009, 01:34 PM What shopping cart are you using exactly? Sometimes scripts don't like those random generated passwords cPanel makes up.
help the new 02-23-2009, 10:23 AM Thanks for all the replies guys.
It appeared that the problem was with the way the names of the database and the user were presented. Since I'm new to this, it appeared I had to write my cpanel username before the database name and database username like cpusername_help the new. Only it took a little too long for the host to tell me what the problem was. Over one weekend I did not even get an answer and I had to tell him twice to go into my account to do it himself. I supposed he was an expert, and he would definitely spot the problem at a glance. Which actually happened too when he did look at the config file. Thanks for all the info guys.
help the new 02-23-2009, 10:30 AM Oh and for the shopping cart.
I first used ashop deluxe, but it appeared what they offered was not really what I wanted, so I tried to install zeus cart. Unfortunately the currency part in the setup was empty. Empty dropdown lists, just like that. So I first did a live chat, with a guy that probably knew less than me, but he told me that if it was a problem, they could install it for me for 50 euro. I told him I was not that stupid, so he told me to submit a ticket. Their reply was that I should upload all the files! How stupid am I to be to download a part of a program and leave the rest out. I know that some parts are probably needless, but since I don't know which, I just upload every thing. You can disable the needless anyway. So I thought: forget you. I downloaded cube cart. I'll see if that fits my needs.
dreamcodedesign 02-23-2009, 01:13 PM Oh and for the shopping cart.
I first used ashop deluxe, but it appeared what they offered was not really what I wanted, so I tried to install zeus cart. Unfortunately the currency part in the setup was empty. Empty dropdown lists, just like that. So I first did a live chat, with a guy that probably knew less than me, but he told me that if it was a problem, they could install it for me for 50 euro. I told him I was not that stupid, so he told me to submit a ticket. Their reply was that I should upload all the files! How stupid am I to be to download a part of a program and leave the rest out. I know that some parts are probably needless, but since I don't know which, I just upload every thing. You can disable the needless anyway. So I thought: forget you. I downloaded cube cart. I'll see if that fits my needs.
Sorry to hear. Hopefully you get the issue resolved amd find CubeCart to your liking. Best of Luck! Please keep us updated. :)
|