News:

Wondering if this will always be free?  See why free is better.

Main Menu

Optimus

Started by Bugo, February 15, 2011, 03:48:12 PM

Previous topic - Next topic

[Lucien]

Thank you for the update!!! I just installed it, will let you know how it works out!  ;D
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Farmacija

While trying to generate sitemap, i get this error

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2371411 bytes) in /home/farmaceu/public_html/forum/Sources/Subs-Optimus.php on line 1411"
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Bugo

Well, ask your hoster about this error. I think you need add line "php_value memory_limit 32M" (or something else — ask hoster) to your .htaccess.

Farmacija

Ok, this is solved.
But, is there a way to put all of urls in sitemap?
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Bugo

Why? Any sitemap is not required if there is a proper robots.txt

drfun

#85
Hello
please am having issues with the sitemap, it was generated sucessfully but when i added the sitemap link to may google webmaster tool, it said they cant read it. and the status is X. so i dont know if this how the site map should look like, and why Google could not read through it and giving me this (Error: The last attempt at downloading the Sitemap failed). below is my site map url
http://www.allstudentforum.com/sitemap.xlm
ECLIKS -Global Online community for Questions and Answers


Farmacija

Quote from: Bugo on December 06, 2011, 11:34:53 PM
Why? Any sitemap is not required if there is a proper robots.txt

And why is there option for making sitemap at all?
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Bugo

Exactly, it's optional - you can use, you can not use.

drfun

#89
@ Bugo, thanks for the respond, but are you saying that the extension /sitemap.xml is not functional using this mod? or its from my site. well i have added this on you gave me, i will report back if its ok or the error still persist. thanks
ECLIKS -Global Online community for Questions and Answers

drfun

@bugo, i have added this one you suggested http://www.allstudentforum.com/common.xml and am still having the same error on my google webmaster tool. ( Error: The last attempt at downloading the Sitemap failed. URL restricted by robots.txt
We encountered an error while trying to access your Sitemap)
ECLIKS -Global Online community for Questions and Answers

Bugo

You are using a wrong line in your robots.txt:

Allow:/*Sitemap: http://www.allstudentforum.com/sitemap.xml

Correct:

Sitemap: http://www.allstudentforum.com/sitemap.xml

drfun

@ bugo, thanks,its ok now. No more error. Am grateful
ECLIKS -Global Online community for Questions and Answers

MaXiForum.cz

Last Modified: Today
What´s news? :)

Bugo


MaXiForum.cz


keith021773

Hello there.  I installed this the other day and I am getting a few errors.   I will list them here.   Please tell me what you think.

8: Undefined index: map_title
File:Sources/Subs-Optimus.php
Line: 997

8: Undefined index: map_thumbnail
File:Sources/Subs-Optimus.php
Line: 996

8: Undefined index: map_direct_link
File: /Sources/Subs-Optimus.php
Line: 995

8: Undefined index: map_frequency
File: /Sources/Subs-Optimus.php
Line: 991

8: Undefined index: map_modified
File:/Sources/Subs-Optimus.php
Line: 990

8: Undefined index: map_url
File: /Sources/Subs-Optimus.php
Line: 971

any ideas?

Bugo

I think you're using non-UTF8 charset on forum. To solve this problem open Subs-Optimus.php, find

$file = $boarddir . '/sitemap.xsl';
optimus_file_create($file, $xsl, false);

and replace with:

global $context;

if ($context['character_set'] != 'UTF-8')
$xsl = iconv($context['character_set'], 'UTF-8', $xsl);

$file = $boarddir . '/sitemap.xsl';
optimus_file_create($file, $xsl, false);


Then re-create sitemap via Task Manager.

keith021773

#98
That seemed to fix that problem, but I think because of what we changed, I am now getting a new error.

Use of undefined constant infopmi - assumed 'infopmi'
File: l/Sources//ManageSettings.php

same names as all of the ones before, just a different file where the errors are coming from.


One other thing too.    LOL     
I am getting this from google saying that it doesn't understand this in my robots.txt file.  Is this normal? 
Clean-param: PHPSESSID /index.php

Antes

2: html_entity_decode() [<a href='function.html-entity-decode'>function.html-entity-decode</a>]: charset `ISO-8859-9' not supported, assuming iso-8859-1

File: /home/gnoll/public_html/testsmf/Sources/Subs-Optimus.php
Line: 161

Advertisement: