[solved]Error 500 sorting Articles by article order pls help

More
13 years 1 month ago #19487 by gcprnet
I'm on a FLEXIcontent version 1.5.4 stable (r558)

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19497 by ggppdk
Backup and try latest v1.5.6 beta2:
code.google.com/p/flexicontent/downloads/list

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19907 by gcprnet
just upgraded but the problem persists.
Regards

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19920 by ggppdk
mmm, goto (again) to file:

administrator\components\com_flexicontent\models\items.php
find (about line 1073 (v1.5.6)):
Code:
function saveorder($cid = array(), $order) { ... }

before every line of this FUNCTION:
$this->setError($this->_db->getErrorMsg());
put
Code:
echo "position-1: "; echo $query; exit();

Change number of every position ... 1, 2, 3
This way we will know where the error occurs
Then copy paste here the output you get ...

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19955 by gcprnet
OK, this seems to work :-)
Code:
Notice: Undefined offset: 0 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 1 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 2 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 3 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 4 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 5 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 6 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 7 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 8 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 9 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 10 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 11 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 12 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 13 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 14 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 15 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 16 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 17 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 18 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Undefined offset: 19 in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 Notice: Trying to get property of non-object in /var/www/www3.cleanenergy-project.de/htdocs/administrator/components/com_flexicontent/models/items.php on line 1122 position-3: SELECT itemid, ordering FROM #__flexicontent_cats_item_relations WHERE ordering >= 0 AND catid = 297 ORDER BY ordering

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19970 by ggppdk
Yes we found , where error occurs, the query returns no items. The code should display some other warning instead of error 500.

I think the reason is that you try to reorder a category that has no items.

Does the current selected category in the filter have at least one item? (I mean disable the display of subcategory items, does the category have at least one?)

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.427 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline