Customizing SMF > Modifications and Packages
Thank-O-Matic (Updated for SMF 2.0.4)
Liam_michael:
--- Quote from: vdamanafshan on April 28, 2012, 03:39:56 PM ---Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can’t translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members’ profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!.
Can anyone please tell me how to solve these problems?
--- End quote ---
Do you have access to phpmyadmin?
Vahid Damanafshan:
--- Quote from: Liam_michael on April 29, 2012, 11:48:44 PM ---
--- Quote from: vdamanafshan on April 28, 2012, 03:39:56 PM ---Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can’t translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members’ profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!.
Can anyone please tell me how to solve these problems?
--- End quote ---
Do you have access to phpmyadmin?
--- End quote ---
I don't know, what is this for? where can I find it?
Welovea1:
We are also receiving this same error: "2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!."
By way of background information, we have just started to see in some member profiles the following error:
--- Quote ---Column 'id_msg' in where clause is ambiguous
File: /home/welovea2/public_html/JDBTest/Sources/Profile-ThankYouPost.php
Line: 199
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.2, while your database is at version 2.0.1. The above error might possibly go away if you execute the latest version of upgrade.php.
--- End quote ---
We've tried a couple of different approaches in our test forums to correct the problem, both of which resulted in the error message described by vdamanafshan.
We first deleted the error log and then recalculated the thank-o-matic stats. That resulted in elimination of the "Column 'id_msg'...... but also in the 0 posts error.
We restored our database, uninstalled our previous version of Thank-O-Matic, which was emulated for 2.0.1 and installed the current version. Again this resulted in the error described by vdamanafshan. On all previous re-installs of thank-o-matic, we have never lost data.
We do know how to access phpmyadmin but don't know what to do to fix the error.
Thanks for any assistance that can be provided.
Yiorgos:
--- Code: --- // Load the Post data :)
$post = $smcFunc['db_query']('', '
SELECT id_msg, id_member, thank_you_post, thank_you_post_counter
FROM {db_prefix}messages
WHERE id_topic = {int:topic} AND id_msg = {int:id_msg}
LIMIT 1',
array(
'topic' => $topic,
'id_msg' => (int) $_GET['msg'],
)
);
--- End code ---
The clause is ambiguous because id_msg it exists twice!
But that is not the problem I think.
There are many posts regarding clause is ambiguous in SMF
I read some and I concluded that it should be caused by an other modification that you installed probably after the installation of ThankOmatic.
I would suggest you to uninstall the modifications one after the other on a reverse order...
Emulate the error after each uninstall to locate the incompatible modification package.
In case you cannot remember the installation order, consider to install Sortable Packages (and Installed Time) by emulating the SMF version to 2.0 RC3
ChalkCat:
I love this mod, I would be completely lost without it. However, if and evidently only if I activate the Ajax (inline) thank you, my members and I see the following error message appearing randomly during normal navigation. Backbrowsing and refreshing restore the page as it should be, and I haven't found a pattern to predict when it will appear, but it's annoying just the same. Any suggestions?
--- Quote ---Warning: require(/home/content/**/*******/html/sabrinova/cache/data_c41c53b6129a9ba1d0559d24ef4e715b-SMF-modSettings.php) [function.require]: failed to open stream: No such file or directory in /home/content/**/*******/html/sabrinova/Sources/Load.php on line 2716
Fatal error: require() [function.require]: Failed opening required '/home/content/**/*******/html/sabrinova/cache/data_c41c53b6129a9ba1d0559d24ef4e715b-SMF-modSettings.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/**/*******/html/sabrinova/Sources/Load.php on line 2716
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version