i downloaded arfooo 2.01 lastest version available till now and installed without any error.
but after installation when i click on advance search i get this error
SELECT * FROM categories INNER JOIN categoryparents ON categoryParents.parentId = categories.categoryId WHERE searchEngineSettings != '' AND categoryparents.childId = '0' ORDER BY depth LIMIT 1/XD/extraField/getByCategoryId
(1024) B��d SQL Unknown column 'categoryParents.parentId' in 'on clause' (1054) Database.php line 235 7-4-10 0:29
FrontController->dispatch() # line 18, file: /home/amvtrade/public_html/XD/index.php
call_user_func_array(Array[2], Array[0]) # line 220, file: /home/amvtrade/public_html/XD/core/FrontController.php
ExtraFieldController->getByCategoryIdAction() # line 0, file: unknown
CategoryModel->findClosestParent("0", Object:Criteria) # line 40, file: /home/amvtrade/public_html/XD/controllers/ExtraFieldController.php
Model->find(Object:Criteria) # line 148, file: /home/amvtrade/public_html/XD/models/CategoryModel.php
Database->sqlGetRow("SELECT * FROM categories INNER JOIN categoryparents ON categoryP...") # line 92, file: /home/amvtrade/public_html/XD/core/Model.php
Database->sqlQuery("SELECT * FROM categories INNER JOIN categoryparents ON categoryP...") # line 330, file: /home/amvtrade/public_html/XD/core/Database.php
trigger_error("B��d SQL Unknown column 'categoryParents.parentId' in 'on clause...") # line 235, file: /home/amvtrade/public_html/XD/core/Database.php
i thought this error might be because my DB is not upto date so i ran install/update/update201.php
i get error "Duplicate key name 'urlName'"
please help me out its urgent
error on advance search
Moderator: effi
2 posts
• Page 1 of 1
Re: error on advance search
I have the same problem. It seems at first glance that mysql cannot accept the term 'categoryparents.parentId' since the table has not been read. I have duplicated the call using only 'parentId' this produces a response.
I have performed a fresh test install, and it seems this is an inherent error.
I have changed line 143 of \models\CategoryModel.php from:
$c->addInnerJoin("categoryparents", "categoryParents.parentId", "categories.categoryId");
to
$c->addInnerJoin("categoryparents", "parentId", "categories.categoryId");
All seems fine?! keeping my fingers crossed. Anyone else?
I have performed a fresh test install, and it seems this is an inherent error.
I have changed line 143 of \models\CategoryModel.php from:
$c->addInnerJoin("categoryparents", "categoryParents.parentId", "categories.categoryId");
to
$c->addInnerJoin("categoryparents", "parentId", "categories.categoryId");
All seems fine?! keeping my fingers crossed. Anyone else?
- twalbert
- Posts: 1
- Joined: Tue May 18, 2010 11:50 am
2 posts
• Page 1 of 1
Return to Installation, support and bug reports
-
- Related topics
- Replies
- Views
- Last post
-
- Search funtion 404 error
by pod » Sat Aug 28, 2010 1:04 pm - 1 Replies
- 1203 Views
- Last post by ARS
Fri Sep 03, 2010 4:35 pm
- Search funtion 404 error
-
- I NEED HELP IMMEDIATELY! THANKS IN ADVANCE
by agent007 » Thu Dec 25, 2008 12:55 am - 0 Replies
- 1396 Views
- Last post by agent007
Thu Dec 25, 2008 12:55 am
- I NEED HELP IMMEDIATELY! THANKS IN ADVANCE
-
- Parse error: syntax error
by feven05 » Thu Jul 14, 2011 1:05 am - 0 Replies
- 2091 Views
- Last post by feven05
Thu Jul 14, 2011 1:05 am
- Parse error: syntax error
-
- Search bug in extrafields
by phpman » Sun Jan 09, 2011 12:18 pm - 0 Replies
- 1548 Views
- Last post by phpman
Sun Jan 09, 2011 12:18 pm
- Search bug in extrafields
-
- Country Search
by forexdir » Sun Jan 09, 2011 10:17 pm - 2 Replies
- 1679 Views
- Last post by sami770
Tue Feb 22, 2011 2:56 pm
- Country Search
Who is online
Users browsing this forum: No registered users and 0 guests