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

http://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 http://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 http://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 http://www.macmend.com instead of http://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


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 to http://bagsofbooks.net/xml_google.php this is what I get:

xml version="1.0" encoding="UTF-8" ?> 


  http://bagsofbooks.net/ 
  2008-11-28T13:50:41Z 
  1.0 
  


  http://bagsofbooks.net/modules/yogurt/ 
  


  http://bagsofbooks.net/modules/yogurt/searchmembers.php 
  


  http://bagsofbooks.net/modules/yogurt/index.php 
  


  http://bagsofbooks.net/modules/yogurt/scrapbook.php 
  


  http://bagsofbooks.net/modules/yogurt/album.php 
  


  http://bagsofbooks.net/modules/yogurt/seutubo.php 
  


  http://bagsofbooks.net/modules/yogurt/friends.php 
  


  http://bagsofbooks.net/modules/yogurt/tribes.php 
  


  http://bagsofbooks.net/modules/yogurt/configs.php 
  


  http://bagsofbooks.net/modules/news/ 
  


  http://bagsofbooks.net/modules/news/index.php?storytopic=4 
  


  http://bagsofbooks.net/modules/news/index.php?storytopic=2 
  


  http://bagsofbooks.net/modules/news/index.php?storytopic=3 
  


  http://bagsofbooks.net/modules/news/index.php?storytopic=1 
  


  http://bagsofbooks.net/modules/news/archive.php 
  


  http://bagsofbooks.net/modules/news/topics_directory.php 
  


  http://bagsofbooks.net/modules/mediawiki/ 
  


  http://bagsofbooks.net/modules/Xigg/ 
  


  http://bagsofbooks.net/modules/Xigg/index.php/tag 
  


  http://bagsofbooks.net/modules/wfdownloads/ 
  


  http://bagsofbooks.net/modules/wfdownloads/topten.php?list=hit 
  


  http://bagsofbooks.net/modules/wfdownloads/topten.php?list=rate 
  


  http://bagsofbooks.net/modules/contact_plus/ 
  

  


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

453 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 453


more...

Donat-O-Meter

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

Latest GitHub Commits