Page 2 of 2

Re: putting shout box on the portal page

Posted: Mon Apr 26, 2010 4:21 pm
by Ish
This is displayed:
General Error
SQL ERROR [ mysql4 ]

Unknown column 'mods' in 'where clause' [1054]

SQL

SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM phpbb_styles s, phpbb_styles_template t, phpbb_styles_theme c, phpbb_styles_imageset i WHERE s.style_id = mods/mchat_lang AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imageset_id = s.imageset_id

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/session.php
LINE: 1615
CALL: dbal_mysql->sql_query()

FILE: portal.php
LINE: 29
CALL: user->setup()
Any idea wat went wrong?

Re: putting shout box on the portal page

Posted: Mon Apr 26, 2010 4:30 pm
by cisco007
undo the edit i told you to do and add this:

Code: Select all

$user->setup('mods/mchat_lang');
on a new line after this:

Code: Select all

$user->setup('mods/lang_portal');
see if you still get the error, i don't understand why you are getting that error, I have done that edit many times on many sites, and have never gotten that error!

Re: putting shout box on the portal page

Posted: Mon Apr 26, 2010 4:36 pm
by Ish
Cool!!

:yahoo:

It works fine now!! Thanks loads buddy...

I'm hosting my files on bluehost, do u think it could b the mysql version they hve?

Re: putting shout box on the portal page

Posted: Mon Apr 26, 2010 4:42 pm
by cisco007
i really don't know, i don't remember what version this mchat needs, but i am glad you got it working!