| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
aznole
Joined: 19 Nov 2006 Posts: 26
|
Posted: Tue Dec 12, 2006 7:56 pm Post subject: Trying to add this Mod ... getting an error message |
|
|
Ok ... trying to add this mod to my board. I have over written the sitemap_forum php file and edited the .htaccess file to reflect the changes as well as the fact that my forums are in a subfolder (forums) and not root ...
when I travel to sitemap.php I am now getting the following error message: | Quote: | Fatal error: Call to undefined function: set_exclude_list() in /home/nynole/public_html/portal/modules/mx_ggsitemaps/includes/sitemap_forum.php on line 37
|
When I revert back to the regular sitemap.php everything works fine except of course I have no xml file to point to
Anyone got a clue here? |
|
|
| Back to top |
|
 |
|
 |
aznole
Joined: 19 Nov 2006 Posts: 26
|
Posted: Tue Dec 12, 2006 8:33 pm Post subject: Re: Trying to add this Mod ... getting an error message |
|
|
Ok I figured it out ... partly ... I had not updated all the (includes) files when I updated versions ... stupid me
Now when I goto sitemap.php ... everything comes up but in php ... no XML .... I know I am missing something obvious ... I have altered the .htacces file to reflect the location of my forums in the sub-folder forums ...
here's a link MESSED UP XML SITE-MAP |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
Posted: Tue Dec 12, 2006 11:46 pm Post subject: Re: Trying to add this Mod ... getting an error message |
|
|
All right, so you managed to set mod rewrite on in acp, but you still need to add the rewriterules for the rewritten siemaps links such as a forum sitemap : -http://survivinginfidelitysucks.com/forum-sitemap-17.xml
You'll find them in the contrib folder, for phpBB in root you should add :
| Code: | # phpBB
RewriteRule ^sitemaps.xml$ /sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemap.php?forum [L] |
after :
| Code: | RewriteEngine on
RewriteBase / |
in your root .htaccess.
When trying the php url -http://www.survivinginfidelitysucks.com/sitemap.php?fid=17 I get :
| Quote: | | Fatal error: Call to undefined function: format_url() in /home/xxxx/public_html/portal/modules/mx_ggsitemaps/includes/sitemap_forum.php on line 94 |
This most likely mean you are using the wrong premodded sitemap_forum.php file, it looks like you took one meant to work with the phpBB SEO mod rewrites but you do not use it yet on your forum so ... you should either install one of the phpBB SEO mod rewrites or put back the original sitemap_forum.php.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
aznole
Joined: 19 Nov 2006 Posts: 26
|
Posted: Wed Dec 13, 2006 5:24 am Post subject: Re: Trying to add this Mod ... getting an error message |
|
|
dcz .... thanks for the info!!! I did get the rewriterules added no problem and then came the erroro you mentioned.
I posted about that error in the mx google sitemaps thread ... but to answer your question ... I uploaded the sitemap_forum.php from the contrib/mixed mod_rewrite folder in the download for mx_ggsitemaps V1.0.1
When I did this I just over-wrote the existing sitemap_forum.php |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |