I've searched this forum and tried different things. I still get this error:
Warning: fopen( /home/i1shotsc/public_html/osCommerce/catalog/feeds/mail_1shotscopes_com.txt): failed to open stream: No such file or directory in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 308
Warning: fwrite(): supplied argument is not a valid stream resource in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 309
Warning: fclose(): supplied argument is not a valid stream resource in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 310
File completed: mail_1shotscopes_com.txt
Warning: chmod(): No such file or directory in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 312
Script timer: 0.036709 seconds.
My code reads like this:
$OutFile = "/home/i1shotsc/public_html/osCommerce/catalog/feeds/mail_1shotscopes_com.txt"; //"CHANGEME-full-path-to-file-with-777-dir-and-file-permissions.fr-outfile.txt";
$destination_file = "mail_1shotscopes_com.txt"; //"CHANGEME-filename-to-upload-to-froogle.txt" ;
$source_file = $OutFile;
$imageURL = 'http://1shotscopes.com/osCommerce/catalog/images';
$productURL = 'http://1shotscopes.com/osCommerce/catalog/product_info.php?products_id=';
$already_sent = array();
Please help. I can't find what I am missing. :(