Post by ebtech » Wed Nov 28, 2007 3:20 am

Oops I did not notice the date on the post.  ::)
I'm still getting an error on install though outlined here
http://forum.opencart.com/index.php?topic=665.0

Newbie

Posts

Joined
Mon Nov 12, 2007 7:59 am

Post by myhotgift » Wed Nov 28, 2007 8:32 am

tchemis wrote:
ebtech wrote: I don't see the $db_username error in my file. The posted fix (index.txt) is not working for me.
Hello, if you noticed this error was back in January, are you receiving these errors with the latest version?

Quote from: ottz0 on October 22, 2007, 09:17:15 AM
Hi

Step 1 & 2 :

1) I've created a new database called open_cart in phpmyadmin
2) made a new username and password with all privillages and assigned it to the open_cart database

Step 3 :

database host: localhost
username and password (what i assigned in phpmyadmin)
database name (open_cart)

and cannot connect?
Error: Could not connect to the database please make sure the database server, username and password is correct!



Can you see anything wrong in what iv'e done?
My error occurs in step 3 and can not connect?
After search the whole forum, but still can not solve it.
Any idea?
Last edited by myhotgift on Wed Nov 28, 2007 8:35 am, edited 1 time in total.

Newbie

Posts

Joined
Tue Nov 27, 2007 12:54 pm

Post by allenofthetower » Wed May 21, 2008 6:33 am

I tried putting in the IP address instead of "localhost"

Then I made it to Step 3.  NOw I'm stuck with and Admin and password that I never created.

I usually use Simplescripts, but this option is NOT offered with Network Solutions - where this new client hosts his site.

Now I'm stuck.

New member

Posts

Joined
Thu Apr 10, 2008 8:48 am

Post by allenofthetower » Wed May 21, 2008 6:34 am

Notice: Undefined index: db_host in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 345

Notice: Undefined index: db_user in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 346

Notice: Undefined index: db_password in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 347

Notice: Undefined index: db_name in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 348

Notice: Undefined index: db_host in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 389

Notice: Undefined index: db_user in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 390

Notice: Undefined index: db_password in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 391

Notice: Undefined index: db_name in /data/15/1/110/105/1436757/user/1543488/htdocs/cart/install/index.php on line 392
Step 3 - Administration
Error: Could not connect to the database please make sure the database server, username and password is correct!

Please enter a username and password for the administration.
*Username: Admin
*Password:

New member

Posts

Joined
Thu Apr 10, 2008 8:48 am

Post by Luvz2drv » Wed May 21, 2008 11:15 am

kind of an old thread...  but ok --  what version of php/apache  url?  more info is realy needed

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by allenofthetower » Wed May 21, 2008 9:08 pm

http://bornfreegalleries.com/cart/install/ - gets you most of the info - I'll check with Network solutions on the Apache verison.

New member

Posts

Joined
Thu Apr 10, 2008 8:48 am

Post by ristretto6 » Sun May 25, 2008 7:31 am

Hi, I'm having the same problem, of getting the error message

"Error: Could not connect to the database please make sure the database server, username and password is correct!"

when entering my database information.  I looked at the install.ini file but couldn't figure out what you changed to make yours work.  I guess first of all I should clarify, is my database host "localhost" or "yarniapdx.com"? (that is the domain where my site is located).  Anyway, I know the database name and password that I'm entering are correct, and I've tried both "yarniapdx" and "yarniapdx@localhost" as the username...basically I've tried every permutation I can think of and can't figure out what I'm doing wrong.

Initially I had the files in a subdirectory called /onlineShop/ so they wouldn't get mixed up with my other files in case I decided not to go this route, but then tried it with them all in the main root directory and it still won't work...

Could you explain specifically what you changed to make it work, and If I'm on the right track here?
Thanks!

New member

Posts

Joined
Sat May 24, 2008 6:18 am
Who is online

Users browsing this forum: No registered users and 1 guest