Hello,
I asked this question at SMF and they said to ask here.
I am having a problem with my forum. When users reply to a topic a number shows up instead of the topic title (ie:instead of saying Re:welcome it says Re:40). I'm assuming the number is the post number. It happened sometime overnight. The only mod I have installed recently is the site links mod but I installed that about a week ago and it worked fine until last night. I just looked at the error log and it has tons of errors in it from today.
Here is the error that appears most often.
8: Undefined index: Around the USA
File: /home/www/aroundtheusa.webpal.info/Themes/default/languages/TPortal.english.php (eval?)
Line: 70
Here are the mods I have installed:
TinyPortal 0.86
Googlebot & Spiders Mod 1.0.5
SMF 1.0.7 / 1.1 RC2 Update 1.0
SMF Arcade 1.3.0-MOD-E1.3
Users Online Today Mod 1.4.0 Beta 2
Line Numbers Mod 1.0
SMF Links 1.3
Here is the link to my forum http://aroundtheusa.webpal.info/index.php?action=forum
Any help would be appreciated.
where is this occuring?
i looked around and dont see anything
***
also whats this --> Line Numbers Mod 1.0
what does it do?
Its just a hunch for now, but that could be your error right there, themod
Could you provide a temp. account, so we could log in and reply?
Quote from: anunlike on July 26, 2006, 07:46:19 PM
Could you provide a temp. account, so we could log in and reply?
sure
username: test
pass: test
PM me for an admin username if needed
Quote from: akulion on July 26, 2006, 07:43:19 PM
where is this occuring?
It's in the forum when users reply.
Quote from: akulion on July 26, 2006, 07:43:19 PM
also whats this --> Line Numbers Mod 1.0
It is a mod that numbers lines in code when posting in the forum.
try uninstalling the number line mod and then see if its all ok
because i have all the mods u have on my forum EXCEPT the number lines one, and i dont have any errors like that at all
so thats why i strongly suspect its that mod causing it
I uninstalled the line numbers mod and am still having the same problem.
very strange error, i have no clue what could be causing it
maybe someone else will have luck figuring this out....first time ive ever seen this hapen
I think I might have found the culprit. I just remembered I installed the thank you mod but it doesn't show up in the installed mods list.
oooh... it might be worthwhile downloading it, and going through the .xml and seeing if it made any changes to your files.
Ok, I know very little about coding so here is the file. Could someone look at it and tell me if it modifies anything?
<?xml version="1.0" ?>
<!DOCTYPE package-info (View Source for full doctype...)>
- <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<name>Thank You Mod</name>
<id>din1031:ThankYou</id>
<type>modification</type>
<version>1.03</version>
- <install for="1.0.5, 1.0.6, 1.0.7">
<require-file name="thank_you.gif" destination="$themedir/images/english" />
<require-file name="thank_you_add.gif" destination="$themedir/images/english" />
<require-file name="thank_you_delete.gif" destination="$themedir/images/english" />
<require-file name="thank_you_lock1.gif" destination="$themedir/images/english" />
<require-file name="thank_you_lock2.gif" destination="$themedir/images/english" />
<require-file name="ThankYou.php" destination="$sourcedir" />
<require-file name="ThankYou.template.php" destination="$themedir" />
<require-file name="ThankYou.english.php" destination="$languagedir" />
<code type="file">install_1.x.x.php</code>
<readme type="inline">THANK YOU MOD! for SMF 1.0.x</readme>
<modification format="boardmod" type="file" reverse="false">ThankYou1.0.x.mod</modification>
</install>
- <uninstall for="1.0.5, 1.0.6, 1.0.7">
<remove-file name="$themedir/images/english/thank_you.gif" />
<remove-file name="$themedir/images/english/thank_you_add.gif" />
<remove-file name="$themedir/images/english/thank_you_delete.gif" />
<remove-file name="$themedir/images/english/thank_you_lock1.gif" />
<remove-file name="$themedir/images/english/thank_you_lock2.gif" />
<remove-file name="$sourcedir/ThankYou.php" />
<remove-file name="$themedir/ThankYou.template.php" />
<remove-file name="$languagedir/ThankYou.english.php" />
<modification format="boardmod" reverse="true" type="file">ThankYou1.0.x.mod</modification>
</uninstall>
- <install for="1.1 RC2">
<require-file name="thank_you.gif" destination="$themedir/images/english" />
<require-file name="thank_you_b.gif" destination="$themedir/images/buttons" />
<require-file name="thank_you_add.gif" destination="$themedir/images/english" />
<require-file name="thank_you_delete.gif" destination="$themedir/images/english" />
<require-file name="thank_you_lock1.gif" destination="$themedir/images/english" />
<require-file name="thank_you_lock2.gif" destination="$themedir/images/english" />
<require-file name="ThankYou.php" destination="$sourcedir" />
<require-file name="ThankYou.template.php" destination="$themedir" />
<require-file name="ThankYou.english.php" destination="$languagedir" />
<code type="file">install_1.x.x.php</code>
<readme type="inline">THANK YOU MOD! for SMF 1.1 RC2</readme>
<modification format="boardmod" type="file" reverse="false">ThankYou1.1RC2.mod</modification>
</install>
- <uninstall for="1.1 RC2">
<remove-file name="$themedir/images/english/thank_you.gif" />
<remove-file name="$themedir/images/buttons/thank_you_b.gif" />
<remove-file name="$themedir/images/english/thank_you_add.gif" />
<remove-file name="$themedir/images/english/thank_you_delete.gif" />
<remove-file name="$themedir/images/english/thank_you_lock1.gif" />
<remove-file name="$themedir/images/english/thank_you_lock2.gif" />
<remove-file name="$sourcedir/ThankYou.php" />
<remove-file name="$themedir/ThankYou.template.php" />
<remove-file name="$languagedir/ThankYou.english.php" />
<modification format="boardmod" reverse="true" type="file">ThankYou1.1RC2.mod</modification>
</uninstall>
- <upgrade for="1.0.5, 1.0.6, 1.0.7" from="1.01">
<code type="file">install_1.x.x.php</code>
<readme type="inline">Upgrade to 1.03, This add the new automatic Thank You option to the Boards Settings. 1.0.x</readme>
<modification format="boardmod" type="file" reverse="false">ThankYou1.0.x.Update.1.01to1.03.mod</modification>
</upgrade>
- <upgrade for="1.1RC2" from="1.01">
<code type="file">install_1.x.x.php</code>
<readme type="inline">Upgrade to 1.03, This add the new automatic Thank You option to the Boards Settings. 1.1RC2</readme>
<modification format="boardmod" type="file" reverse="false">ThankYou1.1RC2.Update.1.01to1.03.mod</modification>
</upgrade>
</package-info>
Actually you may need to look for a different one or a .mod file. That file will have the instructions for the code changes in it.
ok here it is
It has indeed added a integer filed in the topics table, that might cause the trouble. But do you have the "ThankYou1.0.x.mod" file to look at? It will show what is changed in SMF files.
Here it is.
Just realized I didn't post the most important piece of information I am running SMF 1.1RC2 with TP 0.86
Thanks for everyone's help by the way.
I am not seing any thing that stands out as wrong..but there were quite a few modifications so it might have slipped me. Anyways, the safest bet would be to upload all templates and Sources files, as well as forum/index.php and maybe apply the other mods again. Only this way you will be sure.
I uploaded all of the templates and sources and the problem has been fixed. Thanks to everyone that helped.
:up: Glad it worked out.