Forums / All Other Contributions/Addons / google base error??

google base error??

Results 1 to 20 of 44
04 Oct 2011, 17:15
#1
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

google base error??

Just installed the update and tried to run the module and got POPUP SHOWING THAT IT RAN (NO ERROR MESSAGE) BUT THE TOTALS WERE "0".
aLSO got the following Admin screen WITH A WARNING MESSAGE:
-------------------------------------------------------------------------------------

Google Base Feeder
Feed Type: products
TEXT_ENTRY_LIMIT ##########____
TEXT_ENTRY_OFFSET ##########____


Available Files

Warning: opendir(/home/XXXXX/public_html/zen/GOOGLE_PRODUCTS_DIRECTORY) [function.opendir]: failed to open dir: No such file or directory in /home/XXXXXX/public_html/zen/ADMIN/googlefroogle.php on line 185
Date (DD/MM/YYYY) Download Link Action
-----------------------------------------------------------------------------------------------

ANYBODY HAVE ANY IDEA????

Thanks
04 Oct 2011, 18:56
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Posts:
1,700
Plugin Contributions:
2

Re: google base error??

Do you have the correct feed file directory name referenced in your Google Merchant Center feeder configuration? And, is it chmoded to 777?
04 Oct 2011, 20:40
#3
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

The original output directory was "feed". Since this is an update I assume it is the same - configuration shows "feed"

My prior output file name was - herbschina.products.xml - where do I go to verify or change to that???

Thanks.
04 Oct 2011, 21:00
#4
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Posts:
1,700
Plugin Contributions:
2

Re: google base error??

marvin:

The original output directory was "feed". Since this is an update I assume it is the same - configuration shows "feed"

My prior output file name was - herbschina.products.xml - where do I go to verify or change to that???

Thanks.


The update initially uses feed/google/. Did you change it to simply feed/? Did you check your store directory to make sure the feed folder is actually there? Is the feed folder permissions set to 777?

The name of the output file is set in the configuration and the format is different than previous versions. At appends _en to products. But, that isn't relevant to the error you're getting.
05 Oct 2011, 04:13
#5
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

I changed the admin configuration to feed/google. changed the chmod to 777 on feed dir & on google dir.

Still the same error message:


Warning: opendir(/home/herbschi/public_html/zen/GOOGLE_PRODUCTS_DIRECTORY) [function.opendir]: failed to open dir: No such file or directory in /home/herbschi/public_html/zen/admin/googlefroogle.php on line 185

any idea?

Thanks
05 Oct 2011, 12:43
#6
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: google base error??

marvin:

I changed the admin configuration to feed/google. changed the chmod to 777 on feed dir & on google dir.

Still the same error message:


Warning: opendir(/home/herbschi/public_html/zen/GOOGLE_PRODUCTS_DIRECTORY) [function.opendir]: failed to open dir: No such file or directory in /home/herbschi/public_html/zen/admin/googlefroogle.php on line 185

any idea?

Thanks



check to see if the file googlefroogle.php was uploaded to the folder

/home/herbschi/public_html/zen/admin/
05 Oct 2011, 14:29
#7
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

Yes the file was uploaded.

When I run the feed in the admin tools, I now get this result:
--------------------------------------------------------------
Google Merchant Center Feeder v1.10.2 started 2011/10/05 09:24:27
Feed file - /home/herbschi/public_html/zen/feed/google/GOOGLE_PRODUCTS_OUTPUT_FILENAME_products_.xml
Processing: Feed - Yes, Upload - No

Google Merchant Center File Complete In 0.002395 Seconds 0 of 0 Records
----------------------------------------

With the following error still there:
-------------------------------------------------------------------------

Google Merchant Center Feeder
Feed Type:
Max Products
Starting Point


Available Files

Warning: opendir(/home/herbschi/public_html/zen/GOOGLE_PRODUCTS_DIRECTORY) [function.opendir]: failed to open dir: No such file or directory in /home/herbschi/public_html/zen/xxxxxxx/googlefroogle.php on line 185
Date (DD/MM/YYYY) Download Link Action

-------------------------------------------------------------------
05 Oct 2011, 17:29
#8
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

OK. Some progress. (DISREGARD THE POST JUST ABOVE THIS ONE.

Changed configuration output directory to: GOOGLE_PRODUCTS_DIRECTORY

configuration Output file name is: herbschina


When I run the feed in "Admin-tools" The output file name is - GOOGLE_PRODUCTS_OUTPUT_FILENAME_products.xml ?? shouldn't this be "herbschina_products.xml"??
Where do I change something to accomplish this??

------------------------------------

When I click on "confirm" the following is in the popup window:
---------------------------------------------------------------------------------------------------------------------------------------
Google Merchant Center Feeder v1.10.2 started 2011/10/05 12:22:43
Feed file - /home/herbschi/public_html/zen/feed/google/GOOGLE_PRODUCTS_OUTPUT_FILENAME_products_.xml
Processing: Feed - Yes, Upload - No

Google Merchant Center File Complete In 0.002680 Seconds 0 of 0 Records
---------------------------------------------------------------------------------------------------------

GOOGLE_PRODUCTS_OUTPUT_FILENAME_products_.xml was created with no records in it.

Also the following shows with an error message:
-----------------------------------------------------------------------------------------------------
Google Merchant Center Feeder
Feed Type:
Max Products
Starting Point


Available Files

Warning: filemtime() [function.filemtime]: stat failed for /home/herbschi/public_html/zen/GOOGLE_PRODUCTS_DIRECTORYgoogle in /home/herbschi/public_html/zen/XXXXXX/googlefroogle.php on line 188

Date (DD/MM/YYYY) Download Link Action 5/10/2011 google Delete Upload
----------------------------------------------------------------------------------------------------------------

Help!!!!HELP!!!! SOMEONE?
05 Oct 2011, 17:54
#9
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Posts:
1,700
Plugin Contributions:
2

Re: google base error??

Changed configuration output directory to: GOOGLE_PRODUCTS_DIRECTORY


GOOGLE_PRODUCTS_DIRECTORY is simply a directive in the googlefroogle.php file that tells the feed to load the file in the folder selected in the configuration. It is not a directory itself.

Warning: opendir(/home/herbschi/public_html/zen/GOOGLE_PRODUCTS_DIRECTORY) [function.opendir]: failed to open dir: No such file or directory in /home/herbschi/public_html/zen/xxxxxxx/googlefroogle.php on line 185
Date (DD/MM/YYYY) Download Link Action


What this message means is that the directive was unable to execute because it could not find the folder. This would happen because either a) The folder doesn't exist, b) The folder name doesn't match the name in the configuration, or c) The folder permissions are wrong.

Set the folder name in the configuration to feed/. Then make sure a folder named feed is in the root of your store - zen/feed. Then make sure the permissions are set correctly, try either 755 or 777.
05 Oct 2011, 18:34
#10
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: google base error??

RescoCCC:


What this message means is that the directive was unable to execute because it could not find the folder. This would happen because either a) The folder doesn't exist, b) The folder name doesn't match the name in the configuration, or c) The folder permissions are wrong.

Set the folder name in the configuration to feed/. Then make sure a folder named feed is in the root of your store - zen/feed. Then make sure the permissions are set correctly, try either 755 or 777.


I'm having the same issue and currently have 0 products on google! 1.3.8a
I have tried many different combinations. I have created a define in inc/lang/eng/googlefroogle.php to take care of the feed output name displaying incorrectly.

The WARNING still appears like the one above mentioned. The config does not work with both the feed/ or feed/google/ as the file directory. feed/ is present on the root folder with google/ inside it.

Why does the feed not grab it's info from the config correctly? I am quite sure I uploaded everything right including the SQL update of 1.10.2
05 Oct 2011, 18:36
#11
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

ok. I changed the output directory to feed/. The permissions are set to 777.

My output file name (in Configuration is- herbschina

The popup confirmation window shows the following:
----------------------------------------------------------------------------------------------
Google Merchant Center Feeder v1.10.2 started 2011/10/05 13:30:44
Feed file - /home/herbschi/public_html/zen/feed/google/GOOGLE_PRODUCTS_OUTPUT_FILENAME_products_.xml
Processing: Feed - Yes, Upload - No

Google Merchant Center File Complete In 0.002641 Seconds 0 of 0 Records
--------------------------------------------------------------------------------------------
ALSO This isafter I run the feed in tools NOTE the warning message

----------------------------------------------------------
Google Merchant Center Feeder
Feed Type:
Max Products
Starting Point


Available Files

Warning: filemtime() [function.filemtime]: stat failed for /home/herbschi/public_html/zen/GOOGLE_PRODUCTS_DIRECTORYgoogle in /home/herbschi/public_html/zen/workhere/googlefroogle.php on line 188
Date (DD/MM/YYYY) Download Link Action
5/10/2011 google Delete Upload
05 Oct 2011, 18:52
#12
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: google base error??

strange - basically I can change the output directory in config to anything I want , it really doesn't matter. The feed still spits out GOOGLE_PRODUCTS_DIRECTORY. It's my gut feeling that the feed is not properly talking with the config to figure out what the directory even is or what is defined in the config.
frustrating.
where is the output directory stored once you edit it in config for the feed to grab from?
05 Oct 2011, 19:17
#13
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: google base error??

Making a define in inc/lang/eng/googlefroogle.php for GOOGLE_PRODUCTS_OUTPUT_FILENAME wil work to get it to display what you'd like.

For me, the feed happens (0 of 0 products though) and the feed .xml is this:


<?xml version="1.0" encoding="UTF-8" ?>
- <rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
- <channel>
<title>"store name"</title>
<link>GOOGLE_PRODUCTS_ADDRESS</link>
<description>GOOGLE_PRODUCTS_DESCRIPTION</description>
</channel>
</rss>
05 Oct 2011, 19:25
#14
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Posts:
1,700
Plugin Contributions:
2

Re: google base error??

Feed file - /home/herbschi/public_html/zen/feed/google/GOOGLE_PRODUCTS_OUTPUT_FILENAME_products_.xml


This indicates that you have the output directory in Google Merchant Center Feeder Configuration set to feed/google/. Do you actually have the directory structure feed/google in your store root? It also indicates that it's ignoring the output file name herbschina you entered in the configuration.

Somewhere along the line the files got screwed up. I'd try uploading a fresh, unedited set.
05 Oct 2011, 19:28
#15
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Posts:
1,700
Plugin Contributions:
2

Re: google base error??

where is the output directory stored once you edit it in config for the feed to grab from?


The output directory is in the root of the store. But, simply having the entry in the config file doesn't create the directory. You need to verify that it exists in the root.
06 Oct 2011, 03:14
#16
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

So I reinstalled TWICE and guess what??? I DONT HAVE GOOGLE MERCHANT CENTER IN ADMIN/TOOLS!!!

Can some one give me a clue as to what I'mmissing??

Thanks

Marvin
06 Oct 2011, 12:39
#17
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: google base error??

RescoCCC:

The output directory is in the root of the store. But, simply having the entry in the config file doesn't create the directory. You need to verify that it exists in the root.


feed/google exists in the root based on the mod install.

The two problems that marvin and I are both having is that the two config options (directory and file output name) simply do not make a difference as to what we set them at - they are not being read by the feed.

marvin - sounds like you're going backwards? there may be something in the SQL update that we are missing?

I too reinstalled all the files from 1.10.2 a couple of times to no avail.
06 Oct 2011, 13:16
#18
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: google base error??

Should the new feeder config have an "alternate image URL" and "Magic SEO URL" options?
Those are missing for me - 1.10.2

Here's another thing - I have my config set to feed/google/
In my root I go to feed/google and have the feed set to 777 and changed the google folder to 755. Admin picks up the fact that I changed my google folder to 755 and gives me this message:
Your Google Merchant Center folder is not writeable! Please chmod the /GOOGLE_PRODUCTS_DIRECTORY folder to 755 or 777 depending on your host.

So to some degree it knows that the /GOOGLE_PRODUCTS_DIRECTORY is indeed feed/google/

WHen I change back to 777, all is good except the remaining
Warning: opendir(/opt/apache/htdocs/storename/GOOGLE_PRODUCTS_DIRECTORY) [function.opendir]: failed to open dir: No such file or directory in /opt/apache-2.2.13/htdocs/storename/admin/googlefroogle.php on line 185
Here's that line 185-189:
[PHP] if ($handle = opendir(DIR_FS_CATALOG . GOOGLE_PRODUCTS_DIRECTORY)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && $file != 'index.html') {
$filetime = filemtime(DIR_FS_CATALOG . GOOGLE_PRODUCTS_DIRECTORY . $file);
$date = date('j/m/Y');[/PHP]
06 Oct 2011, 13:17
#19
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: google base error??

sbbemn:

feed/google exists in the root based on the mod install.

The two problems that marvin and I are both having is that the two config options (directory and file output name) simply do not make a difference as to what we set them at - they are not being read by the feed.

marvin - sounds like you're going backwards? there may be something in the SQL update that we are missing?

I too reinstalled all the files from 1.10.2 a couple of times to no avail.


I think you've hit several nails right on their heads.

I've gone from being satisfied with the old feed to having no working feed after now three re-installs. Still nothing in admin/tools!!!!!!!!!!!!

Do you have a suggestion as to why I have nothing in admin/tools??
06 Oct 2011, 13:44
#20
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: google base error??

marvin:

Do you have a suggestion as to why I have nothing in admin/tools??


That file is the admin/googlefroogle.php file - just check to make sure it's there first and/or the correct one.

I wonder if it's worth (or even good to do) wiping out all google related info from the data base and installing the install.sql instead of the upgrade1.10.2.sql I did.

Could that be a plan? Anyone know how to go about this if this is a good path to take easy enough through Tools>Install SQL Patches?