Error when I enable order

Hi !

I try to enable order but when i enable it on connector.php :

$gantt->enable_order("sortorder");

I’ve this error :

Error Type : LoadXml Description : Incorrect XML

And the order don’t work.

Have you got an idea of the problem ?

Thanks you very much for your help !

Do you have integer field “sortorder” in the task’s table in the database ?

You can add the next line before enable_order

$gantt->enable_log(“some.txt”);

Log file will contain details of error.

Thanks for your answer Stanislav.

Yes I created a field “sortorder” in the task’s table.

I also added this line in my html :

gantt.config.order_branch = true;

I try to add the log line before enable_order but I do not have the file some.txt …

I finally managed, I did not have the right permissions on folders. There must be CHMOD 777.

The file some.txt exist but there is no error …

[code]====================================
Log started, 26/09/2014 01:35:28

====================================
Log started, 26/09/2014 01:35:28

[/code]

I forgot to mention, I’m on the 2.1 beta