putting shout box on the portal page

Post any general problems, information or issues on ModphpBB3 in here.
User avatar
Ish
Forum Member
Forum Member
Posts: 14
Joined: Fri Apr 23, 2010 10:19 am

Re: putting shout box on the portal page

Post 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?
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: putting shout box on the portal page

Post 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!
User avatar
Ish
Forum Member
Forum Member
Posts: 14
Joined: Fri Apr 23, 2010 10:19 am

Re: putting shout box on the portal page

Post 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?
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: putting shout box on the portal page

Post by cisco007 »

i really don't know, i don't remember what version this mchat needs, but i am glad you got it working!
Post Reply