Page 1 of 2 12 LastLast
Results 1 to 10 of 44

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default 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.

  2. #2
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: google base error??

    Quote Originally Posted by RescoCCC View Post
    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

  3. #3
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default 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?

  5. #5
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default 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>

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default 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.

  7. #7
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default 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.

  8. #8
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default 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

  9. #9
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: google base error??

    Quote Originally Posted by RescoCCC View Post
    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.

  10. #10
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default 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:
    [FONT="Courier New"]Your Google Merchant Center folder is not writeable! Please chmod the /GOOGLE_PRODUCTS_DIRECTORY folder to 755 or 777 depending on your host.[/FONT]

    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
    [FONT="Courier New"]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[/FONT]
    Here's that line 185-189:
    PHP Code:
            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'); 

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Google Base Feeder error
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Mar 2011, 06:03 AM
  2. Error When Creating/Exporting a Product Feed with Google Base Feeder
    By swansoninc in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Feb 2010, 12:09 AM
  3. Google base import error...
    By steveo3279 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Nov 2007, 08:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg