Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/19/2021 :  15:57:00  
Our site was working earlier today, but all the sudden we get: You need to set your database connection in vsadmin/db_conn_open.php

What would cause this when I wasn't working or making changes to the site?

Michael

Edited by - Mikelli on 08/19/2021 16:17:41

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/19/2021 :  17:14:27  
I think there could be a number a things that happened to cause this.
Is it possible you have some kind of (new) directive in an .htaccess file and it's causing the dbconnopen file to not be found?

David

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/19/2021 :  18:37:12  
no, I have changed anything in this site in a while. it's the baby of the family


Michael

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/19/2021 :  20:13:00  
If the host made some kind of change, it's possible the path to the database might change.
Have you asked them?
Have you attempted to fix the connection? That may reveal the culprit actually.

For that matter, some hosts have databases on separate servers and the database server could be down.

Thanks,
David

Edited by - dbdave on 08/19/2021 20:14:22

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/20/2021 :  02:59:15  
It had the old script, I copied the new script off of a working site, changing the $db_host, $db_username, $db_password, $db_name

Now I get:
Database Connect Error (1045) Access denied for user 'name XXXXX'@'localhost' (using password: YES)
You need to set your database connection in vsadmin/db_conn_open.php
For help setting your database connection please see...
https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn
We also have a support forum here...
https://www.ecommercetemplates.com/support/

Michael

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/20/2021 :  03:05:21  
Regarding host, all 3 sites are with the same host the other two are working.

Michael

Vince
Administrator

42874 Posts

Posted - 08/20/2021 :  04:00:22  
Hi Michael
Have you tried getting your host involved? It may well be the know what is causing the problem.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

dewers
Ecommerce Template Guru

USA
1304 Posts

Posted - 08/20/2021 :  04:12:57  
You may want to try resetting your database user password, checking that the database user is assigned to the database, and the user has the appropriate privileges assigned.

Also, if your database user password has a dollar sign ($) in it then the password should be enclosed single quotes (') and not double-quotes (") in your db_conn_open.php file.

Daniel Ewers
DRAYE Solutions
draye-sol.com

Edited by - dewers on 08/20/2021 04:14:37

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/20/2021 :  05:53:47  
Thanks Dave, Vince and Daniel,

Daniel was right, reset password . . . go figure how it change all by its little self

Have a Great Day Everyone

Michael

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/23/2021 :  09:46:42  
Well, I just had a different site do the same thing as the one last week. I contacted my host and they reset the database (something about getting bottled up with open connections or some such). Anyway, the website and shopping cart are working again. But now I can't get in the back end of the store. HELP !!

Michael

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/23/2021 :  09:50:58  
Are you using a hidden vsadmin folder? If so, you would need to change the DB connection password there as well.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/23/2021 :  09:52:30  
WAIT !! I can't log into my secret admin, but can into the vsadmin. How do I change it back?


Michael

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/23/2021 :  09:57:07  
If you can get into the admin @ vsadmin, and not your secret copy of vsadmin, they copy the db_conn_open file from vsadmin to secret admin and upload to the server.

David

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 08/23/2021 :  10:02:47  
Thanks Marshal, they told me that the PW wasn't changed but it did. I uploaded to the secret admin and it's working again.

I hate this stuff changing all by it's self. That is frustrating !! I totally understand when "I BREAK IT"


Michael
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000