Members: 15,141
Threads: 38,828
Posts: 159,362
Online: 35

Newest Member: batterygogo



Go Back   Mambers.com > International > Polish - Polskie > Jak to zrobic

Reply
 
Thread Tools Display Modes
Old 24.12.2005, 15:39   #1
Rimmon
Baby Mamber
 
Join Date: Dec 2005
Posts: 5
Rimmon is on a distinguished road
Default DB function failed with error number 1054

Witam! Kiedy w panelu administratora chcę wejść na "wszystkie artykuły" to od jakiegoś czasu pojawia mi się komunikat
Quote:
DB function failed with error number 1054
Unknown column 'c.access' in 'on clause' SQL=SELECT c.*, g.name AS groupname, cc.name, u.name AS editor, f.content_id AS frontpage, s.title AS section_name, v.name AS author FROM mos_content AS c, mos_categories AS cc, mos_sections AS s LEFT JOIN mos_groups AS g ON g.id = c.access LEFT JOIN mos_users AS u ON u.id = c.checked_out LEFT JOIN mos_users AS v ON v.id = c.created_by LEFT JOIN mos_content_frontpage AS f ON f.content_id = c.id WHERE c.state >= 0 AND c.catid=cc.id AND cc.section=s.id AND s.scope='content' ORDER BY s.title, c.catid, cc.ordering, cc.title, c.ordering LIMIT 0,10
Mam pytanie co on oznacza i jak mogę rozwiązać ten problem.
Z góry dziękuję i pozdrawiam!
Rimmon is offline   Reply With Quote
Sponsored Links
Old 24.12.2005, 15:56   #2
vj_
Elite Mamber
 
Join Date: Aug 2005
Posts: 1,360
vj_ will become famous soon enough
Default Re: DB function failed with error number 1054

Tu poczytaj
vj_ is offline   Reply With Quote
Old 24.12.2005, 16:44   #3
Rimmon
Baby Mamber
 
Join Date: Dec 2005
Posts: 5
Rimmon is on a distinguished road
Default Re: DB function failed with error number 1054

Niestety ten opis mi nie rozwiązał mojego problemu, ponieważ w moim pliku admin.content.php nie było takiego wpisu. Aczkolwiek zmieniłem
Quote:
$query = "SELECT c.*, g.name AS groupname, cc.name, u.name AS editor, f.content_id AS frontpage, s.title AS section_name, v.name AS author"
. "\n FROM #__content AS c, #__categories AS cc, #__sections AS s"
. "\n LEFT JOIN #__groups AS g ON g.id = c.access"
. "\n LEFT JOIN #__users AS u ON u.id = c.checked_out"
. "\n LEFT JOIN #__users AS v ON v.id = c.created_by"
. "\n LEFT JOIN #__content_frontpage AS f ON f.content_id = c.id"
. ( count( $where ) ? "\nWHERE " . implode( ' AND ', $where ) : '' )
. $order
. "\n LIMIT $pageNav->limitstart,$pageNav->limit"
;
na
Quote:
$query = "SELECT c.*, g.name AS groupname, cc.name, u.name AS editor, f.content_id AS frontpage, s.title AS section_name, v.name AS author"
. "\n FROM #__content AS c" //, #__categories AS cc, #__sections AS s"
. "\n LEFT JOIN #__groups AS g ON g.id = c.access"
. "\n LEFT JOIN #__users AS u ON u.id = c.checked_out"
. "\n LEFT JOIN #__users AS v ON v.id = c.created_by"
. "\n LEFT JOIN #__content_frontpage AS f ON f.content_id = c.id"
. "\n LEFT OUTER JOIN #__categories AS cc ON c.catid=cc.id"
. "\n LEFT OUTER JOIN #__sections AS s ON cc.section=s.id"
. ( count( $where ) ? "\nWHERE " . implode( ' AND ', $where ) : '' )
. $order
. "\n LIMIT $pageNav->limitstart,$pageNav->limit"
;
i zadziałało. Dzięki za pomoc
Rimmon is offline   Reply With Quote
Old 24.12.2005, 19:00   #4
vj_
Elite Mamber
 
Join Date: Aug 2005
Posts: 1,360
vj_ will become famous soon enough
Default Re: DB function failed with error number 1054

Spoko, świąteczna pomoc
vj_ is offline   Reply With Quote
Old 09.01.2006, 22:02   #5
simonegaliano
Baby Mamber
 
Join Date: Jan 2006
Posts: 1
simonegaliano is on a distinguished road
Default Riferimento: DB function failed with error number 1054

Great Rimmon!!!!!!!

I do not understand a word of polish, but you saved my life!!
I spent 1 day trying to fix this f***ing error 1054

Thank you.
Simone
simonegaliano is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DB function failed with error number 1146 Ber Jupiler Mambo 4.5 Installation and Upgrades 10 23.02.2006 22:22
DB Function Failed with Error Number 1062 brainoverload Mambo 4.5.1 'How Do I' Questions 0 29.06.2005 02:33
DB function failed with error number 1016 sanca Mambo 4.5.1 'How Do I' Questions 4 24.06.2005 10:52
DB function failed with error number 1030 champie Mambo 4.5.1 Installation and Upgrades 3 07.06.2005 06:54
check in/out function failed on cancel button dev-ka Mambo 4.5 Bugs 0 22.04.2004 11:14


All times are GMT +2. The time now is 00:46.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.