View Single Post
  #14  
Old 04-30-2005, 11:51 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

I setup the cron job in cPanel and it does work when I just tested it on a line command, BUT, it generates the catalog at root level. The problem is that I need to generate it in the catalog as I have many stores in root level directories.

I have replaced the code as 27stars mentioned and the DIR CATALOG still is the same:

Code:
require $xcart_dir."/include/security.php"; } else { # # Running from command line # $command_line_mode = true; ini_set('html_errors', '0'); $REQUEST_METHOD = 'POST'; $start_category = ''; $mode = 'catalog_gen'; $namestyle = 'hyphen_4'; $process_subcats = 'checked'; $pages_per_pass = 0; $gen_action = 3; $process_staticpages = 'checked'; $lngcat[US] = '/..'; } $location[] = array(func_get_langvar_by_name("lbl_html_catalog"), ""); define ('DIR_CATALOG', '/catalog');
So, why would this generate in root vs. in my store/catalog as the DIR CATALOG location says?

Thanks for your assistance!

- Mike
__________________
4.1.9
Reply With Quote