Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Problems "unable to connect to database server!"


AtomicVette

Recommended Posts

Posted

Okay, I was following the installation document "documentation.pdf" which came with the software package.

 

Everything upladed fine, i was able to get to http://ste.badimagegraphics.com/catalog/install and start the installation procedure, but that's where the documentation and install fall apart.

 

I get this page. Everything appears okay on the page but it looks nothing like the install document describes.

 

osinstall.jpg

 

 

 

after that I get this page, I put in all my information as shown.

 

osinstall2.jpg

 

Then I get this page.

I enter my info as shown

 

osinstall3.jpg

 

Then I get this page

I enter my info as show again.

 

 

osinstall4.jpg

 

Then this page comes up, I figured okay it worked pretty good.

 

osinstall5.jpg

 

If i click "Catalog" I get this.

 

osinstall6.jpg

 

If I click "Administration" I get this.

 

osinstall7.jpg

 

 

Here is my directory structure.

 

osinstall8.jpg

 

 

 

So all that bing said, is there an install document that actually follows the software correctly?

I had to manually edit the "configure.php" to get this far.

Posted

go to admin/includes/configure.php and check the database settings there

 

compare it with includes/configure.php

 

The database settings for the admin panel is wrong and not correct and so it is giving a database connection error while the front end catalog works.

 

you have correct database settings for the frontend in includes/configure.php

 

copy those database lines to admin/includes/configure.php

 

regards

Posted

Okay, that got me a little further, I get the admin login page, but when I try to login it just takes me right back to the admin login page again. No error messages or anything.

 

Also what about my directory structure? to get the pictures to show up I have to pull all the directories down by one level. eg..

 

This is how the files unpacked and were uploaded:

 

-root

|_____Catalog

|_____ Admin

|_____ Download

|_____ EXT

|_____ images

|_____ includes

|_____ install

|_____ pub

 

this is how I had to re arrange them to get everything to work:

 

-root

|_____ Catalog

|_____ Admin

|_____ Download

|_____ EXT

|_____ images

|_____ includes

|_____ install

|_____ pub

 

Everything had to be on the same level as catalog.. is this a problem with one of my path statments or somthing in the configure.php file? or is this the way it's supposed to be setup?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...