kewldude_3001 Posted May 7, 2007 Share Posted May 7, 2007 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 More sharing options...
kewldude_3001 Posted May 7, 2007 Author Share Posted May 7, 2007 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 More sharing options...
kewldude_3001 Posted May 7, 2007 Author Share Posted May 7, 2007 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 More sharing options...
kewldude_3001 Posted May 7, 2007 Author Share Posted May 7, 2007 anyone??? everything works like it shows the other products so why are the extra errors showing up Link to comment Share on other sites More sharing options...
kewldude_3001 Posted May 7, 2007 Author Share Posted May 7, 2007 i just used the wrong path in my configure files, i started with catalog/........ instead of giving the whole link Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.