[Archive] mx Google Sitemaps 1.0.1

The GYM Sitemaps and RSS module and it's plug-ins.
Google Yahoo MSN Sitemaps (United 0.9).
RSS 2.0 Feeds and Yahoo! urllist.txt.

Moderator: Moderators

Postby Pottsy » Thu Aug 03, 2006 9:14 pm

I use this:

http://www.phpbb.com/phpBB/viewtopic.ph ... ight=yahoo

Which is good - make a compressed urllist.txt which I can then submit to Yahoo. You can see that I'm well indexed in Yahoo already.

How long till the next version of mx g s - that would be the best solution!

TIA,

Andrew
Pottsy
 
Posts: 8
Joined: Thu Aug 03, 2006 3:03 pm

Advertisement

Postby dcz » Thu Aug 03, 2006 9:15 pm

Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

upgrade update

Postby lavinya » Fri Aug 11, 2006 2:25 pm

thanks for mod.

dcz I'm using "mx Google Sitemaps v1.0.0RC2" how to upgrade 1.0.1 ?

which codes have changed or added from 1.0.0RC2 to 1.0.1 ?

thanks.
User avatar
lavinya
PR1
PR1
 
Posts: 167
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Fri Aug 11, 2006 2:32 pm

You just basically need to overwrite all files, unless you have modded them which I doubt for now, and to go acp and re-put your settings if not default.

It's explained in the 1.0.1 install. You can keep the rewriterules, though they stay the same.

You'll need as well to use the correct new premodded file for your mod rewrite.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

Postby MaestroX » Sat Aug 12, 2006 12:05 pm

Hi, I've just installed this mod and I get the following error:

Warning: file_exists(): open_basedir restriction in effect. File(/cache) is not within the allowed path(s): (/home/httpd/vhosts/music-web.org/httpdocs:/tmp) in /home/httpd/vhosts/music-web.org/httpdocs/attach_mod/attachment_mod.php on line 110
http://www.music-web.org/sitemap.php?fid=15 2006-08-12T12:06:52+00:00 http://www.music-web.org/sitemap.php?fid=22 2006-08-12T10:59:40+00:00 http://www.music-web.org/sitemap.php?fid=21 2006-08-12T09:49:29+00:00 http://www.music-web.org/sitemap.php?fid=20 2006-08-12T09:43:00+00:00 http://www.music-web.org/sitemap.php?fid=8 2006-08-12T03:33:02+00:00 http://www.music-web.org/sitemap.php?fid=18 2006-08-11T20:22:49+00:00 http://www.music-web.org/sitemap.php?fid=30 2006-08-11T20:20:12+00:00 http://www.music-web.org/sitemap.php?fid=7 2006-08-11T16:37:08+00:00 http://www.music-web.org/sitemap.php?fid=28 2006-08-11T14:36:44+00:00 http://www.music-web.org/sitemap.php?fid=17 2006-08-11T14:27:59+00:00 http://www.music-web.org/sitemap.php?fid=25 2006-08-11T14:12:59+00:00 http://www.music-web.org/sitemap.php?fid=11 2006-08-11T12:52:02+00:00 http://www.music-web.org/sitemap.php?fid=12 2006-08-10T21:17:10+00:00 http://www.music-web.org/sitemap.php?fid=14 2006-08-09T17:58:58+00:00 http://www.music-web.org/sitemap.php?fid=1 2006-08-09T16:09:18+00:00 http://www.music-web.org/sitemap.php?fid=13 2006-08-09T11:43:13+00:00 http://www.music-web.org/sitemap.php?fid=19 2006-08-07T15:51:06+00:00 http://www.music-web.org/sitemap.php?fid=5 2006-08-04T00:59:18+00:00 http://www.music-web.org/sitemap.php?fid=16 2006-07-29T12:03:16+00:00 http://www.music-web.org/sitemap.php?forum 2006-08-12T12:06:52+00:00


Thanks for the help

Audio Tutorials | Composer Forum
Last edited by MaestroX on Fri Sep 17, 2010 1:24 pm, edited 1 time in total.
MaestroX
 
Posts: 39
Joined: Sat Aug 12, 2006 12:03 pm

Postby MaestroX » Sat Aug 12, 2006 12:16 pm

Sorry to double post, but i get this eror aswell

Warning: file_exists(): open_basedir restriction in effect. File(/cache) is not within the allowed path(s): (/home/httpd/vhosts/music-web.org/httpdocs:/tmp) in /home/httpd/vhosts/music-web.org/httpdocs/attach_mod/attachment_mod.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/music-web.org/httpdocs/attach_mod/attachment_mod.php:110) in /home/httpd/vhosts/music-web.org/httpdocs/includes/sessions.php on line 393

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/music-web.org/httpdocs/attach_mod/attachment_mod.php:110) in /home/httpd/vhosts/music-web.org/httpdocs/includes/sessions.php on line 394
http://www.music-web.org/sitemap.php?fid=15 2006-08-12T12:06:52+00:00 http://www.music-web.org/sitemap.php?fid=22 2006-08-12T10:59:40+00:00 http://www.music-web.org/sitemap.php?fid=21 2006-08-12T09:49:29+00:00 http://www.music-web.org/sitemap.php?fid=20 2006-08-12T09:43:00+00:00 http://www.music-web.org/sitemap.php?fid=8 2006-08-12T03:33:02+00:00 http://www.music-web.org/sitemap.php?fid=18 2006-08-11T20:22:49+00:00 http://www.music-web.org/sitemap.php?fid=30 2006-08-11T20:20:12+00:00 http://www.music-web.org/sitemap.php?fid=7 2006-08-11T16:37:08+00:00 http://www.music-web.org/sitemap.php?fid=28 2006-08-11T14:36:44+00:00 http://www.music-web.org/sitemap.php?fid=17 2006-08-11T14:27:59+00:00 http://www.music-web.org/sitemap.php?fid=25 2006-08-11T14:12:59+00:00 http://www.music-web.org/sitemap.php?fid=11 2006-08-11T12:52:02+00:00 http://www.music-web.org/sitemap.php?fid=12 2006-08-10T21:17:10+00:00 http://www.music-web.org/sitemap.php?fid=14 2006-08-09T17:58:58+00:00 http://www.music-web.org/sitemap.php?fid=1 2006-08-09T16:09:18+00:00 http://www.music-web.org/sitemap.php?fid=13 2006-08-09T11:43:13+00:00 http://www.music-web.org/sitemap.php?fid=19 2006-08-07T15:51:06+00:00 http://www.music-web.org/sitemap.php?fid=5 2006-08-04T00:59:18+00:00 http://www.music-web.org/sitemap.php?fid=16 2006-07-29T12:03:16+00:00 http://www.music-web.org/sitemap.php?forum 2006-08-12T12:06:52+00:00
MaestroX
 
Posts: 39
Joined: Sat Aug 12, 2006 12:03 pm

Postby dcz » Sat Aug 12, 2006 12:29 pm

And welcome :D

This is most likely due to some specific settings related to the file_exists() php function on your server.
Actually, I had never seen this one.

Try open :
Code: Select all
sitemap.php


Find :

Code: Select all
if ( file_exists($mx_root_path . 'mx_meta.inc') )


Replace with :

Code: Select all
if ( @file_exists($mx_root_path . 'mx_meta.inc') )


Or, if not enough, and since you are using phpBB standalone, you could as well totally delete this :
Code: Select all
if ( file_exists($mx_root_path . 'mx_meta.inc') )
{
   define( 'IN_PORTAL', true );
   $module_root_path2 = $module_root_path = $mx_root_path . 'modules/';
   include($mx_root_path . 'extension.inc');
   include($mx_root_path . 'common.'.$phpEx);
   // Start session management
   $userdata = session_pagestart($user_ip, PAGE_INDEX);
   mx_init_userprefs($userdata);
   // End session management   
   $phpbb = FALSE;
   
   define('GGSITEMAP_TABLE', $mx_table_prefix.'ggsitemap_config');
}
// PHPBB
else
{


and this :

Code: Select all
   // End session management
}


But then, looking up at your site, I see you do not seem to use a supported (yet) mod rewrite.

Give me the link to the mod you are using and I'll provide with premodded files. But first, let's install this correct, once everything will be set up ok, you'll be able to submit, but do not do it before, it's time loss ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

Postby MaestroX » Sat Aug 12, 2006 3:35 pm

Thanks for the help!

Ok i did the first set of changes you said

Try open :
Code:
sitemap.php
Find :
Code:
if ( file_exists($mx_root_path . 'mx_meta.inc') )
Replace with :
Code:
if ( @file_exists($mx_root_path . 'mx_meta.inc') )


and now only one error...yay!

You can see th sitemap here: http://www.music-web.org/sitemap.php

The mod rewrite i use is:
http://www.phpbb.com/phpBB/viewtopic.ph ... hlight=seo

I hope this helps, and thanks for your help[/quote]
MaestroX
 
Posts: 39
Joined: Sat Aug 12, 2006 12:03 pm

Postby dcz » Sat Aug 12, 2006 3:48 pm

dcz wrote:
Or, if not enough, and since you are using phpBB standalone, you could as well totally delete this :
Code: Select all
if ( file_exists($mx_root_path . 'mx_meta.inc') )
{
   define( 'IN_PORTAL', true );
   $module_root_path2 = $module_root_path = $mx_root_path . 'modules/';
   include($mx_root_path . 'extension.inc');
   include($mx_root_path . 'common.'.$phpEx);
   // Start session management
   $userdata = session_pagestart($user_ip, PAGE_INDEX);
   mx_init_userprefs($userdata);
   // End session management   
   $phpbb = FALSE;
   
   define('GGSITEMAP_TABLE', $mx_table_prefix.'ggsitemap_config');
}
// PHPBB
else
{


and this :

Code: Select all
   // End session management
}


But then, looking up at your site, I see you do not seem to use a supported (yet) mod rewrite.

Give me the link to the mod you are using and I'll provide with premodded files. But first, let's install this correct, once everything will be set up ok, you'll be able to submit, but do not do it before, it's time loss ;)

++


Have you tried this one ? The file_exist() php function seems to be the one causing us trouble here.

Ok for you mod rewrite, I know it.

I'll write down a premodded file soon. Please check the phpBB SEO mod Rewrites as well, we'll soon provide a zero dupe solution here allowing everybody to migrate without taking any risk.

Pros for migrating in this case, the phpBB SEO mod rewrite will be supported by a lot of mods very soon (already simple sub forum, pseudo sub forum, announce suite, topic glance, today at / yesterday at, a directory script, smartor album etc ...) and are the way they are build less likely to interfere with other mods.

Cons, none, they are just about the fastest codes released, no pagination duplicates and soon no duplicates at all (no more post URLs).

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

Postby MaestroX » Sat Aug 12, 2006 3:52 pm

Using the changes you mentioned above, i now get this error:

Warning: file_exists(): open_basedir restriction in effect. File(/cache) is not within the allowed path(s): (/home/httpd/vhosts/music-web.org/httpdocs:/tmp) in /home/httpd/vhosts/music-web.org/httpdocs/attach_mod/attachment_mod.php on line 110
http://www.music-web.org/sitemap.php?fid=15 2006-08-12T15:05:55+00:00 http://www.music-web.org/sitemap.php?fid=22 2006-08-12T10:59:40+00:00 http://www.music-web.org/sitemap.php?fid=21 2006-08-12T09:49:29+00:00 http://www.music-web.org/sitemap.php?fid=20 2006-08-12T09:43:00+00:00 http://www.music-web.org/sitemap.php?fid=8 2006-08-12T03:33:02+00:00 http://www.music-web.org/sitemap.php?fid=18 2006-08-11T20:22:49+00:00 http://www.music-web.org/sitemap.php?fid=30 2006-08-11T20:20:12+00:00 http://www.music-web.org/sitemap.php?fid=7 2006-08-11T16:37:08+00:00 http://www.music-web.org/sitemap.php?fid=28 2006-08-11T14:36:44+00:00 http://www.music-web.org/sitemap.php?fid=17 2006-08-11T14:27:59+00:00 http://www.music-web.org/sitemap.php?fid=25 2006-08-11T14:12:59+00:00 http://www.music-web.org/sitemap.php?fid=11 2006-08-11T12:52:02+00:00 http://www.music-web.org/sitemap.php?fid=12 2006-08-10T21:17:10+00:00 http://www.music-web.org/sitemap.php?fid=14 2006-08-09T17:58:58+00:00 http://www.music-web.org/sitemap.php?fid=1 2006-08-09T16:09:18+00:00 http://www.music-web.org/sitemap.php?fid=13 2006-08-09T11:43:13+00:00 http://www.music-web.org/sitemap.php?fid=19 2006-08-07T15:51:06+00:00 http://www.music-web.org/sitemap.php?fid=5 2006-08-04T00:59:18+00:00 http://www.music-web.org/sitemap.php?fid=16 2006-07-29T12:03:16+00:00 http://www.music-web.org/sitemap.php?forum 2006-08-12T15:05:55+00:00


you can check here of course: http://www.music-web.org/sitemap.php

Thanks
MaestroX
 
Posts: 39
Joined: Sat Aug 12, 2006 12:03 pm

Postby dcz » Sat Aug 12, 2006 3:59 pm

mmhh. So it seems it's the attachment mod to cause us trouble here.
I really wonder how.

Here is the code involved it seems in attach_mod/attachment_mod.php
Code: Select all
// Get Attachment Config
$cache_dir = $phpbb_root_path . '/cache';
$cache_file = $cache_dir . '/attach_config.php';
$attach_config = array();

if (file_exists($cache_dir) && is_dir($cache_dir) && is_writable($cache_dir))
{
   if (file_exists($cache_file))
   {
      include($cache_file);
   }


Try adding an @ at the beginning of file_exists to see if we solve it this way.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

Postby MaestroX » Sat Aug 12, 2006 4:06 pm

Great the error is gone. I'm not sure what else is wron now
MaestroX
 
Posts: 39
Joined: Sat Aug 12, 2006 12:03 pm

Postby dcz » Sat Aug 12, 2006 4:14 pm

Well, there is still this weird empty information box in your page that should not be here.

Maybe you uploaded to many files, such as the mxBB or KB ones.

For phpBB you only need index_forum.php and sitemap_forum.php no other with "sitemap_" and "index_" in their names in the mx_ggsitemaps/includes/ folder.

Look at http://www.music-web.org/sitemap.php?fid=19 it is working as it should. It is you form n°19 map. and the forums map as well : http://www.music-web.org/sitemap.php?forum

As you see so far URLs are not outputted rewritten. You'll need the premodded file I'll build up for you for you URLs standard to be used here. Don't submit the file before, it would be useless.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

Postby MaestroX » Sat Aug 12, 2006 4:18 pm

I've checked and i've got only the needed files as you've said.

It seems that my header and footer are getting loaded too, is this right?
MaestroX
 
Posts: 39
Joined: Sat Aug 12, 2006 12:03 pm

Postby dcz » Sat Aug 12, 2006 4:32 pm

exactly.

Try deleting this in sitemap.php :


Code: Select all
// Never know who might have tricked us ;-)
else
{
   mx_sitemaps_message_die(GENERAL_MESSAGE, 'Invalid request');
   
}


If it does not fix it, which I doubt, it must be the attachment mod again to perform an error. If so, you can try adding :

Code: Select all
$phpbb_root_path = './';


just before :

Code: Select all
// Grab ggsitemaps config


in sitemap.php and see if it works better.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21379
Joined: Fri Apr 28, 2006 9:03 pm

PreviousNext

Return to GYM Sitemaps phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest