XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
December 05, 2008, 12:13:58 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
8403 Posts in 2075 Topics by Members
Latest Member: administratie1
Pages: [1]
  Print  
Author Topic: Invalid arguments and short sitemap.xml?  (Read 12119 times)
mark.hein
Registered Customer
Newbie
*
Posts: 5


View Profile
« on: October 05, 2005, 03:23:55 PM »

Hello All,
O.K. I'm NOT a programer of apps by any means!! So please be gentle <G>...
When I open the index. html I get the following messages at the top of the page:
++++++++++++++++++++++
Warning: Invalid argument supplied for foreach() in /home/virtual/site28/fst/var/www/html/generator/index.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 48

Warning: Invalid argument supplied for foreach() in /home/virtual/site28/fst/var/www/html/generator/index.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 49

Warning: extract() expects first argument to be an array in /home/virtual/site28/fst/var/www/html/generator/index.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 52

Warning: extract() expects first argument to be an array in /home/virtual/site28/fst/var/www/html/generator/index.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 53[/table]
+++++++++++++++++++++++++++++++++++++++++

And although it's quickly done my sitemap.xml seems very "sparse":

++++++++++++++++++++++++++++++++++++++++++
<?xml version="1.0" encoding="UTF-8"?>
<urlset
  xmlns="[external links are visible to admins only]"
  xmlns:xsi="[external links are visible to admins only]"
  xsi:schemaLocation="[external links are visible to admins only]
                      [external links are visible to admins only]">

<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2005-06-30T19:35:14+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2005-06-30T19:35:14+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2005-06-30T19:35:14+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2005-06-30T19:35:14+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2005-06-30T19:35:14+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
</urlset>
+++++++++++++++++++++++++++

My site is not "HUGE", but is rather large. Where in the settings/permissions have I gone wrong here?

Many thanks in advance for this program and your help......... Mark
Logged
admin
Administrator
Hero Member
*****
Posts: 3530


View Profile
« Reply #1 on: October 05, 2005, 03:47:03 PM »

Hi Mark,

these warning messages appear because you have an older version of PHP than is recommended in generator documentation.
However, the script still works. Smiley

1. To solve the problem with only a small part of your site included in sitemap, you should enter FULL address as a "Starting URL:", in your case http://www.houseofhein.com/ instead of http://houseofhein.com/. (some of your links point to "www." address and are not followed since reside on another domain)
2. It seems like your sitemap is not stored because you didn't created sitemap.xml file as required. You should create this file and then set write permissions to it (0666).

Everything should work fine after that! Smiley (although the warnings will be shown Wink)
Logged

mark.hein
Registered Customer
Newbie
*
Posts: 5


View Profile
« Reply #2 on: October 05, 2005, 04:05:45 PM »

Hey Friend,
I'll bet that's it!!
My Host is probably still using PHP3 and I did indeed change some of my a href's to www. since I'd been having fits with my ISP. They regenerated my Gateway last week and everything's working fine now.
(Pause)... I just changed the config settings to have all URL's with the "www." and I'll be back if any more fits arise. <G>
Again thanks for a fine app and your speedy help.... Mark
Logged
mark.hein
Registered Customer
Newbie
*
Posts: 5


View Profile
« Reply #3 on: October 05, 2005, 05:03:15 PM »

Yup, those were the problem(s)... All fixed....
And once again THANKS !!
Logged
admin
Administrator
Hero Member
*****
Posts: 3530


View Profile
« Reply #4 on: October 06, 2005, 09:26:53 AM »

Ok, excellent! Smiley
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!