Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/ajaxlike/js/common.js"></script>
viewtopic.php?p=13251208#p13251208neongenesis wrote:Please Help me,
after installation i become the following.
Allgemeiner Fehler
SQL ERROR [ mysqli ]
Unknown column 'poster_id' in 'where clause' [1054]
SQL
SELECT COUNT(like_id) as like_count FROM phpbb_likes WHERE poster_id = 73 AND like_read = 1
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()
FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()
FILE: [ROOT]/includes/functions.php
LINE: 4642
CALL: dbal_mysqli->sql_query()
FILE: [ROOT]/index.php
LINE: 143
CALL: page_header()
Regards
Neon
amblabs I've got the same problem as u had. Can you please tell me what to do in order to resolve it?amblabs wrote:Update: I managed to fix the above problems, it turned out to be an edit problem in viewtopic.php, and also the fact that I'm running the en_us language pack, so I had to copy the language files from language/en to language/en_us.
The tops of the page now shows "0 new likes(s) received". A popup does appear to say "No likes received yet" when I click on it. I also see "Likes: 0 post" and "Liked in: 0 post" in the user info area next to their posts.
However, there is no "Like" button. I set the Group permissions to allow all Admins and Registered Users to "Can like posts". I checked the error log in the ACP and it was empty. So where should I look now?
I'm running prosilver, by the way.
I'm sorry, I was referring to the "0{ AL_LIKE_NEW }" problem, with the undefined strings. U said u were able to solve it with viewtopic.php and by copying language files. Can you be more specific? Do I need to change something in viewtopic.php?amblabs wrote:theairofficial, see my post just after the one you quoted. That fixed the "like" button not appearing problem.
But I still can't see like status in user profiles when logged in as the site admin. But when logged in as a regular registered user, it works fine.
It did not help me but thanks anyway. I guess I'll give up on this one...amblabs wrote:If your language is not "en", then all the Ajax Like changes under the root/language/en hierarchy need to be replicated in root/language/your_language.
most likely you forgot the followingtheairofficial wrote:It did not help me but thanks anyway. I guess I'll give up on this one...amblabs wrote:If your language is not "en", then all the Ajax Like changes under the root/language/en hierarchy need to be replicated in root/language/your_language.
language/your-language/common.php
Code: Select all
$lang = array_merge($lang, array(
Code: Select all
// ajaxlike
'AL_LIKE_NEW' => ' new like received',
'AL_LIKE_NEW_TITLE' => 'New likes received list',
'AL_LIKE_INFO' => 'Likes your ',
'AL_LIKE_SELF' => 'View your post',
'AL_NO_LIKE_RECEIVED' => 'No like received yet.',
// ajaxlike