Forums / General Questions / How to test in an offline environment?

How to test in an offline environment?

Views: 5,965

Results 41 to 45 of 45
1 Sep 2011, 8:56 PM
#41
drbyte avatar

drbyte

Sensei

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

How to test in an offline environment?

All the database settings are in configure.php

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

2 Sep 2011, 8:22 PM
#43
drbyte avatar

drbyte

Sensei

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

Re: How to test in an offline environment?

That's indicating that the database settings you supplied are incorrect, and it's thus unable to find the data in the database specified.

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

7 Sep 2011, 1:30 PM
#44
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: How to test in an offline environment?

DrByte:

That's indicating that the database settings you supplied are incorrect, and it's thus unable to find the data in the database specified.

[IMG]http://img269.imageshack.us/img269/2423/unledar.png[/IMG]

Well, at least the clone database exists. The file configure.php was modified to connect to ongrade_zc2 instead ongrade_zc1, so that means the only other problem that could exist is an incorrect username and password? If that's the case, how do I make a new username/password?

9 Sep 2011, 1:17 PM
#45
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How to test in an offline environment?

Tamuren:

If that's the case, how do I make a new username/password?

Quite easy (if your host provides the C-Panel admin hosting interface.)

Just go to the section where MySQL databases are managed.

create a new user and give the user a password.

Then ASSIGN that user to your chosen database, making sure to apply ALL permissions too.

Then, in configure.php files, state the new database username and the password.

20 years a Zencart User