| |
|
| :: |
| Author |
Message |
niks999
Joined: 09 May 2007 Posts: 5
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
niks999
Joined: 09 May 2007 Posts: 5
|
Posted: Wed May 09, 2007 9:06 am Post subject: Re: GYM Sitemap-RC4 Error |
|
|
| dcz wrote: | And welcome
Hum, so it could come from, I'm just thinking, the fact you'd be using the phpBB SEO meta tags standalone (without the phpBB SEO mod rewrite).
If so, just add :
| Code: | /**
* Returns microtime
* Borrowed from php.net
*/
function microtime_float() {
return array_sum(explode(' ', microtime()));
} |
In phpbb_seo/phpbb_seo_class.php, right before :
++ |
Yes..
I m using the phpBB SEO meta tags standalone ....
But Wen I Tried This wat u told.....
The errors hav increased....
these r the errors....
| Code: | Warning: Invalid argument supplied for foreach() in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 270
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 510
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 513
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 514
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 515
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 516
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 517
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php:270) in /www/110mb.com/n/i/x/b/o/x/_/_/nixbox/htdocs/mx_ggsitemaps/includes/ggs_functions.php on line 518
‹´“KkÜ0…×ö¯P½™–¢—_™cÏ"Ðl’.â ´«â‡blÉXjÆÓ_Éu“lbHa@ Iœs¿{®Ðþ0õxâ£j¥H6‘ ࢔U+êdópü·›Cêî *}î¸j8×@ŸžxšOOªó@3òÇÄk´Æ¢ 9!JI_ Rö¸®Õ¯ÙŒû©V Y‹ªZÍû|hEÅ'`B±Iµ/uN§:HŽ5ö ¡øÇÝmV6Æ[¡t.J105ßÞÊ2×6Æ[ÿ‚Ps•¿:…—KLÐÎu> ž÷s·&Beá¶çñ<û„Î |Ì5¯@q7RÖ?óFJp—}ÙRä¢÷Yž(ò¹¿Ÿ¯¿3Tås|š¡( ârž:€0u]çß”S×qö,Ó÷^iÑÙ*‡G9þî÷ØÊg[®t/«Ô`¯ ‰ ÙÉ–E! ·_ a„é"1@üJüx^ðã#‰˜YþåøA¼Â,ŸšâËñw+üàH©Á²0¼»Â§öýÍ .—ßBßÄYDXà¯â_¶óŸMŸÿÿQøèí |
 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Wed May 09, 2007 9:32 am Post subject: Re: GYM Sitemap-RC4 Error |
|
|
Ho I see, I'm afraid we did not really work on this type of cases.
So in the end you need the phpbb_seo class populated with all the method you'll find in mx_ggsitemaps/includes/ggs_functions.php :
| Code: | class phpbb_seo {
var $seo_url = array();
var $seo_delim = array();
var $seo_ext = array();
var $seo_static = array();
var $modrtype = -1;
var $encoding = '';
/**
* constuctor
*/
function phpbb_seo() {
$this->encoding = ''; // Leave as is to allow setting in acp in case you're not using the phpBB SEO mod rewrites.
// URL Settings
$this->seo_url = array( 'cat' => 'cat',
'forum' => 'forum',
'topic' => 'topic',
'user' => 'member'
);
$this->seo_delim = array('cat' => '-vc',
'forum' => '-vf',
'topic' => '-vt',
'user' => '-u'
);
$this->seo_ext = array('cat' => '.html',
'forum' => '.html',
'topic' => '.html',
'user' => '.html'
);
$this->seo_static = array('cat' => 'cat',
'forum' => 'forum',
'topic' => 'topic',
'post' => 'post',
'user' => 'member',
'start' => '-',
'gz_ext' => '.gz',
'index' => ''
);
$this->modrtype = -1;
return;
}
// --> Gen stats
/**
* Returns microtime
* Borrowed from php.net
*/
function microtime_float() {
return array_sum(explode(' ', microtime()));
}
// --> URL rewriting functions <--
/**
* Prepare Titles for URL injection
* Replace by the function you'd prefer for different URL injection standards
*/
function format_url( $url, $type = 'topic' ) {
//Short url
$url = preg_replace("(\[.*\])U","",$url);
$find = array('"','&','<','>','\r\n','\n',);
$url = str_replace ($find, '-', $url);
$url = str_replace ('ß', 'ss', $url);
$url = str_replace (array('ö','Ö'), 'oe', $url);
$url = str_replace (array('ä','Ä'), 'ae', $url);
$url = str_replace (array('ü','Ü'), 'ue', $url);
$find = "ÀÁÂÃÅàáâãåÒÓÔÕØòóôõøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛùúûÿÑñ";
$replace = "aaaaaaaaaaooooooooooeeeeeeeecciiiiiiiiuuuuuuynn";
$url = strtr($url,$find,$replace);
$url = preg_replace("`[^a-zA-Z0-9]`", "-", $url);
$url = preg_replace("`[-]+`", "-", $url);
$url = trim($url, '-');
$url = ( $url == "" ) ? $type : strtolower($url);
return $url;
}
} |
This means you could start a new phpbb_seo_class.php file, put this in it, and then, install the dynamic meta tag part (only in phpbb_seo_class.php) before you upload it.
Will work.
++ |
_________________ 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 |
|
 |
niks999
Joined: 09 May 2007 Posts: 5
|
Posted: Wed May 09, 2007 4:40 pm Post subject: Re: GYM Sitemap-RC4 Error |
|
|
It Worked.....
Thnx....  |
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Tue Jul 22, 2008 12:24 pm Post subject: Re: GYM Sitemap-RC4 Error |
|
|
Hi again dcz
Sorry, my english is very poor and didnt understood what I need to do in your last message.
I already did this part in phpbb_seo/phpbb_seo_class.php:
| Code: | /**
* Returns microtime
* Borrowed from php.net
*/
function microtime_float() {
return array_sum(explode(' ', microtime()));
} |
And now, I got this errors when I access to sitemap.php:
| Code: | Warning: Invalid argument supplied for foreach() in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 270
Warning: Cannot modify header information - headers already sent by (output started at /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php:270) in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 510
Warning: Cannot modify header information - headers already sent by (output started at /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php:270) in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 520
Warning: Cannot modify header information - headers already sent by (output started at /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php:270) in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 521
Warning: Cannot modify header information - headers already sent by (output started at /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php:270) in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 522
Warning: Cannot modify header information - headers already sent by (output started at /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php:270) in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 523
Warning: Cannot modify header information - headers already sent by (output started at /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php:270) in /home/vns/public_html/mx_ggsitemaps/includes/ggs_functions.php on line 524
http://www.viciadosnosexo.com/sitemap.php?forum 2008-07-22T12:17:19+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=40 2008-07-22T12:13:24+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=44 2008-07-22T11:27:09+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=10 2008-07-22T07:57:28+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=36 2008-07-22T05:17:00+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=1 2008-07-22T01:23:31+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=38 2008-07-22T01:06:48+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=2 2008-07-22T01:04:36+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=47 2008-07-22T01:01:41+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=7 2008-07-21T23:36:50+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=14 2008-07-21T23:13:30+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=25 2008-07-21T22:55:33+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=11 2008-07-21T22:35:29+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=22 2008-07-21T20:53:22+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=59 2008-07-21T03:45:37+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=43 2008-07-21T02:01:24+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=5 2008-07-21T00:11:50+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=23 2008-07-20T17:28:36+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=18 2008-07-20T17:22:15+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=9 2008-07-19T16:11:08+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=24 2008-07-18T01:34:59+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=8 2008-07-17T10:50:10+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=6 2008-07-16T22:21:22+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=21 2008-07-13T23:22:13+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=30 2008-07-09T20:30:52+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=12 2008-07-05T18:15:52+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=45 2008-07-05T02:31:07+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=65 2008-06-29T19:24:25+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=3 2008-06-26T10:17:09+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=4 2008-06-14T23:24:23+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=55 2008-06-14T01:20:40+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=48 2008-06-09T15:01:55+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=13 2008-05-31T21:29:42+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=60 2008-05-22T03:01:15+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=66 2008-05-17T00:25:57+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=58 2008-01-25T03:45:54+00:00 http://www.viciadosnosexo.com/sitemap.php?forum=49 2007-01-07T20:16:21+00:00 |
Can you explain in other words, what I need to do now? |
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Tue Jul 22, 2008 3:48 pm Post subject: Re: GYM Sitemap-RC4 Error |
|
|
| please, can someone help me? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Tue Jul 22, 2008 4:45 pm Post subject: Re: GYM Sitemap-RC4 Error |
|
|
I installed phpBB SEO Dynamic Meta Tags yes
What? I need to add this lines in mx_ggsitemaps/includes/ggs_functions.php as well?
| Code: | /**
* Returns microtime
* Borrowed from php.net
*/
function microtime_float() {
return array_sum(explode(' ', microtime()));
} |
I already did and didnt work  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Tue Jul 22, 2008 5:24 pm Post subject: Re: GYM Sitemap-RC4 Error |
|
|
Yes, I think that was standalone.
I only have this seo mods:
Optimal titles
Dynamic meta tags |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Wed Jul 23, 2008 9:10 am Post subject: Re: GYM Sitemap-RC4 Error |
|
|
| dcz wrote: | | The easy way would be to only use GYM at first, and then take the time for a local install for the meta tag mod, there is no reason why it should not work, but as said, the phpBB2 version is tricky in standalone mod. |
And this will not causing me problems with the urls already indexed by google?
If I change my urls, the current urls will not work anymore right? And I´be got 126.000 urls in google. |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|