Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images not showing


JJsson

Recommended Posts

Hi all.

I've tried to install oscommerce and everything went just fine.

The shops looks great here at the computer I am using for it but for everyone else the imgs do not show.

I've also got this same problem with my mambo project.

Thanks.

Link to comment
Share on other sites

Hi all.

I've tried to install oscommerce and everything went just fine.

The shops looks great here at the computer I am using for it but for everyone else the imgs do not show.

I've also got this same problem with my mambo project.

Thanks.

 

I am running WAMP5/Win XP

Link to comment
Share on other sites

Hi all.

I've tried to install oscommerce and everything went just fine.

The shops looks great here at the computer I am using for it but for everyone else the imgs do not show.

I've also got this same problem with my mambo project.

Thanks.

Hi try this thread.

http://www.oscommerce.com/forums/index.php?sho...91entry583691

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Ok. everything is fine with that now.

Now I get:

 

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'abc123' (11001) in c:\..\...\...\catalog\includes\functions\database.php on line 19

Unable to connect to database server!

 

line 19 looks like this:

 

$$link = mysql_connect($server, $username, $password);

 

I have one db called abc123

 

my config file in catalog/includes:

define('HTTP_SERVER', 'http://www.mypage.com/');

 

// define our database connection

  define('DB_SERVER', 'abc123'); // eg, localhost - should not be empty for productive servers

  define('DB_SERVER_USERNAME', sameasinphpmyadmin');

  define('DB_SERVER_PASSWORD', 'ditto');

  define('DB_DATABASE', 'abc123');

  define('USE_PCONNECT', 'false'); // use persistent connections?

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

the configure in theadmindirectory/includes:

 

define('HTTP_SERVER', 'mypage.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

  define('HTTP_CATALOG_SERVER', 'http://mypage.com/catalog');

define('DIR_WS_ADMIN', '/myadmindirectoryname/');

 

// define our database connection

  define('DB_SERVER', 'abc123');

  define('DB_SERVER_USERNAME', 'sameusrnameasinphpmyadmin');

  define('DB_SERVER_PASSWORD', 'ditto');

  define('DB_DATABASE', 'abc123');

  define('USE_PCONNECT', 'false');

  define('STORE_SESSIONS', '');

?>

 

:o

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...