1
macmend
sitemap module xml_google.php works on one site and not another
  • 2008/9/5 21:44

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


it in the title

www.bagsofbooks.net seems to wokr fine with sitemap module and the xml_google.php and google accepts it.

The XOOPS root here is also the root of public_html

in www.macmend.com/machelp

the sitemap is in a directory in public_html and google doesn't like xml_google.php

can anyone enlighten me?
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

2
macmend
Re: sitemap module xml_google.php works on one site and not another
  • 2008/11/27 19:16

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


Bounce

I still have this problem across 3 sites now
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

3
tank1955
Re: sitemap module xml_google.php works on one site and not another
  • 2008/11/27 21:34

  • tank1955

  • Module Developer

  • Posts: 276

  • Since: 2007/9/7 1


It would appear that www.macmend.com/machelp/modules/sitemap/xml_google.php can not be found or it has to do with the dirname(__FILE__) command possibly returning www.macmend.com instead of www.macmend.com/machelp/

4
macmend
Re: sitemap module xml_google.php works on one site and not another
  • 2008/11/28 8:57

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


Thanks for your response

so is that because www.macmend.com....redirects to www.macmend.com/machelp?

what of www.bagsofbooks.net

or

www.southstreetbonfiresociety.co.uk
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

5
tank1955
Re: sitemap module xml_google.php works on one site and not another
  • 2008/11/28 14:03

  • tank1955

  • Module Developer

  • Posts: 276

  • Since: 2007/9/7 1


If I go tohttp://bagsofbooks.net/xml_google.php this is what I get:

<?xml version="1.0" encoding="UTF-8" ?> 
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <url>
  <loc>http://bagsofbooks.net/</loc> 
  <lastmod>2008-11-28T13:50:41Z</lastmod> 
  <priority>1.0</priority> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/searchmembers.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/index.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/scrapbook.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/album.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/seutubo.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/friends.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/tribes.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/yogurt/configs.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/index.php?storytopic=4</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/index.php?storytopic=2</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/index.php?storytopic=3</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/index.php?storytopic=1</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/archive.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/news/topics_directory.php</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/mediawiki/</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/Xigg/</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/Xigg/index.php/tag</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/wfdownloads/</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/wfdownloads/topten.php?list=hit</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/wfdownloads/topten.php?list=rate</loc> 
  </url>
- <url>
  <loc>http://bagsofbooks.net/modules/contact_plus/</loc> 
  </url>
  </urlset>


However, the other site you indicated shows the "Don't call this file directly" error."

If your XOOPS installation resides in the root directory of your domain then everything works fine. But it appears that if the installation is nested inside of another subdirectory then the error occurs. This has also been reported by others who are using the Sitemap v1.30b with CVD hacks I have provided. I am working to try to come up with a solution.


6
macmend
Re: sitemap module xml_google.php works on one site and not another
  • 2008/11/28 14:32

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


thanks again for responding, google claims an error in bags of books.

I remember before when your module first came out and I was using it on an earlier version of macmend.com I hacked it and left a record on the XOOPS site and xoops-tips but cannot find the entry...it got round this google problem....maybe i imagined it.
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

Login

Who's Online

206 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits