| :: |
| Author |
Message |
Pottsy
Joined: 03 Aug 2006 Posts: 8
|
Posted: Thu Aug 03, 2006 9:14 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
I use this:
http://www.phpbb.com/phpBB/viewtopic.php?t=373174&highlight=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 |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
lavinya PR1


Joined: 24 Jul 2006 Posts: 161 Location: Turkey
|
Posted: Fri Aug 11, 2006 2:25 pm Post subject: upgrade update |
|
|
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. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
MaestroX
Joined: 12 Aug 2006 Posts: 39
|
Posted: Sat Aug 12, 2006 12:05 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
Hi, I've just installed this mod and I get the following error:
Thanks for the help |
|
|
| Back to top |
|
 |
MaestroX
Joined: 12 Aug 2006 Posts: 39
|
Posted: Sat Aug 12, 2006 12:16 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
Sorry to double post, but i get this eror aswell
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Aug 12, 2006 12:29 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
And welcome
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 :
Find :
| Code: | | if ( file_exists($mx_root_path . 'mx_meta.inc') ) |
Replace with :
| Code: | | 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: |
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: | // 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 || 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 |
|
 |
MaestroX
Joined: 12 Aug 2006 Posts: 39
|
Posted: Sat Aug 12, 2006 3:35 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
Thanks for the help!
Ok i did the first set of changes you said
| Quote: | 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.php?t=407141&highlight=seo
I hope this helps, and thanks for your help[/quote] |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Aug 12, 2006 3:48 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
| dcz wrote: |
Or, if not enough, and since you are using phpBB standalone, you could as well totally delete this :
| Code: |
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: | // 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 || 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 |
|
 |
MaestroX
Joined: 12 Aug 2006 Posts: 39
|
Posted: Sat Aug 12, 2006 3:52 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
Using the changes you mentioned above, i now get this error:
you can check here of course: http://www.music-web.org/sitemap.php
Thanks |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Aug 12, 2006 3:59 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
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: |
// 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 || 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 |
|
 |
MaestroX
Joined: 12 Aug 2006 Posts: 39
|
Posted: Sat Aug 12, 2006 4:06 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
| Great the error is gone. I'm not sure what else is wron now |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
MaestroX
Joined: 12 Aug 2006 Posts: 39
|
Posted: Sat Aug 12, 2006 4:18 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
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? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Aug 12, 2006 4:32 pm Post subject: Re: [Archive] mx Google Sitemaps 1.0.1 |
|
|
exactly.
Try deleting this in sitemap.php :
| Code: | // 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: | | $phpbb_root_path = './'; |
just before :
| Code: | | // Grab ggsitemaps config |
in sitemap.php and see if it works better.
++ |
_________________ 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 |
|
 |
|
|