Forums / Installing on a Linux/Unix Server / Switching servers.. db name problem

Switching servers.. db name problem

Locked

Started by ersio on 30 Mar 2010, 12:32 PM · Views: 5,866

Results 21 to 40 of 43
This thread is locked. New replies are disabled.
31 Mar 2010, 6:09 PM
#21
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Switching servers.. db name problem

Twaddle:

Did you or they change the DNS?

Most say up to 24 hours, other like GoDaddy say 72hours.... in reality it's often only 3... though it then has to propgate across the rest of the world

where do I check this?

I know about 3 hours ago I changed name servers on godaddy from theres("parked") to the servers names that bluehost told me to type in

31 Mar 2010, 6:16 PM
#22
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Switching servers.. db name problem

http://whois.domaintools.com/zen-cart.com

just replace the zencart name with your domain to check.

You really should have a control panel where you can check this though

31 Mar 2010, 6:26 PM
#23
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

Domain servers in listed order:
NS1.BLUEHOST.COM
NS2.BLUEHOST.COM

31 Mar 2010, 6:42 PM
#24
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Switching servers.. db name problem

So far so good, if you can FTP into your new host, edit the index.html file or create one, something personal so you know that image has gone, it's doesn't need to say anything other than Jon woz ere... just so you know you now have ftp control. Though for full control if it you might still have to wait 24 hours and find it goes offline

31 Mar 2010, 6:43 PM
#25
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

I know the ftp, I've loaded all my ftp files from my old server over, I just have no idea while that booger is showing!

It's really getting frustrating, this switch over, I just want the stuff up and running, I have already gotten some emails from customers.

31 Mar 2010, 6:56 PM
#26
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Switching servers.. db name problem

It's called domain propogation. Just be happy it doesn't have GoDaddy written on it ;)

It's looking fine, just give it ime. Technically it could be up to 72 hours. Maybe you misheard when I think back, they might have said 60 hours

If they have their moniker on it already I'd say you were good to get going and get some index file in there to test it

31 Mar 2010, 6:58 PM
#27
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

I'm positive its an error on my hand.

I followed all the steps correctly on taking my mysql db exported and then imported into the new db hoster.

I also used fillzilla to take all my files to desktop and then reloaded them all to new ftp.

I don't want to reinstall cause I will loss all my customer data and everything I had tweaked in programming

I know in the top left of my php admin that the db name is not the same

It used to be store
with bluehost it's now
ersio_store

Is th is the problem?

31 Mar 2010, 7:16 PM
#28
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Switching servers.. db name problem

Um ... what folder did you upload everything INTO?

Your website will only show files which exist under the public_html folder.

.
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.

31 Mar 2010, 7:24 PM
#29
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

DrByte:

Um ... what folder did you upload everything INTO?

Your website will only show files which exist under the public_html folder.
I called tech support on that in the beginning, but I actually did upload them in the wrong place, then as I was on the phone, she worked it out with me and even stated that she could see files being uploaded to the public

31 Mar 2010, 7:52 PM
#30
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

ersio:

I called tech support on that in the beginning, but I actually did upload them in the wrong place, then as I was on the phone, she worked it out with me and even stated that she could see files being uploaded to the public

Sinjce I can't edit, that was meant as before hand and I still have this problem with the website showing the previous image.

31 Mar 2010, 8:31 PM
#31
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Switching servers.. db name problem

On yahoo hosting, there is no public_html. Everything is already in yahoo's public_html section.

On common cPanel-configured hosting (such as Bluehost), you have a home directory, in which you also have a public_html folder (and a www alias which points to public_html).

Inside your public_html folder you'll find all the files that can be accessed via a browser when visiting your site.

When your account was set up, it probably already contained an index.html file, and/or several others. If you didn't delete those before uploading your own files, then it's very possible that those are taking precedence (ie: the index.html is loading before the index.php gets a chance to be found). In that case, delete the index.html file.

If that doesn't solve it, you'll need to contact their tech support again to figure out what exactly you're doing wrong.

.
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.

31 Mar 2010, 8:37 PM
#32
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Switching servers.. db name problem

What's the domain? Let's see if it's working first, yes?

31 Mar 2010, 8:47 PM
#33
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

DrByte:

On yahoo hosting, there is no public_html. Everything is already in yahoo's public_html section.

On common cPanel-configured hosting (such as Bluehost), you have a home directory, in which you also have a public_html folder (and a www alias which points to public_html).

Inside your public_html folder you'll find all the files that can be accessed via a browser when visiting your site.

When your account was set up, it probably already contained an index.html file, and/or several others. If you didn't delete those before uploading your own files, then it's very possible that those are taking precedence (ie: the index.html is loading before the index.php gets a chance to be found). In that case, delete the index.html file.

If that doesn't solve it, you'll need to contact their tech support again to figure out what exactly you're doing wrong.

WOOHOO, 1 PROBLEM DOWN, ANOTHER ARISES :p

Kiding of course, but I know we are close, heres a pic of my next problem.


What am I looking for in all of these files that has changed??

31 Mar 2010, 8:49 PM
#34
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

Am I looking to change these items only??

define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '
**');
define('DB_DATABASE', 'store');

Cause I know now and stated before my db name is shown as like

kentucm9_store

31 Mar 2010, 9:01 PM
#35
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Switching servers.. db name problem

You also need to set the proper paths in your configure.php files.

Or, if you follow the FAQ on moving between servers, then the correct configure.php file contents will be automatically built for you.
https://www.zen-cart.com/tutorials/index.php?article=100

.
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.

31 Mar 2010, 9:18 PM
#36
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

DrByte:

You also need to set the proper paths in your configure.php files.

Or, if you follow the FAQ on moving between servers, then the correct configure.php file contents will be automatically built for you.
https://www.zen-cart.com/tutorials/index.php?article=100

Theres only 2 configure files and I only change the above paths I posted?

or on the link, as long as I have all backups made, I can do a fresh install on the new serv, basically overwrite all files except whats noted and then I load up my db tables from my old site to where I will have the site running again, but with all old info there, including customers etc.

31 Mar 2010, 9:46 PM
#37
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Switching servers.. db name problem

What's this site going to sell when it's all set up? Custom Zen Cart sites?

Only kidding.... stick with it, I think you're getting there. You can only learn by trying.., failing.., studying.... trying again... oh try a reinstall again at 3am..... and lo and behold you get an email from your support ticket to yout hosts and they admit, "WE'RE NOT CLEVER" :D

31 Mar 2010, 9:48 PM
#38
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Switching servers.. db name problem

The FAQ is very clear. There's no point in me re-typing it all here again.

.
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.

31 Mar 2010, 11:59 PM
#39
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

ok I did everything on there, including the catch fix key, and now my index page is blank. but I can log into admin just fine and see all my old information

1 Apr 2010, 3:00 AM
#40
ersio avatar

ersio

New Zenner

Join Date:
Oct 2008
Posts:
41
Plugin Contributions:
0

Re: Switching servers.. db name problem

thanks for all your help!!!!!!!

I got it finally working bout 2 minutes ago!