May 23, 2012, 10:47:51 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your links to our directory. Click here to add your links.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Add your links to our directory. Click here to add your links.
Pages: [1] 2
  Print  
Author Topic:

bugs

 (Read 4657 times)
0 Members and 1 Guest are viewing this topic.
Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« on: December 12, 2006, 04:57:03 »

Hi
I have SMF 1.1 + Tinyportal 0.9.7
when Seo4SMF is Enabled, all TP urls become like this :
http://www.site.com/forum instead of http://www.site.com/forum/index.php?page=1

another bug on the sitemaps I see a blank page, I have a big forum with 424K Messages and 30K members.
Logged


TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: December 12, 2006, 05:05:24 »

Tell me you forum name to see where is the problem.

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #2 on: December 12, 2006, 05:11:48 »

here is my forum
thank you
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #3 on: December 12, 2006, 05:32:23 »

Do you refer at "Pratique" menu section ?

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #4 on: December 12, 2006, 05:50:53 »

Yes and all TP link, to solve this problem I've add a space between <a href=" and url, like that:
Code:
<a href="  http://www.site.com/iforum/index.php?page=1">
Logged
Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #5 on: December 12, 2006, 06:41:32 »

another thing, SMF Error log is full of errors like these:
2: Invalid argument supplied for foreach()
Fichier: /public_html/smf/Sources/Subs.php
Ligne: 4275

Line: 4275 : foreach($context['TPortal']['boardnews'] as $bnews)
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #6 on: December 12, 2006, 06:59:01 »

Because of that the TP pages cannot be rewriten. Anyway this will be fixed in next release.

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #7 on: December 12, 2006, 07:16:26 »

ok, and how about sitemap?
I have another sitemap and it work great, but yours not Huh?
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #8 on: December 12, 2006, 07:34:44 »

Just try to increase the timeout to php. Is possible to get more time to generate the sitemap.

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #9 on: December 12, 2006, 07:50:22 »

Set default_socket_timeout = 60
 to 100 but still same problem,
I gonna use my old sitemap
any way Thank you for your help
Logged
Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #10 on: December 12, 2006, 09:59:15 »

on sitemaps.php and urllist.php Urls with Spacial chars have a lilte bug, for exemple I see
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #11 on: December 12, 2006, 10:27:58 »

hmmm I think this depends on the charset ... I will lok to see what is happening there .

Set default_socket_timeout = 60
 to 100 but still same problem,
I gonna use my old sitemap
any way Thank you for your help

Not socket timeout ... I don't know what is the name but not socket timeout ... I will lock and I will tell you !

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #12 on: December 13, 2006, 12:04:59 »

with new version I don't have any error log, but sitemaps still not working, it's work on a small forum but not on my huge one!
this one work for me although
Code:
<?php require 'compress_output.php'?>
<?php
require_once('SSI.php');

header('Content-Type: text/plain');

echo 
'<?xml version="1.0" encoding="UTF-8"?' '>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">'
;

echo 
'
<url>
<loc>'
$scripturl'</loc>
<lastmod>'
iso_8601_date(time()), '</lastmod>
<changefreq>always</changefreq>
<priority>1.0</priority>
</url>'
;

$request db_query("
SELECT b.ID_BOARD, posterTime
FROM {$db_prefix}boards AS b, {$db_prefix}messages
WHERE memberGroups LIKE '%-1%' AND b.ID_LAST_MSG = ID_MSG
ORDER BY posterTime DESC"
__FILE____LINE__);

while (
$row mysql_fetch_array($request)){
$board_id $row['ID_BOARD'];
$time $row['posterTime'];

echo 
'
<url>
<loc>'
$scripturl'/board,'$board_id'.0.html</loc>
<lastmod>'
iso_8601_date($time), '</lastmod>
<changefreq>always</changefreq>
<priority>1.0</priority>
</url>'
;
}
mysql_free_result($request);

$request db_query("
SELECT t.ID_TOPIC, posterTime
FROM {$db_prefix}boards AS b, {$db_prefix}messages, {$db_prefix}topics AS t
WHERE memberGroups LIKE '%-1%' AND t.ID_LAST_MSG = ID_MSG AND b.ID_BOARD = t.ID_BOARD
ORDER BY posterTime DESC
LIMIT 49000"
__FILE____LINE__);

while (
$row mysql_fetch_array($request)){
$topic_id $row['ID_TOPIC'];
$time $row['posterTime'];

echo 
'
<url>
<loc>'
$scripturl'/topic,'$topic_id'.0.html</loc>
<lastmod>'
iso_8601_date($time), '</lastmod>
</url>'
;
}

echo 
'
</urlset>'
;

function 
iso_8601_date($int_date) {
$date_mod date('Y-m-d\TH:i:s'$int_date);
$pre_timezone date('O'$int_date);
$time_zone substr($pre_timezone03).":".substr($pre_timezone32);
$date_mod .= $time_zone;
return $date_mod;
}

?>
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #13 on: December 13, 2006, 12:07:45 »

Please look in apache error log and tell me if you don't get some memory exhausted message from php ...

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #14 on: December 13, 2006, 13:00:52 »

No nothing on apache error log about memory and sitemaps
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!