TinyPortal

Development => Support => Topic started by: mrdr on August 19, 2007, 06:32:30 PM

Title: Problems with sitemap after installing tp?
Post by: mrdr on August 19, 2007, 06:32:30 PM
see http://www.farmaceuti.com/forum/sitemaps/

how i can correct that??
Title: Re: Problems with sitemap after installing tp?
Post by: G6Cad on August 19, 2007, 07:38:43 PM
you have to manually check the code added by both TP and the sitemap mod.
For the tp strings you can look in the docs and look at the code in mod instruction
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on August 19, 2007, 08:31:04 PM
you mean i should check files which tp and sitemap mod change both together?
Title: Re: Problems with sitemap after installing tp?
Post by: Nokonium on August 19, 2007, 10:45:14 PM
From what I can see it is only the sitemap that has a problem, TP blocks and articles appear to be working properly.

The 'code' being shown looks like error messages where your sitemap mod is looking for TP $txt strings and not finding them. I can only hazard a guess that TP has found some sitemap code in a file that is the same as the original SMF code that the install was looking for. I'd start by looking at the SMF Source files that both mods insert code into first.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on August 24, 2007, 04:03:45 PM
i'm sorry, it wasn't smf mod it is this http://www.simplemachines.org/community/index.php?topic=59676.0

i'm more confuse now because this script isn't smf mod and how and what tp wants to change there especially when it is in separate folder than forum?
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on September 06, 2007, 04:24:09 PM
and what tp wants to change on that page when it is in separate folder??
it seems that error is up to tp, not sitemap script?
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on September 06, 2007, 04:31:31 PM
The errors are there because their are calls to TP when certain pages load. If the proper calls are not made then you get a TP error. If you have a custom page (such as sitemaps) and that custom page does not include the proper information that TP needs you will get an error. Does not mean its a TP error if you are using some one elses mod and you get a TP error as you can see.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on September 06, 2007, 09:28:59 PM
ok, how that error can be correct?
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on September 06, 2007, 09:34:19 PM
I know absolutely zero about the sitemap mod. Perhaps someone else can help.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on September 06, 2007, 09:56:54 PM
that isn't mod, just script in totally separate folder than forum.
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on September 06, 2007, 10:39:40 PM
Well that would be the reason it doesn't work lol. Ok, is there somewhere I can look at this code for this script?
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on September 07, 2007, 03:08:59 AM
ofc. here=> http://www.simplemachines.org/community/index.php?topic=59676.0
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on September 07, 2007, 04:09:48 AM
Can you check to see if this line exists in your SSI.php file?
require_once($sourcedir . '/TPortal.php');
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on September 07, 2007, 03:43:00 PM
YES, it exists.
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on September 07, 2007, 04:58:10 PM
Well I don't know whats wrong with your install, but my sitemaps works fine on my test site. Perhaps you are missing some TP code in some of the sources files. I would run through the manual install instructions and see if you're missing anything.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on September 07, 2007, 11:43:56 PM
Ok, but i install tp through package manager.
And just couple days after installation, i went to sitemap and saw that mistakes...it's really ugly...
Title: Re: Problems with sitemap after installing tp?
Post by: endurics on September 22, 2007, 06:01:31 PM
QuoteThe errors are there because their are calls to TP when certain pages load. If the proper calls are not made then you get a TP error.

Is there a documented list of these calls to TP?
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on September 22, 2007, 09:25:57 PM
The only documentation is the manual install instructions that shows all the code that is added to the files.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on November 17, 2007, 06:11:04 PM
i just check all files that tp changes in smf files and there is some double code in index.template.php and i corrected that, the resi is fine but i still have the same error on sitemap page  :-\ >:(
in attachment is my load.php file
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on November 18, 2007, 02:07:38 AM
Did you check all the files that TP modifies? Go through the manual installation.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on November 18, 2007, 12:13:37 PM
yes, every single file and every portion of the code ... :(
Title: Re: Problems with sitemap after installing tp?
Post by: Xarcell on November 18, 2007, 01:10:06 PM
Looks like the sitemap is looking for something in TP that isn't there?

Therefore generating errors. I don't think TP is the problem, it's the sitemap.
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on November 18, 2007, 03:42:48 PM
ok but what is solution?
Title: Re: Problems with sitemap after installing tp?
Post by: IchBin on November 18, 2007, 03:45:51 PM
If I setup the sitemap on my site, without any errors it suggests to me that you're missing some code. The solution is to find it. We can't find your missing code without looking through your files, you'll need to do it yourself.
Title: Re: Problems with sitemap after installing tp?
Post by: Xarcell on November 18, 2007, 04:21:37 PM
Thanks for putting in the time to help this matter Ich.  :D
Title: Re: Problems with sitemap after installing tp?
Post by: mrdr on November 18, 2007, 10:08:16 PM
i know that ichbin.
i check codes and files accourding to manual instruction for installing tp very carefully.
i have a lot of mods , maybe they are interfearing
i now as well, before installing tp with sitemaps everything looks fine.

--

i solve this problem by installing smf sitemap mod.
Title: Re: Problems with sitemap after installing tp?
Post by: skip_mff on March 11, 2008, 10:36:49 PM
I'm running SMF 1.1.4, TP 0.9.8 and dilbermc and basically the sitemaps addition (Davilac Scripts v 0.5) does work EXCEPT when you want to use the function that displays a human sitemap using the forum template.

The code for this according to sitemaps docs is http://yourforum.com/sitemaps/home.html or index.html or 0.html or 1.html

whether you use 0 or home or 1 or index apparently gives back the same human sitemap.

For me I was having issues that were solved with Tuckers code that was inserted into Sitemaps\Index.php

But I am left with the one error following tuckers mod:

Notice: Undefined index: TPortal_front_type in /talk/Sources/Load.php(1737) : eval()'d code on line 755

As it using my dilbermc theme to load this new human sitemap page as mentioned by the TP team it's probably calling some function which isnt there.

Can attach the sitemaps files if needed.