Thread: SitemapXML v.2

Page 93 of 222 FirstFirst ... 43839192939495103143193 ... LastLast
Results 921 to 930 of 2213
  1. #921
    Join Date
    May 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Hi.

    I have just installed SitemapXML on Zencart 1.5 and the sitemapezpages.xml file is blank. The index, mainpage, products and categories have all been filled in during the installation but the ezpages xml file and the other ones are left blank. I have chmodded the .xml files to 777 but it still wont work.

    My site is:

    http://healing-exchange.com

  2. #922
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Hi,
    Quote Originally Posted by reikipaul View Post
    Hi.

    I have just installed SitemapXML on Zencart 1.5 and the sitemapezpages.xml file is blank. The index, mainpage, products and categories have all been filled in during the installation but the ezpages xml file and the other ones are left blank. I have chmodded the .xml files to 777 but it still wont work.

    My site is:

    http://healing-exchange.com
    I don't found any EZpages on your site.

  3. #923
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Hi,
    Quote Originally Posted by rafcamera View Post
    1. Reason why not all sitemap files were included into the index is same as with images (described in other topic). Script was stumbling at my '0' folder.
    So it is necessary to edit approximately line 255 in /includes/classes/sitemapxml.php
    while ($filename = $za_dir->read()) {
    replace with
    while (($filename = $za_dir->read()) !== false) {
    This will handle directory reading correctly.
    Thank you. Fixed in the latest version.

    Quote Originally Posted by rafcamera View Post
    2. Missing domain part is restored with adding following line to the same file around line 210:
    if (substr($loc,0,4)!="http") $loc = 'http://rafcamera.com' . $loc;
    Not sure if CEON caused this problem, but such simple solution works fine for me.
    I tested it on tseon - everything works fine, the domain in the address does not missing.

  4. #924
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Quote Originally Posted by photoceram View Post
    I have installed your soft: "sitemapxml__formerly_google_sitemap_3-1-014-12-20111332"
    on an 1.39H zencart in french. It works great.
    I have changed the directories includes/languages/english to /french but in the configuration admin/configuration/sitemap XML the 4 sentences beginning with TEXT_CONFIGURATION are not translated and stay like that. I tried to find this terms in the translated files (directory /french/) like I do usually when this occurs with other add ons.
    Can you explain me what to do?
    With many thanks
    1. Copy YOUR_Admin\includes\languages\english\sitemapxml.php to YOUR_Admin\includes\languages\french\sitemapxml.php, YOUR_Admin\includes\languages\english\extra_definitions\sitemapxml.php to YOUR_Admin\includes\languages\french\extra_definitions\sitemapxml.php
    2. Copy includes\languages\english\sitemapxml.php to includes\languages\french\sitemapxml.php
    3. Translate YOUR_Admin\includes\languages\french\sitemapxml.php, YOUR_Admin\includes\languages\french\extra_definitions\sitemapxml.php and includes\languages\french\sitemapxml.php
    4. Install sitemapxml.

  5. #925
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Quote Originally Posted by zekin View Post
    Hi Andrew, I have bunch of testiminials but the sitemap file sitemaptestimonials.xml is always blank no matter how many times I generate.

    Do you know what have I been missing?
    Which version testiminials? I tested version testiminials 1.4.7.

  6. #926
    Join Date
    May 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Hi,
    Quote Originally Posted by reikipaul View Post
    Hi.

    I have just installed SitemapXML on Zencart 1.5 and the sitemapezpages.xml file is blank. The index, mainpage, products and categories have all been filled in during the installation but the ezpages xml file and the other ones are left blank. I have chmodded the .xml files to 777 but it still wont work.

    My site is:

    http://healing-exchange.com
    I don't found any EZpages on your site.
    I figured out the problem. Thanks. I had set up links to my forum and link exchange and had them set as external url's. I have now changed it to internal url's and it is now working fine. Thanks. What you said got me to think about that. It makes sense that the sitemap generator wouldn't pick up external links.
    Last edited by reikipaul; 7 May 2012 at 10:48 AM.

  7. #927
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,760
    Plugin Contributions
    30

    Default cron job causes debug error

    I have the /cgi-bin file being executed regularly as a cron job.
    The script creates the sitemaps correctly but it generates a debug error every time.
    [13-May-2012 01:00:01] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/xxxx/public_html/tienda/includes/functions/sessions.php on line 113
    [13-May-2012 01:00:01] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in /home/xxxx/public_html/tienda/includes/functions/sessions.php on line 113
    While it appears that the usual cause of such an error is a line after the closing php tag, these files don't have closing tags.
    I have checked that the files are identical to the install ones, no extra spaces or lines at the end.

    Any clues?
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  8. #928
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: cron job causes debug error

    Quote Originally Posted by torvista View Post
    I have the /cgi-bin file being executed regularly as a cron job.
    The script creates the sitemaps correctly but it generates a debug error every time.


    While it appears that the usual cause of such an error is a line after the closing php tag, these files don't have closing tags.
    I have checked that the files are identical to the install ones, no extra spaces or lines at the end.

    Any clues?
    Check your files. You can use my script found_extra_space.

  9. #929
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,760
    Plugin Contributions
    30

    Default Re: cron job causes debug error

    Great script!

    It found half a dozen files which I corrected.
    ...including
    /includes/templates/template_default/sitemapxml/html_header.php

    which I had previously ignored due to the comment at the end.

    However, removing the final line has not cured the debug error.

    regards
    Steve
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  10. #930
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: cron job causes debug error

    Quote Originally Posted by torvista View Post
    ...including
    /includes/templates/template_default/sitemapxml/html_header.php

    which I had previously ignored due to the comment at the end.

    However, removing the final line has not cured the debug error.
    Of course, because html_header.php actually displays the information. But it happens much later start sessions.

    It is strange that the error message does not indicate the place where the output header starts.

    In addition, the script /cgi-bin/sitemapxml.php buffers (ob_start()) all output before starting the main wrapper index.php. This means that the presence of extra-Space should not affect the output header.

    Perhaps there are some features of php-scripts run through Cron. As you run, what is written in the crown?
    Show your script /cgi-bin/sitemapxml.php here.

 

 

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR