Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

xsell contribution error


kewldude_3001

Recommended Posts

hey, i just installed xsell contribution, when i go to a product that i have enabled this feature for, it only shows 6 products even if i select 9. Also it displays the following errors:

 

Warning: mkdir(/oscommerce/catalog/cache/44/): No such file or directory in /LINK/oscommerce/catalog/includes/modules/xsell_products.php on line 86

 

Warning: fopen(/oscommerce/catalog/cache/44/1-0.php): failed to open stream: No such file or directory in LINK/oscommerce/catalog/includes/modules/xsell_products.php on line 87

 

Warning: fwrite(): supplied argument is not a valid stream resource in LINK/oscommerce/catalog/includes/modules/xsell_products.php on line 88

 

Warning: fclose(): supplied argument is not a valid stream resource in LINK/oscommerce/catalog/includes/modules/xsell_products.php on line 89

 

i dont think i have cache enabled for my site is that why???

Link to comment
Share on other sites

i fixed the number of products displayed, i went to configuration, maximum values and changed the value of also purchased from 6 to 9

 

but i still get this error and i have enabled cache fro my site

Link to comment
Share on other sites

lines 84 - 91

 

84----//Cache
85----	 $cache .= 'new contentBox($info_box_contents); ?>';
86----	 if(!is_dir($dircache)) { mkdir($dircache,0777); }
87----	 $fp = fopen($filename , 'w');
88----	 $fout = fwrite($fp , $cache);
89----	 fclose($fp);
90----}
91----//Fin Cache

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...