Jump to content
gottaloveit

Automatically send data feed to Froogle

Recommended Posts

Hi there from germany, ;-)

 

i installed the contrib and it was a fun with this description.

 

I stuck now on one or two problems.

 

First my ISP does not allow http:// path so i have to change

this to usr/catalog/ ... now script works fine.

 

After this i head perhaps to download the file to change the path back to http://

but now i wonderd if i open the file the format is not O.K.it look like this:

 

product_url name description price image_url category offer_id

/usr/export/www/hosting/mansey/catalog/tmp/product_info.php?products_id=29 Stockings hold-up Black Stay Up Lace Top Stocking The perfect asessoire for the woman of today. a must to our Evening Dresses Beautyful, rare, exlusiv Type: new Condition: very good 7.50 /usr/export/www/hosting/mansey/catalog/tmp/catalog/images/5371725541.JPG Accesoires 29

/usr/export/www/hosting/mansey/catalog/tmp/product_info.php?products_id=30 Nostalgia Paralsol Lace Gothic Lace Parasol The perfect asessoire for the woman of today. a must to our Evening Dresses Beautyful, rare, exlusiv Diameter: 80cm Type: new Condition: very good 25.00 /usr/export/www/hosting/mansey/catalog/tmp/catalog/images/8307197841.JPG

 

i tried it on unix and windows notepad. If i check it in the browser from the admin console everything is fine.

 

So my question is there a version for people who just are allowed to do relativ pathes like usr/catalog

 

and how can i open or download and open the file from my shop ftp without killing the format ?

 

 

Best Regards

 

and thanks a lot for your help

 

... and sorry for my bad english i learned it in school

... so you now know a lot about german schools ;-)

Share this post


Link to post
Share on other sites

Hi,

 

I do not understand what this code is suppose to do:

$ftp_server = "hedwig.google.com" ;

$ftp_user_name = "CHANGEME-froogle-username";

$ftp_user_pass = "CHANGEME-froogle-password";

$ftp_directory = ""; // leave blank for froogle

 

The feed works without this code filled out and the commented code left as is in the instructions:

7) Make sure the file is being written properly.

a. To run the feeder point your internet browser to http://www.yourwebsite.com/admin/froogle.php

b. Then point your browser to http://www.yourwebsite.com/feeds/your-fr-outfile.txt to check the feed.

 

8) If the file is being written properly.

a) Uncomment Block:

From (Line 208)//Start FTP to Froogle

To (Line 238)//End FTP to Froogle

B) Upload froogle.php into catalog\admin\

 

What is the purpose of the above code and leaving the commented out section alone?

Share this post


Link to post
Share on other sites

I want to run a cron job to have the feed sent to froogle autoatically. When I try to run this:

 

---

/usr/bin/php -q /home/precious/public_html/admin/froogle.php

---

 

in the shell I get the following error:

 

---

Failed loading /root/ioncube/ioncube_loader_lin_4.4.so: /root/ioncube/ioncube_loader_lin_4.4.so: cannot open shared object file: Permission denied

---

 

What the heck is ioncube_loader_lin_4.4.so???

 

Do I need to tell my web hosting co to enable something?

Edited by mreigle

Share this post


Link to post
Share on other sites

I have a problem. My Froogle feed was working fine for the longest time and then I decided to update to the latest feed (1.62d w/SEO) and now froogle constantly rejects my feeds. Nothing shows up anymore and I get the same fatal error:

 

ScreenShot001.gif

 

It seems the formatting is bad (running all the headers together or some such thing), but I don't know how to fix it. I tried editing the txt file but it won't accept it.

 

Anyone have any ideas? Here's the text of my froogle.php file that pertains to the output formatting. I believe I got all of it in the paste:

 

if (!($link=mysql_connect($home,$user,$pass)))
{
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $base , $link ))
{
echo "Error the data base does not exist";
exit();
}

$sql = "
SELECT concat( '" . $productURL . "' ,products.products_id) AS product_url,
products_model AS prodModel, products_weight,
manufacturers.manufacturers_name AS mfgName,
manufacturers.manufacturers_id,
products.products_id AS id,
products_description.products_name AS name,
products_description.products_description AS description,
products.products_quantity AS quantity,
products.products_status AS prodStatus,
FORMAT( IFNULL(specials.specials_new_products_price, products.products_price) * " . $taxCalc . ",2) AS price,
CONCAT( '" . $imageURL . "' ,products.products_image) AS image_url,
products_to_categories.categories_id AS prodCatID,
categories.parent_id AS catParentID,
categories_description.categories_name AS catName
FROM categories,
categories_description,
products,
products_description,
products_to_categories

left join manufacturers on ( manufacturers.manufacturers_id = products.manufacturers_id )
left join specials on ( specials.products_id = products.products_id AND ( ( (specials.expires_date > CURRENT_DATE) OR (specials.expires_date = 0) ) AND ( specials.status = 1 ) ) )

WHERE products.products_id=products_description.products_id
AND products.products_id=products_to_categories.products_id
AND products_to_categories.categories_id=categories.categories_id
AND categories.categories_id=categories_description.categories_id
ORDER BY
products.products_id ASC
";


$catInfo = "
SELECT
categories.categories_id AS curCatID,
categories.parent_id AS parentCatID,
categories_description.categories_name AS catName
FROM
categories,
categories_description
WHERE categories.categories_id = categories_description.categories_id
";

function findCat($curID, $catTempPar, $catTempDes, $catIndex)
{
if( (isset($catTempPar[$curID])) && ($catTempPar[$curID] != 0) )
{
	if(isset($catIndex[$catTempPar[$curID]]))
	{
		$temp=$catIndex[$catTempPar[$curID]];
	}
	else
	{
		$catIndex = findCat($catTempPar[$curID], $catTempPar, $catTempDes, $catIndex);
		$temp = $catIndex[$catTempPar[$curID]];
	}
}
if( (isset($catTempPar[$curID])) && (isset($catTempDes[$curID])) && ($catTempPar[$curID] == 0) )
{
	$catIndex[$curID] = $catTempDes[$curID];
}
else
{
	$catIndex[$curID] = $temp . " > " . $catTempDes[$curID];
}
return $catIndex;

}

$catIndex = array();
$catTempDes = array();
$catTempPar = array();
$processCat = mysql_query( $catInfo )or die( $FunctionName . ": SQL error " . mysql_error() . "| catInfo = " . htmlentities($catInfo) );
while ( $catRow = mysql_fetch_object( $processCat ) )
{
$catKey = $catRow->curCatID;
$catName = $catRow->catName;
$catParID = $catRow->parentCatID;
if($catName != "")
{
	$catTempDes[$catKey]=$catName;
	$catTempPar[$catKey]=$catParID;
}
}

foreach($catTempDes as $curID=>$des)  //don't need the $des
{
$catIndex = findCat($curID, $catTempPar, $catTempDes, $catIndex);
}

$_strip_search = array(
"![\t ]+$|^[\t ]+!m", // remove leading/trailing space chars
'%[\r\n]+%m'); // remove CRs and newlines
$_strip_replace = array(
'',
' ');
$_cleaner_array = array(">" => "> ", "®" => "", "?" => "", "™" => "", "?" => "", "\t" => "", "	" => "");

if ( file_exists( $OutFile ) )
unlink( $OutFile );

$output = "product_url \t name \t description \t price \t image_url \t category \t offer_id";

Share this post


Link to post
Share on other sites

cdi-buy.com: You can't use the SEO from Chemo, if you don't have it already installed on your site.

 

mreigle: Just have your host setup the Cron entry, they should be able to do it over the phone with you in a matter of minutes.

 

modom: if you don't uncomment the code, it won't ftp to froogle (meaning your products won't really be on froogle).

 

der.brain: you can set it up with the full path or just a partial. i generally just use a partial "../feeds/" because it's a lot easier (and i dont' have to dig through the server to find the full path.


Most likely your question has been answered, please do a search first.

Share this post


Link to post
Share on other sites
cdi-buy.com: You can't use the SEO from Chemo, if you don't have it already installed on your site.

 

mreigle: Just have your host setup the Cron entry, they should be able to do it over the phone with you in a matter of minutes.

 

modom: if you don't uncomment the code, it won't ftp to froogle (meaning your products won't really be on froogle).

 

der.brain: you can set it up with the full path or just a partial. i generally just use a partial "../feeds/" because it's a lot easier (and i dont' have to dig through the server to find the full path.

 

I do have SEO on my site. I figured out the problem but not a solution to it. It's outputting the data in single blocks. In other words, it's not inserting the tabs. If you view it from an excel point of view as if it's in columns and rows, all the headers are in the same column, with the data below it also being in the same column.

 

Not sure if my explanation makes sense or not. I don't know why it's doing that, since I've changed nothing. SEO has been installed on my site for awhile now and it outputs the correct information...it just doesn't format it correctly.

Share this post


Link to post
Share on other sites
I do have SEO on my site. I figured out the problem but not a solution to it. It's outputting the data in single blocks. In other words, it's not inserting the tabs. If you view it from an excel point of view as if it's in columns and rows, all the headers are in the same column, with the data below it also being in the same column.

 

Not sure if my explanation makes sense or not. I don't know why it's doing that, since I've changed nothing. SEO has been installed on my site for awhile now and it outputs the correct information...it just doesn't format it correctly.

 

try copying and pasting just the first 5 lines of your data feed (open it in notepad) here. hopefully, either I or someone else can help you troubleshoot it a bit better. i will be fairly busy with work-work for the next week, but i'll try to check back here.


Most likely your question has been answered, please do a search first.

Share this post


Link to post
Share on other sites
try copying and pasting just the first 5 lines of your data feed (open it in notepad) here. hopefully, either I or someone else can help you troubleshoot it a bit better. i will be fairly busy with work-work for the next week, but i'll try to check back here.

 

 

Not sure how much good it will do, what with the possible reformatting in the forum but here ya go:

 

product_url		  name		  description		  price		  image_url		  category		  offer_id
http://www.cdi-buy.com/scm-scr111-iso-7816-smart-card-reader-writer-programmer-p-1.html?ref=Froogle		SCM SCR111 ISO 7816 Smart Card Reader Writer Programmer		The SCM SwapSmart SCR111  RS232  (Serial) Smart Card Reader provides a cost effective, universal and secure  interface between smart cards and PC's. The reader supports all ISO 7816 -1,  -2, -3 smart cards standards . The small footprint makes it ideal for a  variety of smart card applications.   FEATURES & BENEFITS	 Plug  and Play compatible.  EMV  Level 1 AND PC/SC certification.   Compliant  with all major Smart Cards in the market.   Operates  on a single crystal at up to 14 Megahertz (MHz).  Powered  by PS/2 pass through - no external power needed!  Short  circuitry detection, protects smart card and reader.  Tested  by the Microsoft Windows Hardware Quality Labs and approved for use on Windows  XP and Windows Server 2003 family computers.	You will receive one brand new electrostatically sealed Smart Card  Programmer and Complimentary CD containing the PC/SC Driver, test  utility, and SmartCache interface program.   This item is guaranteed against DOA (  D  ead O  n   A  rrival),  however we cannot be held responsible for the use, misuse, or inability to use  this device.	 SmartCache Screen Shot 1 (Main Interface):	SmartCache Screen Shot 2 (Settings Interface):		39.95		http://www.cdi-buy.com/images/scmstore.jpg		Networking		1 
http://www.cdi-buy.com/scm-scr111-iso-7816-smart-card-programmer-software-and-driver-cd-p-4.html?ref=Froogle		SCM SCR111 ISO 7816 Smart Card Programmer Software and Driver CD		Software and Driver CD for the SCM Microsystems SCR111 ISO 7816 Serial Smart Card Reader Writer Programmer.  Latest release in Zip Format with trial version of WinZip 9.  This CD is included with every order of the SCM SCR111.  Buy it here if you lost your copy or if you purchased your SCR111 elsewhere and need the driver.  Also contains ISO7816Prog - a universal software for interfacing with Smart Card Readers as well as SmartCache interface program.  ISO7816Prog and SmartCache can be used with any Smart Card Reader and are not exclusive to the SCR111.   SmartCache Screen Shot 1 (Main Interface):	SmartCache Screen Shot 2 (Settings Interface):		6.99		http://www.cdi-buy.com/images/isocd.jpg		Networking		4 
http://www.cdi-buy.com/scm-scr111-iso-7816-smart-card-reader-writer-programmer-bulk-p-5.html?ref=Froogle		SCM SCR111 ISO 7816 Smart Card Reader Writer Programmer - Bulk		The SCM SwapSmart SCR111  RS232  (Serial) Smart Card Reader provides a cost effective, universal and secure  interface between smart cards and PC's. The reader supports all ISO 7816 -1,  -2, -3 smart cards standards . The small footprint makes it ideal for a  variety of smart card applications.   FEATURES & BENEFITS	 Plug  and Play compatible.  EMV  Level 1 AND PC/SC certification.   Compliant  with all major Smart Cards in the market.   Operates  on a single crystal at up to 14 Megahertz (MHz).  Powered  by PS/2 pass through - no external power needed!  Short  circuitry detection, protects smart card and reader.  Tested  by the Microsoft Windows Hardware Quality Labs and approved for use on Windows  XP and Windows Server 2003 family computers.	You will receive one carton of FIFTY (50) brand new electrostatically sealed Smart Card Programmers at the price shown.   This item is guaranteed against DOA (  D  ead O  n   A  rrival),  however we cannot be held responsible for the use, misuse, or inability to use  this device.		1,750.00		http://www.cdi-buy.com/images/scmstore.jpg		Networking		5 
http://www.cdi-buy.com/xircom-realport-bnc-cable-accessory-kit-p-7.html?ref=Froogle		Xircom RealPort BNC Cable Accessory Kit		Xircom pays special attention to its network accessories, which are the foundation stone of the whole network system.  Xircom cable solutions will never let you down and you can always rely on the superior quality and outstanding reliability. The company has a wide range of network solutions that will fit even the most extraordinary demands  BNC cable is often used to connect two or more of your computers to share files and printers or connect to a closed circuit surveillance camera  Also referred to as Coaxial, Thinnet, 10base2, and RG 58 Cable.  This BNC cable adapter is for use with the REM56G-100BTX PCMCIA Card.  Former model number CABLE-ETH213		89.99		http://www.cdi-buy.com/images/CABLE-ETH213.jpg		Networking		7 
http://www.cdi-buy.com/advantage-industries-interchangeable-neon-light-sculpture-usa-p-8.html?ref=Froogle		AdVantage Industries Interchangeable Neon Light Sculpture USA		AdVantage Industries Neon Light Sculpture for Neon Light System.  USA design.  Base sold separately   here .		19.99		http://www.cdi-buy.com/images/AD-510USA.jpg		Neon Lighting		8 
http://www.cdi-buy.com/advantage-industries-interchangeable-neon-light-sculpture-base-p-9.html?ref=Froogle		AdVantage Industries Interchangeable Neon Light Sculpture Base		AdVantage Industries Neon Light Sculpture Base for Neon Light System.  Includes 12V AC/DC 500mA UL Approved Transformer and on/off switch.		19.99		http://www.cdi-buy.com/images/AD-150.jpg		Neon Lighting		9

 

Looks normal in plain text but it's not correct.

 

Alternatively, you can get the actual shortened file here:

 

http://www.cdi-buy.com/feeds/cdi_buy.txt

Edited by cdi-buy.com

Share this post


Link to post
Share on other sites

is there any possibility to add utf-8 encoding?

or didn't I find anything documented about it...

 

without I have to convert the file manually to import it to froogle.

 

B)

 

Thanks

Sandy

Share this post


Link to post
Share on other sites

Hi,

 

I am confused on one line in the installation:

 

CHANGEME-name-of-sql-database

 

How do I find the name of my database?

 

Thanks!

Share this post


Link to post
Share on other sites

I am getting the following errors after installation:

 

Warning: fopen(http://www.bigtimepurchase.com/catalog/feeds/bigtimepurchase_gmail_com.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /home/virtual/site14/fst/var/www/html/catalog/admin/froogle.php on line 354

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site14/fst/var/www/html/catalog/admin/froogle.php on line 355

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site14/fst/var/www/html/catalog/admin/froogle.php on line 356

 

Here is my code:

 

$OutFile = "http://www.bigtimepurchase.com/catalog/feeds/bigtimepurchase_gmail_com.txt"; //"CHANGEME-full-path-to-file-with-777-dir-and-file-permissions.fr-outfile.txt";
$destination_file = "bigtimepurchase_gmail_com.txt";  //"CHANGEME-filename-to-upload-to-froogle.txt";
$source_file = $OutFile;
$imageURL = 'http://www.bigtimepurchase.com/catalog/images/';
if(SEO_ENABLED=='true'){
  $productURL = 'product_info.php';   // ***** Revised for SEO
$productParam = "products_id=";   // ***** Added for SEO
}else{
  $productURL = 'http://www.bigtimepurchase.com/catalog/product_info.php?products_id=';
}

$already_sent = array();

if(SEO_ENABLED=='true'){
 $home = "hostname";		  //  ****** revised these because we can....
 $user="***";
 $pass="***";
 $base="***";
}else{
 $home = "hostname";
 $user="";
 $pass="";
 $base="***";
}

$ftp_server = "hedwig.google.com";
$ftp_user_name = "CHANGEME-froogle-username";
$ftp_user_pass = "CHANGEME-froogle-password";
$ftp_directory = ""; // leave blank for froogle

 

Two things:

1. The catalog/feeds folder has chmod 777 access.

2. I uploaded the froogle.php file to the catalog/admin folder. This folder was not there, so I had to create it.

Share this post


Link to post
Share on other sites

@zalik22

 

I hade similar problems. Are you sure that your provider allow fopen commands and path like http:// or just usr/tmp/ ? A lot of free webspace provider does not and so the froogle plugin can not work. Try the ELM@R modul for OSC wich can work around this problem.

 

Best Regards

 

Michael

Share this post


Link to post
Share on other sites
@zalik22

 

I hade similar problems. Are you sure that your provider allow fopen commands and path like http:// or just usr/tmp/ ? A lot of free webspace provider does not and so the froogle plugin can not work. Try the ELM@R modul for OSC wich can work around this problem.

 

Best Regards

 

Michael

 

Hi Michael,

 

Could you elaborate a little more on what the ELM@R modul is? I am totally confused. Thanks for replying.

 

Thanks!

Edited by zalik22

Share this post


Link to post
Share on other sites

Hi,

I've searched through a good 30 of the 70+ pages here. With no luck.

 

Froogle feeder is up and running. And it creates my feed. But when it goes to FTP - it waits a good 90 seconds, and then fails to connect. I've double checked and triple checked my account settings. If I use an ftp client to connect, I have no problems. (verifying my settings are the right one's) The froogle.php settings match up. So you can imagine I'm really confused at this point.

 

The site is being hosted via Godaddy. I've contacted them to see if they have any limitations on my account. None reported...

 

Any help would be amazingly appreciated...

Thanks!

Share this post


Link to post
Share on other sites

i just downloaded version 1.62 dated 12/21/05 and the seo url tips calvin posted a few months back are nonexistent in the new version.

 

has anyone been able to get the froogle output to work with urls like mysite.com/product/Product_Name.html ?

 

or does anyone have an idea how to do it?

Share this post


Link to post
Share on other sites
Hi Michael,

 

Could you elaborate a little more on what the ELM@R modul is? I am totally confused. Thanks for replying.

 

Thanks!

Here is a link to the ELM@R (German university) project.

It slso support froogle feeder and much more.

I use it and its great

 

http://projekt.wifo.uni-mannheim.de/elmar/...e.index〈=en

 

Michael

Edited by der.brain

Share this post


Link to post
Share on other sites

sorry in advance for the informal mumbo jumbo sentences.

 

CDI-Buy: Start over with a fresh froogle.php; as stated before, your froogle.php seems corrupted. in the header, it is seperated by spaces in your feed. It should be seperated by tabs (which is probably why your getting that particular error). http://www.carblitesolutions.com/feeds/carblitesolutions.txt for you to compare.

 

ganther: i believe you can set that from the froogle merchant account.

 

dlavache: how large is your generated feed? there could be an upload time limitation set by your host (to 90 sec). check to see if the feed is generated properly. the ftp code is fairly robust and gives pretty good error messages.


Most likely your question has been answered, please do a search first.

Share this post


Link to post
Share on other sites

When I cut/paste this:

 

define('BOX_HEADING_FEEDERS', 'Feeder Systems');

define('BOX_FEEDERS_AMAZON', 'Amazon Marketplace');

define('BOX_FEEDERS_BIZRATE', 'Biz Rate');

define('BOX_FEEDERS_FROOGLE', 'Froogle');

define('BOX_FEEDERS_MYSIMON', 'MySimon');

define('BOX_FEEDERS_PRICE_GRABBER', 'Price Grabber');

define('BOX_FEEDERS_SHOPPING', 'Shopping.com');

define('BOX_FEEDERS_YAHOO', 'Yahoo');

define('BOX_FEEDERS_GOOGLE_BASE', 'Google Base');

 

 

How come only

 

BizRate: Biz Rate

Froogle: Froogle

Yahoo: Yahoo

 

 

Show up in admin

Share this post


Link to post
Share on other sites

Is there any code anywhere that would go into the curremcy conversion to update exchange rate at the same time?

 

At present it seems we get the name of the currency changed, but the amount remains the same.

 

So if a GBP store converts to USD, all the currency entries are happily described as USD, but the amount in the price field appears to remain the same.

 

Or am I missing something?


"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."

B. Franklin

Share this post


Link to post
Share on other sites
Hi,

I've searched through a good 30 of the 70+ pages here. With no luck.

 

Froogle feeder is up and running. And it creates my feed. But when it goes to FTP - it waits a good 90 seconds, and then fails to connect. I've double checked and triple checked my account settings. If I use an ftp client to connect, I have no problems. (verifying my settings are the right one's) The froogle.php settings match up. So you can imagine I'm really confused at this point.

 

The site is being hosted via Godaddy. I've contacted them to see if they have any limitations on my account. None reported...

 

Any help would be amazingly appreciated...

Thanks!

 

Froogle's "hedwig" server is a beast. Lot's of probs uploading from an ftp client. Could be something to do with it. Ask froogle support. They are ok.


"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."

B. Franklin

Share this post


Link to post
Share on other sites
Is there any code anywhere that would go into the curremcy conversion to update exchange rate at the same time?

 

At present it seems we get the name of the currency changed, but the amount remains the same.

 

So if a GBP store converts to USD, all the currency entries are happily described as USD, but the amount in the price field appears to remain the same.

 

Or am I missing something?

 

 

Use conversion setting in admin.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

Can anyone tell me why I am recieving this error

 

Warning: fopen(http://www.1shotscopes.com/feeder/mail_1shotscopes_com.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 307

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 308

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 309

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 311

 

Script timer: 0.036726 seconds.

 

I am at a lost to know how to make this work. Help please!

Share this post


Link to post
Share on other sites
Can anyone tell me why I am recieving this error

 

Warning: fopen(http://www.1shotscopes.com/feeder/mail_1shotscopes_com.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 307

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 308

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/i1shotsc/public_html/osCommerce/catalog/admin/froogle.php on line 309

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 311

 

Script timer: 0.036726 seconds.

 

I am at a lost to know how to make this work. Help please!

 

 

 

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. :(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×