Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need A Fix


Freedom Fighter

Recommended Posts

Posted

Simply use an ftp program, copy the /catalog/catalog files from your server to your hard drive, and from there simply upload them back to your server in your main www folder. From that point simply edit your /configure.php and /admin/configure.php files accordingly.

 

Hope this helps,

-Chris

Chris Sullivan

Posted

Alex

 

Have you ever bothered to read the docs from http://oscdox.com/ ???

 

Only reason I ask is because you've asked about 100 extremely basic questions here that are very thoroughly explained there. Wouldn't it make more sense (and make it quicker for you) to RTM? :wink:

Posted

Yes I have read them but I can just ask it on here and get a nice reply with lots of information.

 

Could you tell me exatly what I would need to edit in the /configure.php and the admin/configure.php

 

Thanks,

Alex

Extreme Alterations

Posted
It's not what your osC community can do for you, but what you can do for your osC community

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Because I am sucj a nice guy, and I was once new to this as well.

 

Your configure.php file will have to be changed to make way for the new catalog folder, and document root.

 

// Define the webserver and path parameters

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

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

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

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

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

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

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

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

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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

 define('DIR_FS_DOCUMENT_ROOT', 'Whatever your settings/wwwroot');

 define('DIR_FS_CATALOG', 'Whatever your settings/wwwroot');

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

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

 

There ya go. You will need to change this for both /includes/configure.php and /admiin/configure.php I hope this helps, but really....read the oscdox.com manual. It really will teach you a whole lot.

 

-Chris

Chris Sullivan

Posted

Nice Chris, that helped me too. Granted I don't have to make the necessary changes right now, I probably will in the near future. So, this is kinda like a future reference thingy.

 

Okay, I'm gettin' wic wic wacky. I'm out.

 

Peace.

JHouse

Posted

I changed it just like you said and moved the files.. Now I get this damn error message.

 

Parse error: parse error, unexpected T_STRING in /home/virtual/site4/fst/var/www/html/includes/configure.php on line 30

 

Fatal error: Failed opening required 'DIR_WS_FUNCTIONSsessions.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site4/fst/var/www/html/includes/application_top.php on line 160

 

 

PLEASE HELP!

 

Alex

Extreme Alterations

Posted

I just hope your store was not live when you did this...how come you have to re-install the whole thing? don't you have back ups?

 

anyway...good luck.

Archived

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

×
×
  • Create New...