Thought I'd start a seperate thread
I found a lot of logs generate when I goto tpadmin and then edit blocks. Just those two actions generated these logs
First I get this
http://www.elmira-anthony.ca/smforum/index.php?action=tpadmin
8: Undefined index: tp-pathtothumbs2
File: /home/smforum/Themes/TP_neptune11rc1/TPortalBlocks.template.php (eval?)
Line: 341
then I get these, 4 at the same time
http://www.elmira-anthony.ca/smforum/index.php?action=tpadmin;sub=blocks
8: Undefined variable: rblock
File: /home/smforum/Themes/TP_neptune11rc1/TPortalBlocks.template.php (eval?)
Line: 1132
i get the first one to, but not the second one.
Im getting these same types of errors:
8: Undefined index: tp-pathtothumbs2
File: /home/xxxxxx/public_html/Themes/default/TPortalBlocks.template.php (eval?)
Line: 341
512: parseBoardMod(): The filename 'index.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
My users are getting errors when trying to log in too. Any ideas?
sorry, but i'm gonna have to be a hypocrite here , but you guys need to follow the posting guidelines
http://www.tinyportal.net/smf/index.php?topic=581.0
;D
they need to know all your versions and the like
ichbin corrected me on that just the other day!
did you get errors on the package install?
The "tp-pathtothumbs2" error is a language error, and can be corrected by adding $txt['tp-pathtothumbs2'] = ''; to your TPortal.english.php in the languages folder.
"rblock" error stems from something with the right bar..have you zero blocks there? and turned the rightbar off?
"parseBoardMod" seems to be something about the package manager..and probably a incomplete path for the install file of TP. What version of SMF are you on?
Thanks for the reply Bloc.
1. Site: http://www.federationofkings.com
2. Error msg posted above
3. Default theme with TP 0.75 & SMF 1.1 RC1
4. Mods installed: TP, enhanced quick reply, membergroup color legend, real name mod, online users today
I will put the pathtothumbs in my language file today.
Quote from: Bloc on October 30, 2005, 11:54:48 AM
"rblock" error stems from something with the right bar..have you zero blocks there? and turned the rightbar off?
cool, I'll try to add the variable and see what happens.
The right blocks has no blocks in it, I deleted them all AND I also turned off the right blocks in the tpadmin layout or something.
scotte44 , can you find out if the "parseBoardmod" error came when installing one of those mods - including TP? If it was just TP installed, it would have come from that, but since you have several...
Check the date the error arrived for example.
Quote from: ynohtna on October 30, 2005, 07:12:24 PM
Quote from: Bloc on October 30, 2005, 11:54:48 AM
"rblock" error stems from something with the right bar..have you zero blocks there? and turned the rightbar off?
cool, I'll try to add the variable and see what happens.
The right blocks has no blocks in it, I deleted them all AND I also turned off the right blocks in the tpadmin layout or something.
ok. it might be a bug there, I will check it further out.
Here are some of the errors I have from the last two days, TP has been installed since I started the forum last week:
8: Undefined index: 5
File: /home/xxxxxx/public_html/Sources/TPortal.php
Line: 285
8: Undefined index: TPortal
File: /home/xxxxxx/public_html/Themes/default/Login.template.php (eval?)
Line: 484
8: Undefined index: tp-pathtothumbs2
File: /home/xxxxxx/public_html/Themes/default/TPortalBlocks.template.php (eval?)
Line: 341
512: parseBoardMod(): The filename 'Themes/default/languages/Modifications.english.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
512: parseBoardMod(): The filename 'Themes/default/Xml.template.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
512: parseBoardMod(): The filename 'Themes/default/Stats.template.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
512: parseBoardMod(): The filename 'Themes/classic/BoardIndex.template.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
Those parseBoardMod errors happen over and over.
I installed Online Users Today and Real Name on Friday. Should I remove them and see if it makes a difference?
Yes..because some of errors are not related to TP I think.
I messed with the installed mods today. Once I installed OnLine Users Today the errors started happening. I removed it and all is well so far. I really like being able to see which members visited today. Oh well.
Is the Online Today the latest version? I think its at v1.3?
I have version OnLineUserToday_11b3.mod which I got directly from the authors site, wish I could read Italian, it would help.
I have had no errors since yesterday. I just reinstalled the mod and I get all these errors:
512: parseBoardMod(): The filename 'Themes/default/languages/Modifications.english.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
512: parseBoardMod(): The filename 'Themes/default/Xml.template.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
512: parseBoardMod(): The filename 'Themes/default/Stats.template.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
512: parseBoardMod(): The filename 'Themes/classic/BoardIndex.template.php' is not a full path!
File: /home/xxxxxx/public_html/Sources/Subs-Package.php
Line: 1660
Doesnt look like it has anything to do with TP.
No..rather sounds like a error in that mod.
I get these errors too:
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 187
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 214
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 479
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 381
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 371
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 361
8: Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
Ligne: 574
but in Login.template.php i find only 290 lines :uglystupid2:
This is most likely missing call in Errors.php. Are you using latest TP?
yes tp 0.7.5
I added a chat's link in index.template.php and
now i get another error log:
Use of undefined constant Chat - assumed 'Chat'
Fichier: /home/Sak/domains/public_html/smf/Themes/default/TPortalBlocks.template.php (eval?)
Ligne: 497
here is the code of the link :
echo '
<a href="', $scripturl, '?page=26">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . Chat . '" style="margin: 2px 0;" border="0" />' : Chat), '</a>', $context['menu_separator'];
just change the part:
chat.gif" alt="' . Chat . '" style=
to:
chat.gif" alt="Chat" style=
thanks but still give the same error
Use of undefined constant Chat - assumed 'Chat'
I used
href="http://www.rranderson.com/dvd/chat" target="_blank"><img name="Chat" id="chat" onmouseover="javascript:document.Chat.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat_over.gif\'" onmouseout="javascript:document.chat.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[98] . '" style="margin: 0px 0;" border="0" /></a>';
Hope this can help some
this is with the techHead theme
thanks but i fixed with this:
<a href="', $scripturl, '?page=15">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['smf_chat'] . '" style="margin: 2px 0;" border="0" />' : $txt['smf_chat']), '</a>', $context['menu_separator'];
but i still have this error log:
http://www.domain.com/smf/index.php
Undefined index: TPortal
Fichier: /home/Sak/domains/public_html/smf/Themes/default/Login.template.php (eval?)
My SGR test site (1.1RC1 & TP0.75) was visited by MSNbots last night and left me with this lot in the error log.
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 189
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 208
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 353
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 355
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 357
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 373
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 383
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 393
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 488
?action=post;topic=1.0;num_replies=0 Today at 03:42 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 189
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 208
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 353
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 355
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 357
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 373
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 383
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 393
?topic=2.0 Today at 04:41 AM
207.46.98.72 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 488
?topic=2.0 Today at 04:41 AM
Any ideas what is causing this Bloc? It seems to be poping up a lot.
Its the login routine..or rather the error screen derived from it. I am looking into it now.
Any news on this yet? I'm getting sometimes 40 or more pages of this Login.template.php error a DAY. I've been getting them since I updated to 0.7.5 which was the day it came out. This error only happens to guests (or regular users not logged in) but I have a high volume of game driven guests.
Hard to browse through to look for valid errors when you get so many of these bogus ones.
Yes. I haven't quite nailed it yet, partly of lack of time, and partly difficulty to reproduce the errors..but I will strive to come up with a fix for it in a intermediate version prior to 0.8. I also have some tests going that might solve - or rather work around - the 0 size error with package manager copying over TP files in SMF 1.1RC1. Those 2 things will warrant a 0.76 version.
I may be out of my tree here (wouldn't be the first time) but on our public board we have a recurrent error, again caused by a 'guest'
QuoteDatabase Error: Lost connection to MySQL server during query
File: /[********]/our-local/Sources/Load.php
Line: 1204
Is it possible that the 'guest' is trying to do something 'illegal' such as run a script?
I don't think you can run anything through Load.php..it sounds more like a demanding database call that stops for some reason. Line 1204 reads:
// A bug in some versions of IIS under CGI (older ones) makes cookie setting not work with Location: headers.
$context['server']['needs_login_fix'] = $context['server']['is_cgi'];
So it would seem a problem with IIS maybe?
Would making too many database calls at the same time do that then?
No, i would assume it was something with redirection instead...but i know too little of these things really.
I was editing articles when one of the 'Guests' friends came calling. I got this lot
QuoteIP address Display name Message Date
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 189
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 209
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 354
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 356
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 358
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 374
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 384
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 394
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 Guest 8: Undefined index: TPortal
File: /homepages/6/d119724375/htdocs/sgr/Themes/default/Login.template.php (eval?)
Line: 489
?topic=10.msg10;topicseen Today at 08:07 PM
207.46.98.75 is an MSN bot. I hope this helps you.