Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need major help installing


VMJ

Recommended Posts

I have uploaded all files via ftp to my server and when I point my browser to http://www.virtualmusicjukebox.com/shop/install/index.php, I get the following error.

 

Fatal error: Failed opening required 'includes/functions/general.php' (include_path='c:\php4\pear') in C:\webhosts-1\virtualmusicjukebox\shop\install\includes\application.php on line 22

 

What the heck is going on? What do I need to do to install? It works fine when I installed on my laptop, but it won't work on my server.

 

Please help me!

Mike Davis

www.virtualmusicjukebox.com

The Best Digital MP3 Jukebox Player!

Link to comment
Share on other sites

First, if you have installed OSC with the standard directory trees, you have the incorrect location for the install file. It is:

 

http://www.yourwebsite.com/xxxxx/install/install.php

 

Instead of /install/index.php

 

Second, check your configure.php file and make sure url's and paths are correct.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

I uploaded the contents of the shop directory to www.virtualmusicjukebox.com/shop/.

 

I navigated to: http://www.virtualmusicjukebox.com/shop/install/install.php

 

I get the same error message:

 

Fatal error: Failed opening required 'includes/functions/general.php' (include_path='c:\php4\pear') in C:\webhosts-1\virtualmusicjukebox\shop\install\includes\application.php on line 22

Mike Davis

www.virtualmusicjukebox.com

The Best Digital MP3 Jukebox Player!

Link to comment
Share on other sites

There are two:

 

1)catalog/inceludes/configure.php

2)catalog/admin/includes/configure.php

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

I've changed darn near every setting in those two files that I can think of and still no luck.

 

I think my server "Vision Net" uses a windows based invironment if that makes any difference.

 

My database info is correct, for obvious reasons I didn't include that below.

 

Any suggestions??????

 

Here's my catalog/inceludes/configure.php

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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://www.virtualmusicjukebox.com'; // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.virtualmusicjukebox.com'; // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

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

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

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Please help!

Mike Davis

www.virtualmusicjukebox.com

The Best Digital MP3 Jukebox Player!

Link to comment
Share on other sites

Add "/shop" to both the following settings:

 

define('DIR_WS_HTTP_CATALOG', '/shop');
define('DIR_WS_HTTPS_CATALOG', '/shop');

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

I made the changes as you mentioned.

Here's my new config.php:

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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://www.virtualmusicjukebox.com'; // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.virtualmusicjukebox.com'; // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/shop');

define('DIR_WS_HTTPS_CATALOG', '/shop');

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

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

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', '**');

define('DB_SERVER_USERNAME', '**');

define('DB_SERVER_PASSWORD', '**');

define('DB_DATABASE', '**');

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

define('STORE_SESSIONS', 'mysql');

?>

I just now added the '***' for security reasons in the database section above.

 

 

 

 

After I made the changes you recommended, I still get the following error:

 

Fatal error: Failed opening required 'includes/configure.php' (include_path='c:\php4\pear') in C:\webhosts-1\virtualmusicjukebox\shop\includes\application_top.php on line 29

 

 

Any other suggestions?

 

Thanks.

Mike Davis

www.virtualmusicjukebox.com

The Best Digital MP3 Jukebox Player!

Link to comment
Share on other sites

I got the following message when I tried to access this file directly:

 

Parse error: parse error in C:\webhosts-1\virtualmusicjukebox\shop\includes\configure.php on line 16

 

If the file was properly configured I would have just gotten a blank page. I believe I may have found it. You are missing the right ")" on both these lines:

 

 

define('HTTP_SERVER', 'http://www.virtualmusicjukebox.com'; // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.virtualmusicjukebox.com'; // eg, https://localhost - should not be empty for productive servers

 

Like this:
define('HTTPS_SERVER', 'https://www.virtualmusicjukebox.com');
define('HTTPS_SERVER', 'https://www.virtualmusicjukebox.com');  

That should do it

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Try one more thing:

 

Open your configure.php file in a text editor and make sure that there is not an extra hidden space after the "?>" closing tag.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

I opened in text editor and made sure no extra spaces were present. I still get the same error.

 

I noticed that my message board's config file uses a path like this:

C:/webhosts-1/virtualmusicjukebox/yabbse

 

Should any of the paths of the config file be set like mentioned above (minus the yabbse of course)? If so, which ones?

Mike Davis

www.virtualmusicjukebox.com

The Best Digital MP3 Jukebox Player!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...