Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 4 votes

Automatically send data feed to Froogle


3231 replies to this topic

#1241 Grey Ghost

  • Community Member
  • 84 posts
  • Real Name:Keith Twitchel

Posted 20 September 2005, 03:55

Any ideas what would cause this? My line 3 is commented out
// ----------


here's the error I get in my web browser when loading the page:
Parse error: parse error in /Users/admin/Sites/catalog/admin/froogle.php on line 3


#1242 FlyingMonkey

  • Community Member
  • 882 posts
  • Real Name:Calvin K

Posted 20 September 2005, 19:08

PopTheTop, on Aug 28 2005, 08:04 AM, said:

I have a MOD that send me e-mails whenever there is an error on my site or someone tries to hack into the site, like try to get into the Admin.

For months now, I have been getting this e-mail when Google visits my site and sometimes MSNBot for various product pages and so on...

-------------------------------------------
Site: http://www.popthetop.com
Error Code: 404 - File or Page Not Found
Occurred: 08/28/2005 7:55:44
Requested URL: http://www.popthetop.com/catalog/product_info.php%3Fcurrency%3DUSD&products_id%3D324&fr=AM0D2pquQxgKeI9frlt5U5R8v6OCmDEu09vJmtrY-N41AAAAAAAAAAA
User IP Address: 66.249.65.66
User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Referer: 
-------------------------------------------

As you can see, Google is trying to load pages that the links have converted = signs and question marks.

%3F is supposed to be ?
%3D is supposed to be =

If I turn
http://www.popthetop.com/catalog/product_info.php%3Fcurrency%3DUSD&products_id%3D324&fr=AM0D2pquQxgKeI9frlt5U5R8v6OCmDEu09vJmtrY-N41AAAAAAAAAAA
into this
http://www.popthetop.com/catalog/product_info.php?currency=USD&products_id=324&fr=AM0D2pquQxgKeI9frlt5U5R8v6OCmDEu09vJmtrY-N41AAAAAAAAAAA
The links work.

Is there any way to fix this so that the correct pages get loaded? Is there any way to convert %3F to ? and %3D to = when a page loads?

<{POST_SNAPBACK}>



you can try urldecode and urlencode.... but it may just be that mod that's causing the issue.

http://www.carblitesolutions.com/feeds/carblitesolutions.txt displays the = and ? fine.
Most likely your question has been answered, please do a search first.

#1243 FlyingMonkey

  • Community Member
  • 882 posts
  • Real Name:Calvin K

Posted 20 September 2005, 19:10

Grey Ghost, on Sep 19 2005, 08:55 PM, said:

Any ideas what would cause this?  My line 3 is commented out
// ----------


here's the error I get in my web browser when loading the page:
Parse error: parse error in /Users/admin/Sites/catalog/admin/froogle.php on line 3

<{POST_SNAPBACK}>


It cannot be in between other block quotes like /* and */
Most likely your question has been answered, please do a search first.

#1244 FlyingMonkey

  • Community Member
  • 882 posts
  • Real Name:Calvin K

Posted 20 September 2005, 19:13

or outside of the <?php ?> tags.
Most likely your question has been answered, please do a search first.

#1245 klynns

  • Community Member
  • 187 posts
  • Real Name:Autumn Starr
  • Gender:Female
  • Location:Dothan, AL

Posted 22 September 2005, 23:53

I have installed this on my website but can't get past this step:
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.

When I try to point my browser to www.mywebsite.com/catalog/admin/froogle.php, it says page not found. Same as the second link check.

I did the optional add to admin part and tried creating the feed through admin and I get the same error, page not found. The files are uploaded to the proper directories so I have no idea why it isn't working.

Can someone shed some light?

Autumn

#1246 Mibble

  • Community Member
  • 13,404 posts
  • Real Name:JAO
  • Location:MA (US): 42n22, 71w04, Massachusetts

Posted 23 September 2005, 00:01

are you sure it isnt supposed to be:

http://www.yourwebsite.com/catalog/admin/froogle.php

#1247 klynns

  • Community Member
  • 187 posts
  • Real Name:Autumn Starr
  • Gender:Female
  • Location:Dothan, AL

Posted 23 September 2005, 03:48

Mibble, on Sep 22 2005, 08:01 PM, said:


That IS what it is pointing to. http://www.better-beads.com/catalog/admin/froogle.php. I get the password promt, then it displays the 'cannot find server' screen.

#1248 Mibble

  • Community Member
  • 13,404 posts
  • Real Name:JAO
  • Location:MA (US): 42n22, 71w04, Massachusetts

Posted 23 September 2005, 04:33

that is after you put in the password?

#1249 klynns

  • Community Member
  • 187 posts
  • Real Name:Autumn Starr
  • Gender:Female
  • Location:Dothan, AL

Posted 23 September 2005, 17:36

Mibble, on Sep 23 2005, 12:33 AM, said:

that is after you put in the password?

<{POST_SNAPBACK}>


Correct. I enter my id and password, then it goes to the can not find server screen.

#1250 FlyingMonkey

  • Community Member
  • 882 posts
  • Real Name:Calvin K

Posted 23 September 2005, 20:47

klynns, on Sep 23 2005, 10:36 AM, said:

Correct.  I enter my id and password, then it goes to the can not find server screen.

<{POST_SNAPBACK}>


Try it without the "www"... you just need to match it up with where you placed it in your ftp. Also try installing the interface (since, it already knows where to point, if the installation is correct)

Anyways, i'll be gone for at least the next week. (gotta study)
Most likely your question has been answered, please do a search first.

#1251 Patrick_S

  • Community Member
  • 18 posts
  • Real Name:Patrick

Posted 26 September 2005, 11:04

Hello,


the Froogle-Team have a problem with one of my products that price is 0.00 Eur because it's just a infoproduct for an product-option that costs from 5.00 to 6.50 Eur. In the shop you can't buy the infoproduct because i hide the price and 'Buy Now' - Button for products with an price at 0.00 Eur.

Now i had to open the froogle-data-feed 'per hand' and delete the product in order that the froogle-team accept the file.

Had anyone an idea what to do that the data feed only contain products with an price greater than 0.00 Eur

Sorry for my not so good english, i hope you understand what i mean.

best regards
Patrick
Captain: I thought you were going to upgrade this.
Trip: That is the upgrade.
Well, if you want, I can change the color.

#1252 Grey Ghost

  • Community Member
  • 84 posts
  • Real Name:Keith Twitchel

Posted 27 September 2005, 00:02

View PostFlyingMonkey, on Sep 20 2005, 07:13 PM, said:

or outside of the <?php ?> tags.

Now I'm getting this...

 File completed: computertoystore-fr-outfile.txt
Connected to hedwig.google.com, for user computertoystore

Warning: ftp_put(): computertoystore-fr-outfile.txt: Permission denied on server. (Overwrite) in /Users/admin/Sites/catalog/admin/froogle.php on line 342
hedwig.google.com: FTP upload has failed!

I know for damn sure that my froogle FTP UID and password are correct in the file. I'm also fairly sure that the permissions on the php are correct. Could Froogle have changed my FTP password or access without telling me (since I have not used the account in a few months)? I AM able to log in to Froogle with no trouble and have no warnings.

Any other ides on what would cause this error message?

#1253 pfaustino

  • Community Member
  • 40 posts
  • Real Name:Patrick Faustino

Posted 27 September 2005, 08:33

View PostGrey Ghost, on Sep 26 2005, 04:02 PM, said:

Warning: ftp_put(): computertoystore-fr-outfile.txt: Permission denied on server. (Overwrite) in /Users/admin/Sites/catalog/admin/froogle.php on line 342
hedwig.google.com: FTP upload has failed![/code]

It looks like an Overwrite was denied. Hedwig won't let you upload the same file twice. You have to wait until Froogle's bots have sucked that file out of the directory and erased it.

You'll know when you have the right pw when you can upload files with a different name (froogle will just spit it out)

#1254 Grey Ghost

  • Community Member
  • 84 posts
  • Real Name:Keith Twitchel

Posted 28 September 2005, 03:10

View Postpfaustino, on Sep 27 2005, 08:33 AM, said:

It looks like an Overwrite was denied. Hedwig won't let you upload the same file twice. You have to wait until Froogle's bots have sucked that file out of the directory and erased it.

You'll know when you have the right pw when you can upload files with a different name (froogle will just spit it out)

It looks like you were right as it is working today. Silly me, trying to double check my work instead of just waiting a day!

#1255 dandelion

  • Community Member
  • 395 posts
  • Real Name:Ruth Maude
  • Gender:Female
  • Location:Toronto

Posted 29 September 2005, 03:10

I have a few questions:

1. why in the listing of items for my store does the store name appear as my id instead of my store name = store:aromatherapy_4_u instead of Aromatherapy for You - how can I fix this?

2. in my descriptions some apostrophes have become question marks - how can this be corrected?

3. in some of my prduct titles the letter following an apostrophe has become capitalized (ie Nature'S) - how can I fix this?

4. some photos aren't showing up and they are larger then other ones that are showing

Thanks

Edited by dandelion, 29 September 2005, 03:11.


#1256 Patrick_S

  • Community Member
  • 18 posts
  • Real Name:Patrick

Posted 29 September 2005, 08:31

I am the only one who have a problem with 0.00EUR Products and Froogle?

No one else have Only-Info-Products that are not to buy while stand for an Product-Option?

Patrick
Captain: I thought you were going to upgrade this.
Trip: That is the upgrade.
Well, if you want, I can change the color.

#1257 FlyingMonkey

  • Community Member
  • 882 posts
  • Real Name:Calvin K

Posted 29 September 2005, 09:33

View PostPatrick_S, on Sep 29 2005, 01:31 AM, said:

I am the only one who have a problem with 0.00EUR Products and Froogle?

No one else have Only-Info-Products that are not to buy while stand for an Product-Option?

Patrick

froogle hasn't hassled... me with 0 dollar products.

but you can always insert a statement that says if price <= 0 , then don't write this particular line into the feed.

like this,

if ($row->price <= 0) continue;

under this line:

if (isset($already_sent[$row->id])) continue; // if we've sent this one, skip the rest of the while loop


I shouldn't... be on this forum right now. gotta study... like no other. so i might not be around, but it should at least give you an idea of what you need to do.

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

#1258 Patrick_S

  • Community Member
  • 18 posts
  • Real Name:Patrick

Posted 29 September 2005, 10:16

View PostFlyingMonkey, on Sep 29 2005, 09:33 AM, said:

froogle hasn't hassled... me with 0 dollar products.

but you can always insert a statement that says if price <= 0 , then don't write this particular line into the feed.

like this,

if ($row->price <= 0) continue;

under this line:

if (isset($already_sent[$row->id])) continue; // if we've sent this one, skip the rest of the while loop
I shouldn't... be on this forum right now. gotta study... like no other. so i might not be around, but it should at least give you an idea of what you need to do.

-calvin

Thank you very much fpor your help.
Now the script works fine for me!

Best Regards
Patrick
Captain: I thought you were going to upgrade this.
Trip: That is the upgrade.
Well, if you want, I can change the color.

#1259 tates

  • Community Member
  • 91 posts
  • Real Name:William
  • Gender:Male
  • Location:Florida

Posted 29 September 2005, 14:05

Can anyone give me an example of what to put for $OutFile and $destination_file. Not quite sure what I have to put in there for each one.

Thanks for the help!

#1260 dandelion

  • Community Member
  • 395 posts
  • Real Name:Ruth Maude
  • Gender:Female
  • Location:Toronto

Posted 30 September 2005, 02:53

View Postdandelion, on Sep 28 2005, 11:10 PM, said:

I have a few questions:

1. why in the listing of items for my store does the store name appear as my id instead of my store name = store:aromatherapy_4_u instead of Aromatherapy for You - how can I fix this?

2. in my descriptions some apostrophes have become question marks - how can this be corrected?

3. in some of my prduct titles the letter following an apostrophe has become capitalized (ie Nature'S) - how can I fix this?

4. some photos aren't showing up and they are larger then other ones that are showing

Thanks

Can anyone help me with these? I really want to have the store name show up correctly!!

My Webpage

Edited by dandelion, 30 September 2005, 02:54.