Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using Vista IIS7, MYSQL, PHP , configure.php error, help!


raceonusa.com

Recommended Posts

Am I supposed to put this here? (c:\inetpub\wwwroot\catalog)

 

Im running vista, so I have windows paths..

 

define('DIR_FS_DOCUMENT_ROOT', 'c:\inetpub\wwwroot\catalog')

 

 

My catalog works :blink: , but when I go to /admin I get this error...

 

 

:'(

Parse error: syntax error, unexpected T_STRING in C:\inetpub\wwwroot\catalog\admin\includes\configure.php on line 18

 

 

 

 

Here's my configure.php.

 

(by the way is there a sample one of these on a window server someone can post, so I can edit and copy it?)

 

 

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://localhost');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'c:\inetpub\wwwroot\catalog'); where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '\wwwroot\catalog\admin'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '\wwwroot\catalog'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'oscommerce');

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

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

?>

Link to comment
Share on other sites

Hello,

 

I can not help you about the issue you raise in this forum, but maybe I can get a little help.

I am trying to install OsCommerce on Vista with IIS7, PHP 5.2.1 (installed in Inetpub following the instructions I found at the

http://blogs.msdn.com/david.wang/archive/2...S7-Part-2.aspx) and mySQL 4.1 and I have a hard time.

I had an installation on Windows XP with IIS6, PHP 4.3.10 and mySql 4.1 and all worked fine.

Now I am trying to install OsCommerce and after the first screen I select "Install" enter into the second screen where I am asked about New installation. When I press "Continue" it is remaining in the same screen. Did you have the same problem ?

Can you tell me the configuration you are using and the way you installed PHP and mySQL ?

 

 

 

Dragos

Link to comment
Share on other sites

You are fighting a losing battle trying to get OSC running on IIS. Maybe look at installing Apache. It comes with a Windows installer.

 

Also there is an issue with PHP 5, I had the same issue with the continue button on the second page, changed hosts who use PHP 4 and it all ran smoothly!!

 

My hosting company has PHP 4 and 5 installed on its servers.

 

There is a contribution around the install problem, but my store didnt work properly with it with the template I was using.

 

Jub

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...