Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

How do i sync the contents of my website to googlebase? I am confused on how to do this. I need to make a data-feed from my website to google and ive downloaded the apparent contribution although once installed i'm still having problems. Do I need additional contributions or scripting to do?

 

The contribution i have installed:-

 

http://addons.oscommerce.com/info/4513

 

I want a user to search for one of my products and that product should display on google's shopping search above the search results. Once the URL has been clicked it should directly take the user to my website.

 

I get the following error:-

 

Outcome: Data feed upload failure

Number of items processed: 0

Number of inserted items: 0

Uploaded at: 01 June 2009 20:00:00 BST

Processed at: 01 June 2009 23:13:48 BST

 

Kind Regards, I hope this can be resolved soon.

 

Rebellion.

Posted
How do i sync the contents of my website to googlebase? I am confused on how to do this. I need to make a data-feed from my website to google and ive downloaded the apparent contribution although once installed i'm still having problems. Do I need additional contributions or scripting to do?

 

The contribution i have installed:-

 

http://addons.oscommerce.com/info/4513

 

I want a user to search for one of my products and that product should display on google's shopping search above the search results. Once the URL has been clicked it should directly take the user to my website.

 

I get the following error:-

 

Outcome: Data feed upload failure

Number of items processed: 0

Number of inserted items: 0

Uploaded at: 01 June 2009 20:00:00 BST

Processed at: 01 June 2009 23:13:48 BST

 

Kind Regards, I hope this can be resolved soon.

 

Rebellion.

 

33 views no replies? Can someone assist me please.

 

Regards,

 

Rebellion.

Posted

You don't give the reason the upload failed which is available on your google account.

 

Have you followed every installation step and not missed out any that you don't understand/know how to do?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

I presume i have done all of the neccessary changes. Do i have to also install ultimate seo urls? here is what modifications i made.

 

// ########## BEGIN CONFIGURATION ###################

 

// START Main Configuration

// CHANGEME - Change to 'false' to disable the use of SEO

define('SEO_ENABLED','true');

 

// CHANGEME - Change this to the id of your language. BY default 1 is english

$languages_id = 1;

 

// CHANGEME - Change this to Pounds or so

$WeightUnit = " Gms.";

//End Main Configuration

 

// START Optional Advance Configuration

// Monetary Adjustments for Products in Feed

// default = 0 (e.g. for 17.5% tax use "$taxRate = 17.5;")

$taxRate = 0;

 

// Do not edit this

$taxCalc = ($taxRate/100) + 1;

 

// default = true

$convertCur = true;

 

// Converts Currency to any defined currency (eg. USD, EUR, GBP)

$curType = "GBP";

//END Optional Advance Configuration

 

// START Optional Advance Feed Attributes

// (0=False 1=True) (optional_sec must be enabled to use any of the following options)

$optional_sec = 1;

 

$manufacturer = 1;

 

$mpn = 1; //model no. in osC is used here

 

$payment_accepted = 1;

// CHANGEME - Acceptable values: cash, check, GoogleCheckout, Visa, MasterCard, AMEX, Discover, wiretransfer

$default_payment_methods = "Paypal,GoogleCheckout";

 

$product_type = 1;

 

$currency = 1;

// CHANGEME - Change this to Google Base Currency - USD or so

$default_currency = "GBP"; //this is not binary.

 

$model_number = 1;

 

$feed_quantity = 1;

 

$brand = 1; // 31 jan 2007 Added condition due to Google Base making mandatory

 

$condition = 1; // 31 jan 2007 Added condition due to Google Base making mandatory

// CHANGEME - Change this to Old or so

$default_condition = "New"; // 31 jan 2007 Added condition due to Google Base making mandatory

 

$age_range = 1; // 31 jan 2007 Added condition due to Google Base making mandatory

// CHANGEME - Change this to Age Range who could bioew your feeds - 30-60 or so

$default_age_range = "18-90"; // 31 jan 2007 Added condition due to Google Base making mandatory

 

$made_in = 1; // 31 jan 2007 Added condition due to Google Base making mandatory

// CHANGEME - Change this to your country - USA or so

$default_made_in = "England"; // 31 jan 2007 Added condition due to Google Base making mandatory

 

$shipping = 0;

$lowestShipping = ""; //this is not binary. Custom Code is required to provide the shipping cost per product. ###needs to be an array for per product.

 

$upc = 0; //Not supported by default osC

 

$location = 0;

// CHANGEME - Change this to your place if enabled

$default_location = "";

 

$feed_language = 0;

// CHANGEME - Change this to Google Base Feed Language - FR or so if enabled

$default_feed_language = "EN"; //this is not binary.

 

$feed_manufacturer_id = 0; //this is for the manufacturer model number, NOT your internal store sku

// END Optional Advance Feed Attributes

 

// ########## END CONFIGURATION ###################

 

 

 

also i added the following to htaccess file:-

 

RewriteBase /

# Begin Google Base File Rewrite Code

RewriteRule data_feed.txt googlebase.php

# End Google Base File Rewrite Code

 

Regards,

 

Rebellion.

Posted
You don't give the reason the upload failed

 

Any chance of getting the reason google ddn't import you data

 

On the same page as the error message it tells you why.

 

What happens when you enter

 

www.your_site.com/data_feed.txt

 

in your browser?

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted (edited)

Here is the full status message of googlebase.

 

Feed status details

 

Outcome: Data feed upload failed. No items are live. help

Number of items processed: 0

Number of inserted items: 0

Uploaded at: 06-Jun-2009 00:00 BST

Processed at: 06-Jun-2009 00:08 BST

 

* Detected encoding: US-ASCII

* Detected file format: Text

 

 

Errors:

Error Bad data Line #

We didn't understand your delimiter. help

 

Kind Regards,

 

Rebellion.

Edited by Rebellion1986
Posted

and the answer to the second question is?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
and the answer to the second question is?

 

Warning: include_once(includes/classes/seo.class.php) [function.include-once]: failed to open stream: No such file or directory in html/googlebase.php on line 104

 

Warning: include_once() [function.include]: Failed opening 'includes/classes/seo.class.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in html/googlebase.php on line 104

 

Fatal error: Class 'SEO_URL' not found in html/googlebase.php on line 105

 

This is because i don't have a file named data_feed.txt. Would i have to create a blank file named data_feed.txt?? there were no instructions on this, i thought the htaccess file gathered the information automatically.

 

regards,

 

Rebellion.

Posted (edited)
Warning: include_once(includes/classes/seo.class.php) [function.include-once]: failed to open stream: No such file or directory in html/googlebase.php on line 104

I am not familiar wit this contribution. But from the error I see that you should have the ultimate seo urls installed.

 

This is because i don't have a file named data_feed.txt. Would i have to create a blank file named data_feed.txt?? there were no instructions on this, i thought the htaccess file gathered the information automatically.

 

The reply is in the README.html :

Note: When you access file http://www.yourwebsite.com/your-outfile.txt, there is no file named your-outfile.txt in the root directory, We use .htaccess to redirect this request to googlebase.php. so your-outfile.txt is not a static file, its content will auto generate by googlebase.php. when google base uploads this, The file will always be up-to-date.

 

After correcting this problems

try to point your browser to http://www.yourwebsite.com/your-outfile.txt

 

the encoding should be correct , the product urls should be valid, the product description not short

Sample here

 

 

Stanislav

Edited by Pektsekye
Posted

Your rewrite rule

 

RewriteRule data_feed.txt googlebase.php

 

changes the url from www.your_site.com/data_feed.txt to www.your_site.com/googlebase.php

 

The error message below is saying that file is not there

 

Warning: include_once(includes/classes/seo.class.php) [function.include-once]: failed to open stream: No such file or directory in html/googlebase.php on line 104

 

Warning: include_once() [function.include]: Failed opening 'includes/classes/seo.class.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in html/googlebase.php on line 104

 

Fatal error: Class 'SEO_URL' not found in html/googlebase.php on line 105

 

Your config is also set to say seo is installed and it is not.

 

I'd go back and reinstall the contribution, read the installation/readme file very carefully and make sure you carry out each step.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...