Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Installation Error


braylark

Recommended Posts

Posted

Hey everyone ... my first post so bare with me.

 

Ive installed OSCommerce before on other servers however this is my first time using globat.com as a web host and I'm getting a very annoying error. They offer OSCommerce as a option on there site so I know the server is compatible. I created a new database and modified a user for it ... and when i go to install on the server it connects to database but the step after that it gives me this error saying this.

 

New Installation

 

Database Import

 

The following error has occurred:

 

SQL file does not exist: /usr/local/psa/home/vhosts/install/oscommerce.sql

 

I checked to make sure that the file was uploaded on my server and it appears that it is ... am i missing something here ... im having one of those really dumb moments right now and I have given up on thinking .... Can someone please help me out. :'(

Posted

ok .. so i used phpmyadmin to upload the database manually ... that part worked ... but when i went throuh the rest of the install, when it finished, and told me to click either catalog or admin .... i clicked catalog and it took me back to the original installation screen ... i went back to click admin ... and it said Unable to connect to database server!

 

someone please help

Posted

please guys cmon .... ive tried everything .... even read most of the posts involving this issue and used their methods as well ...

 

// replaced this:

// $script_filename = getenv('PATH_TRANSLATED');

// with this:

$script_filename = $_SERVER["PATH_TRANSLATED"];

 

if (empty($script_filename)) {

 

// And changed this:

// $script_filename = getenv('SCRIPT_FILENAME');

// to this:

$script_filename = $_SERVER["SCRIPT_FILENAME"];

}

 

nothing is working ... i would hate to have to result to paying someone to install oscommerce on a server .... that would make me feel really dumb then ... :(

Posted

ok i got it to work and not give me that error anymore ... however now ... whenever i go to the shop it comes back up with the installation screen ..... ive already installed it ....whats going on here?

Posted

ok now when i go to the url for the store i get this

 

Unable to connect to database server!

 

do i need to change my root folder somewhere .. if so where? or is that even the issue ... i would really appreciate some comments here people .... sorry to sound rude but any programmer would tell you its very frustrating when things arent going your way.

  • 1 month later...
Posted

Did you ever solve the installation problem? I gave up trying to do it manually and went with the one-click install. (I was trying to do it manually because the first time I looked they still has version 1.x as the installation.)

 

I haven't worked out all of my bugs yet, I still have image problems on the admin side since it's in the secure directory. I'm *almost* there, though.

 

Valerie

 

Ive installed OSCommerce before on other servers however this is my first time using globat.com as a web host and I'm getting a very annoying error. They offer OSCommerce as a option on there site so I know the server is compatible. I created a new database and modified a user for it ... and when i go to install on the server it connects to database but the step after that it gives me this error saying this.

...

 

I checked to make sure that the file was uploaded on my server and it appears that it is ... am i missing something here ... im having one of those really dumb moments right now and I have given up on thinking .... Can someone please help me out. :'(

Archived

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

×
×
  • Create New...