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

How to test in an offline environment?

Views: 5,932

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:
177

How to test in an offline environment?

All the database settings are in configure.php

2 Sep 2011, 5:27 PM
#42
tamuren avatar

tamuren

New Zenner

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

Re: How to test in an offline environment?

I changed configure.php to use my clone database. When I did this, I got the following screen:

[IMG]http://img585.imageshack.us/img585/6291/uhohb.jpg[/IMG]

What's going on here?

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

drbyte

Sensei

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

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.

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.