Limesurvey questionnaire not showing up in QueXS

Asked by Joost on 2016-08-31

Hi there,

I've installed QueXS on Linux Mint. I can browse to the webinterface, add a sample and create a questionnaire in Limesurvey, but that questionnaire is not showing up in QueXS. What could be the problem here?

Kind regards,
Joost

PS
I've activated the survey in Limesurvey and created a tokens table.

PPS
Attachments:
https://s12.postimg.org/fa7kpv89p/image.png
https://s15.postimg.org/wtairuem3/image.png

Question information

Language:
English Edit question
Status:
Solved
For:
queXS Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Zammit
Solved:
2016-09-06
Last query:
2016-09-06
Last reply:
2016-09-05
Adam Zammit (adamzammit) said : #1

Hello Joost,

When yo say you have set up the questionnaire in Limesurvey - do you mean
the Limesurvey provided inside queXS? Also can you confirm what version of
queXS you are using, and which version of PHP/MySQL.

Kind Regards,
Adam Zammit

On 31 August 2016 at 23:17, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Description changed to:
> Hi there,
>
> I've installed QueXS on Linux Mint. I can browse to the webinterface,
> add a sample and create a questionnaire in Limesurvey, but that
> questionnaire is not showing up in QueXS. What could be the problem
> here?
>
> Kind regards,
> Joost
>
> PS
> I've activated the survey in Limesurvey and created a tokens table.
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #2

Hi Adam,

Yes I meant the Limesurvey version inside queXS (see attachments).
I use queXS 1.14.2, php5.6 and mysql Ver 14.14 Distrib 5.7.11, for Linux.

Tomorrow I will try to downgrade queXS and see what happens.

Kind regards,
Joost van der Horst

On Fri, Sep 2, 2016 at 5:12 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Status: Open => Answered
>
> Adam Zammit proposed the following answer:
> Hello Joost,
>
> When yo say you have set up the questionnaire in Limesurvey - do you mean
> the Limesurvey provided inside queXS? Also can you confirm what version of
> queXS you are using, and which version of PHP/MySQL.
>
> Kind Regards,
> Adam Zammit
>
> On 31 August 2016 at 23:17, Joost <email address hidden>
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Description changed to:
> > Hi there,
> >
> > I've installed QueXS on Linux Mint. I can browse to the webinterface,
> > add a sample and create a questionnaire in Limesurvey, but that
> > questionnaire is not showing up in QueXS. What could be the problem
> > here?
> >
> > Kind regards,
> > Joost
> >
> > PS
> > I've activated the survey in Limesurvey and created a tokens table.
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/quexs/+question/375015/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/quexs/+question/375015
>
> You received this question notification because you asked the question.
>

Joost (joostvdhorst) said : #3

Attachments:
https://s12.postimg.org/fa7kpv89p/image.png
https://s15.postimg.org/wtairuem3/image.png

On Sun, Sep 4, 2016 at 11:12 PM, Joost <<email address hidden>
> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Status: Answered => Open
>
> You are still having a problem:
> Hi Adam,
>
> Yes I meant the Limesurvey version inside queXS (see attachments).
> I use queXS 1.14.2, php5.6 and mysql Ver 14.14 Distrib 5.7.11, for Linux.
>
> Tomorrow I will try to downgrade queXS and see what happens.
>
> Kind regards,
> Joost van der Horst
>
> On Fri, Sep 2, 2016 at 5:12 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Status: Open => Answered
> >
> > Adam Zammit proposed the following answer:
> > Hello Joost,
> >
> > When yo say you have set up the questionnaire in Limesurvey - do you mean
> > the Limesurvey provided inside queXS? Also can you confirm what version
> of
> > queXS you are using, and which version of PHP/MySQL.
> >
> > Kind Regards,
> > Adam Zammit
> >
> > On 31 August 2016 at 23:17, Joost <email address hidden>
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Description changed to:
> > > Hi there,
> > >
> > > I've installed QueXS on Linux Mint. I can browse to the webinterface,
> > > add a sample and create a questionnaire in Limesurvey, but that
> > > questionnaire is not showing up in QueXS. What could be the problem
> > > here?
> > >
> > > Kind regards,
> > > Joost
> > >
> > > PS
> > > I've activated the survey in Limesurvey and created a tokens table.
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/quexs/+question/375015/+
> confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #4

Hello again,

Can you please try running the following SQL on the database and see the
response:

SELECT s.sid as sid, CONCAT(s.sid,' -> ',sl.surveyls_title) AS title
  FROM lime_surveys AS s
  LEFT JOIN lime_surveys_languagesettings AS sl ON ( s.sid =
sl.surveyls_survey_id)
  WHERE s.active = 'Y'
  GROUP BY s.sid

Kind Regards,
Adam Zammit

On 5 September 2016 at 07:22, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost gave more information on the question:
> Attachments:
> https://s12.postimg.org/fa7kpv89p/image.png
> https://s15.postimg.org/wtairuem3/image.png
>
> On Sun, Sep 4, 2016 at 11:12 PM, Joost <question375015@answers.
> launchpad.net
> > wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Status: Answered => Open
> >
> > You are still having a problem:
> > Hi Adam,
> >
> > Yes I meant the Limesurvey version inside queXS (see attachments).
> > I use queXS 1.14.2, php5.6 and mysql Ver 14.14 Distrib 5.7.11, for Linux.
> >
> > Tomorrow I will try to downgrade queXS and see what happens.
> >
> > Kind regards,
> > Joost van der Horst
> >
> > On Fri, Sep 2, 2016 at 5:12 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Status: Open => Answered
> > >
> > > Adam Zammit proposed the following answer:
> > > Hello Joost,
> > >
> > > When yo say you have set up the questionnaire in Limesurvey - do you
> mean
> > > the Limesurvey provided inside queXS? Also can you confirm what version
> > of
> > > queXS you are using, and which version of PHP/MySQL.
> > >
> > > Kind Regards,
> > > Adam Zammit
> > >
> > > On 31 August 2016 at 23:17, Joost <question375015@answers.
> launchpad.net>
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Description changed to:
> > > > Hi there,
> > > >
> > > > I've installed QueXS on Linux Mint. I can browse to the webinterface,
> > > > add a sample and create a questionnaire in Limesurvey, but that
> > > > questionnaire is not showing up in QueXS. What could be the problem
> > > > here?
> > > >
> > > > Kind regards,
> > > > Joost
> > > >
> > > > PS
> > > > I've activated the survey in Limesurvey and created a tokens table.
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > --
> > > If this answers your question, please go to the following page to let
> us
> > > know that it is solved:
> > > https://answers.launchpad.net/quexs/+question/375015/+
> > confirm?answer_id=0
> > >
> > > If you still need help, you can reply to this email or go to the
> > > following page to enter your feedback:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #5

Thanks for your reply!
I get this error when I run the SQL:
"ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause
and contains nonaggregated column 'quexs.sl.surveyls_title' which is not
functionally dependent on columns in GROUP BY clause; this is incompatible
with sql_mode=only_full_group_by"

Kind Regards,
Joost van der Horst

On Mon, Sep 5, 2016 at 3:52 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Status: Open => Answered
>
> Adam Zammit proposed the following answer:
> Hello again,
>
> Can you please try running the following SQL on the database and see the
> response:
>
> SELECT s.sid as sid, CONCAT(s.sid,' -> ',sl.surveyls_title) AS title
> FROM lime_surveys AS s
> LEFT JOIN lime_surveys_languagesettings AS sl ON ( s.sid =
> sl.surveyls_survey_id)
> WHERE s.active = 'Y'
> GROUP BY s.sid
>
>
> Kind Regards,
> Adam Zammit
>
>
> On 5 September 2016 at 07:22, Joost <email address hidden>
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost gave more information on the question:
> > Attachments:
> > https://s12.postimg.org/fa7kpv89p/image.png
> > https://s15.postimg.org/wtairuem3/image.png
> >
> > On Sun, Sep 4, 2016 at 11:12 PM, Joost <question375015@answers.
> > launchpad.net
> > > wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Status: Answered => Open
> > >
> > > You are still having a problem:
> > > Hi Adam,
> > >
> > > Yes I meant the Limesurvey version inside queXS (see attachments).
> > > I use queXS 1.14.2, php5.6 and mysql Ver 14.14 Distrib 5.7.11, for
> Linux.
> > >
> > > Tomorrow I will try to downgrade queXS and see what happens.
> > >
> > > Kind regards,
> > > Joost van der Horst
> > >
> > > On Fri, Sep 2, 2016 at 5:12 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Status: Open => Answered
> > > >
> > > > Adam Zammit proposed the following answer:
> > > > Hello Joost,
> > > >
> > > > When yo say you have set up the questionnaire in Limesurvey - do you
> > mean
> > > > the Limesurvey provided inside queXS? Also can you confirm what
> version
> > > of
> > > > queXS you are using, and which version of PHP/MySQL.
> > > >
> > > > Kind Regards,
> > > > Adam Zammit
> > > >
> > > > On 31 August 2016 at 23:17, Joost <question375015@answers.
> > launchpad.net>
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Description changed to:
> > > > > Hi there,
> > > > >
> > > > > I've installed QueXS on Linux Mint. I can browse to the
> webinterface,
> > > > > add a sample and create a questionnaire in Limesurvey, but that
> > > > > questionnaire is not showing up in QueXS. What could be the problem
> > > > > here?
> > > > >
> > > > > Kind regards,
> > > > > Joost
> > > > >
> > > > > PS
> > > > > I've activated the survey in Limesurvey and created a tokens table.
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > --
> > > > If this answers your question, please go to the following page to let
> > us
> > > > know that it is solved:
> > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > confirm?answer_id=0
> > > >
> > > > If you still need help, you can reply to this email or go to the
> > > > following page to enter your feedback:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/quexs/+question/375015/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/quexs/+question/375015
>
> You received this question notification because you asked the question.
>

Best Adam Zammit (adamzammit) said : #6

Thanks for your help Joost.

Looks like the query isn't compatible with the SQL mode that is set in your copy of MySQL.

I have made a fix - please replace the file admin/new.php with the following:

https://bazaar.launchpad.net/~adamzammit/quexs/main/download/adam.zammit%40acspri.org.au-20160905234404-b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410-a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php

Also please let me know if you find any related issues - I haven't tested queXS with this mode.

Adam

Joost (joostvdhorst) said : #7

Thanks Adam Zammit, that solved my question.

Joost (joostvdhorst) said : #8

Hi Adam,

YAAAY! Thank you for the fix, it's working like a charm now! :)

Kind Regards,
Joost

On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Status: Open => Answered
>
> Adam Zammit proposed the following answer:
> Thanks for your help Joost.
>
> Looks like the query isn't compatible with the SQL mode that is set in
> your copy of MySQL.
>
> I have made a fix - please replace the file admin/new.php with the
> following:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/
> download/adam.zammit%40acspri.org.au-20160905234404-
> b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
>
> Also please let me know if you find any related issues - I haven't
> tested queXS with this mode.
>
> Adam
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/quexs/+question/375015/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/quexs/+question/375015
>
> You received this question notification because you asked the question.
>

Joost (joostvdhorst) said : #9

Hi Adam,

I don't know if it is related but I cannot add shifts in my timezone.
I've made a survey in the queXS-integrated Limesurvey, imported and added a
sample to it, assigned an operator to it, but the operator gets an error
"no shifts available".
I've made a screenshot: https://s15.postimg.org/gzkkipdpn/shifts.png . Is
this somehow related to my mysql version?

Kind Regards,
Joost

On Tue, Sep 6, 2016 at 9:43 AM, Joost <email address hidden>
wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> YAAAY! Thank you for the fix, it's working like a charm now! :)
>
> Kind Regards,
> Joost
>
> On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Status: Open => Answered
> >
> > Adam Zammit proposed the following answer:
> > Thanks for your help Joost.
> >
> > Looks like the query isn't compatible with the SQL mode that is set in
> > your copy of MySQL.
> >
> > I have made a fix - please replace the file admin/new.php with the
> > following:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > download/adam.zammit%40acspri.org.au-20160905234404-
> > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> >
> > Also please let me know if you find any related issues - I haven't
> > tested queXS with this mode.
> >
> > Adam
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/quexs/+question/375015/+
> confirm?answer_id=5
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Joost (joostvdhorst) said : #10

PS
According to the manual the default shift times should show up at the shift
management panel (https://www.acspri.org.au/node/669). I have default shift
times set (https://s14.postimg.org/a6un18k2p/default.png), but they do not
show up (https://s15.postimg.io/gzkkipdpn/shifts.png).

Kind Regards,
Joost

On Tue, Sep 6, 2016 at 3:32 PM, Joost <email address hidden>
wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> I don't know if it is related but I cannot add shifts in my timezone.
> I've made a survey in the queXS-integrated Limesurvey, imported and added a
> sample to it, assigned an operator to it, but the operator gets an error
> "no shifts available".
> I've made a screenshot: https://s15.postimg.org/gzkkipdpn/shifts.png . Is
> this somehow related to my mysql version?
>
> Kind Regards,
> Joost
>
> On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> launchpad.net>
> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > YAAAY! Thank you for the fix, it's working like a charm now! :)
> >
> > Kind Regards,
> > Joost
> >
> > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Status: Open => Answered
> > >
> > > Adam Zammit proposed the following answer:
> > > Thanks for your help Joost.
> > >
> > > Looks like the query isn't compatible with the SQL mode that is set in
> > > your copy of MySQL.
> > >
> > > I have made a fix - please replace the file admin/new.php with the
> > > following:
> > >
> > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > >
> > > Also please let me know if you find any related issues - I haven't
> > > tested queXS with this mode.
> > >
> > > Adam
> > >
> > > --
> > > If this answers your question, please go to the following page to let
> us
> > > know that it is solved:
> > > https://answers.launchpad.net/quexs/+question/375015/+
> > confirm?answer_id=5
> > >
> > > If you still need help, you can reply to this email or go to the
> > > following page to enter your feedback:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #11

Another related bug - please replace the file:

admin/addshift.php

with:

https://bazaar.launchpad.net/~adamzammit/quexs/main/download/adam.zammit%40acspri.org.au-20160907013554-7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410-a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php

Adam

On 6 September 2016 at 23:52, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> PS
> According to the manual the default shift times should show up at the shift
> management panel (https://www.acspri.org.au/node/669). I have default
> shift
> times set (https://s14.postimg.org/a6un18k2p/default.png), but they do not
> show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
>
> Kind Regards,
> Joost
>
> On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> launchpad.net>
> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > I don't know if it is related but I cannot add shifts in my timezone.
> > I've made a survey in the queXS-integrated Limesurvey, imported and
> added a
> > sample to it, assigned an operator to it, but the operator gets an error
> > "no shifts available".
> > I've made a screenshot: https://s15.postimg.org/gzkkipdpn/shifts.png .
> Is
> > this somehow related to my mysql version?
> >
> > Kind Regards,
> > Joost
> >
> > On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> > launchpad.net>
> > wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > YAAAY! Thank you for the fix, it's working like a charm now! :)
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Status: Open => Answered
> > > >
> > > > Adam Zammit proposed the following answer:
> > > > Thanks for your help Joost.
> > > >
> > > > Looks like the query isn't compatible with the SQL mode that is set
> in
> > > > your copy of MySQL.
> > > >
> > > > I have made a fix - please replace the file admin/new.php with the
> > > > following:
> > > >
> > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > >
> > > > Also please let me know if you find any related issues - I haven't
> > > > tested queXS with this mode.
> > > >
> > > > Adam
> > > >
> > > > --
> > > > If this answers your question, please go to the following page to let
> > us
> > > > know that it is solved:
> > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > confirm?answer_id=5
> > > >
> > > > If you still need help, you can reply to this email or go to the
> > > > following page to enter your feedback:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #12

Thanks Adam, I think that solved it!
I ran a few tests and the user interface works fine: operators can call a
respondent / case, complete a survey, make an appointment or choose another
outcome.
When appointments are made, the operators see those appointments in their
display when the specific case is selected for them (
https://s16.postimg.org/8w3z0x545/case2.png). These cases are selected for
the operators on the right time (the time slot in which they planned an
appointment).

The appointments however are not shown in the Administration Panel (
https://s9.postimg.org/3p9ja8djj/appointments.png), but when I lookup the
specific case, I do see the appointment (
https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is also shown
in the user interface of the operators, see the first screenshot).

It doesn't bother me much, because everything seems to be working fine and
I have taken a lot of your time already, but since you asked to keep you
informed about related issues: maybe this is one.

Thanks again for all the help!

Kind Regards,
Joost

On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Another related bug - please replace the file:
>
> admin/addshift.php
>
> with:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/
> download/adam.zammit%40acspri.org.au-20160907013554-
> 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php
>
> Adam
>
> On 6 September 2016 at 23:52, Joost <email address hidden>
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > PS
> > According to the manual the default shift times should show up at the
> shift
> > management panel (https://www.acspri.org.au/node/669). I have default
> > shift
> > times set (https://s14.postimg.org/a6un18k2p/default.png), but they do
> not
> > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> >
> > Kind Regards,
> > Joost
> >
> > On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> > launchpad.net>
> > wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > I don't know if it is related but I cannot add shifts in my timezone.
> > > I've made a survey in the queXS-integrated Limesurvey, imported and
> > added a
> > > sample to it, assigned an operator to it, but the operator gets an
> error
> > > "no shifts available".
> > > I've made a screenshot: https://s15.postimg.org/gzkkipdpn/shifts.png .
> > Is
> > > this somehow related to my mysql version?
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> > > launchpad.net>
> > > wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > YAAAY! Thank you for the fix, it's working like a charm now! :)
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Status: Open => Answered
> > > > >
> > > > > Adam Zammit proposed the following answer:
> > > > > Thanks for your help Joost.
> > > > >
> > > > > Looks like the query isn't compatible with the SQL mode that is set
> > in
> > > > > your copy of MySQL.
> > > > >
> > > > > I have made a fix - please replace the file admin/new.php with the
> > > > > following:
> > > > >
> > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > >
> > > > > Also please let me know if you find any related issues - I haven't
> > > > > tested queXS with this mode.
> > > > >
> > > > > Adam
> > > > >
> > > > > --
> > > > > If this answers your question, please go to the following page to
> let
> > > us
> > > > > know that it is solved:
> > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > confirm?answer_id=5
> > > > >
> > > > > If you still need help, you can reply to this email or go to the
> > > > > following page to enter your feedback:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Joost (joostvdhorst) said : #13

Maybe I don't see the appointments because of a timezone error.
In the default time shift settings I set the times in the local timezone (
https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the user interface
of the operators the time settings change to other times (
https://s12.postimg.org/5xfwm504t/timezone2.png), I guess because of
another timezone setting? The "current time" however is in my own timezone,
leading to "no shifts available" and thus no cases for the operator.

Funny thing is that when I keep the user interface open in my browser and
login to the Administration Panel in another tab (causing the operator to
"log off"), the "current time" in the user interface of the operator
changes to the wrong timezone....

Kind Regards,
Joost

On Wed, Sep 7, 2016 at 2:22 PM, Joost <email address hidden>
wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Thanks Adam, I think that solved it!
> I ran a few tests and the user interface works fine: operators can call a
> respondent / case, complete a survey, make an appointment or choose another
> outcome.
> When appointments are made, the operators see those appointments in their
> display when the specific case is selected for them (
> https://s16.postimg.org/8w3z0x545/case2.png). These cases are selected for
> the operators on the right time (the time slot in which they planned an
> appointment).
>
> The appointments however are not shown in the Administration Panel (
> https://s9.postimg.org/3p9ja8djj/appointments.png), but when I lookup the
> specific case, I do see the appointment (
> https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is also
> shown
> in the user interface of the operators, see the first screenshot).
>
> It doesn't bother me much, because everything seems to be working fine and
> I have taken a lot of your time already, but since you asked to keep you
> informed about related issues: maybe this is one.
>
> Thanks again for all the help!
>
> Kind Regards,
> Joost
>
>
> On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Another related bug - please replace the file:
> >
> > admin/addshift.php
> >
> > with:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > download/adam.zammit%40acspri.org.au-20160907013554-
> > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php
> >
> > Adam
> >
> > On 6 September 2016 at 23:52, Joost <question375015@answers.
> launchpad.net>
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > PS
> > > According to the manual the default shift times should show up at the
> > shift
> > > management panel (https://www.acspri.org.au/node/669). I have default
> > > shift
> > > times set (https://s14.postimg.org/a6un18k2p/default.png), but they do
> > not
> > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> > > launchpad.net>
> > > wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > I don't know if it is related but I cannot add shifts in my timezone.
> > > > I've made a survey in the queXS-integrated Limesurvey, imported and
> > > added a
> > > > sample to it, assigned an operator to it, but the operator gets an
> > error
> > > > "no shifts available".
> > > > I've made a screenshot: https://s15.postimg.org/gzkkipdpn/shifts.png
> .
> > > Is
> > > > this somehow related to my mysql version?
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> > > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Hi Adam,
> > > > >
> > > > > YAAAY! Thank you for the fix, it's working like a charm now! :)
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > <email address hidden>> wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Status: Open => Answered
> > > > > >
> > > > > > Adam Zammit proposed the following answer:
> > > > > > Thanks for your help Joost.
> > > > > >
> > > > > > Looks like the query isn't compatible with the SQL mode that is
> set
> > > in
> > > > > > your copy of MySQL.
> > > > > >
> > > > > > I have made a fix - please replace the file admin/new.php with
> the
> > > > > > following:
> > > > > >
> > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > > >
> > > > > > Also please let me know if you find any related issues - I
> haven't
> > > > > > tested queXS with this mode.
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > --
> > > > > > If this answers your question, please go to the following page to
> > let
> > > > us
> > > > > > know that it is solved:
> > > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > > confirm?answer_id=5
> > > > > >
> > > > > > If you still need help, you can reply to this email or go to the
> > > > > > following page to enter your feedback:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Joost (joostvdhorst) said : #14

Nevermind my last e-mail. The timezone problem is solved.
But I still cannot see the made appointments in the Administration Panel.

Kind Regards,
Joost van der Horst

On Wed, Sep 7, 2016 at 3:32 PM, Joost <email address hidden>
wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Maybe I don't see the appointments because of a timezone error.
> In the default time shift settings I set the times in the local timezone (
> https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the user
> interface
> of the operators the time settings change to other times (
> https://s12.postimg.org/5xfwm504t/timezone2.png), I guess because of
> another timezone setting? The "current time" however is in my own timezone,
> leading to "no shifts available" and thus no cases for the operator.
>
> Funny thing is that when I keep the user interface open in my browser and
> login to the Administration Panel in another tab (causing the operator to
> "log off"), the "current time" in the user interface of the operator
> changes to the wrong timezone....
>
> Kind Regards,
> Joost
>
> On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> launchpad.net>
> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Thanks Adam, I think that solved it!
> > I ran a few tests and the user interface works fine: operators can call a
> > respondent / case, complete a survey, make an appointment or choose
> another
> > outcome.
> > When appointments are made, the operators see those appointments in their
> > display when the specific case is selected for them (
> > https://s16.postimg.org/8w3z0x545/case2.png). These cases are selected
> for
> > the operators on the right time (the time slot in which they planned an
> > appointment).
> >
> > The appointments however are not shown in the Administration Panel (
> > https://s9.postimg.org/3p9ja8djj/appointments.png), but when I lookup
> the
> > specific case, I do see the appointment (
> > https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is also
> > shown
> > in the user interface of the operators, see the first screenshot).
> >
> > It doesn't bother me much, because everything seems to be working fine
> and
> > I have taken a lot of your time already, but since you asked to keep you
> > informed about related issues: maybe this is one.
> >
> > Thanks again for all the help!
> >
> > Kind Regards,
> > Joost
> >
> >
> > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Another related bug - please replace the file:
> > >
> > > admin/addshift.php
> > >
> > > with:
> > >
> > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php
> > >
> > > Adam
> > >
> > > On 6 September 2016 at 23:52, Joost <question375015@answers.
> > launchpad.net>
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > PS
> > > > According to the manual the default shift times should show up at the
> > > shift
> > > > management panel (https://www.acspri.org.au/node/669). I have
> default
> > > > shift
> > > > times set (https://s14.postimg.org/a6un18k2p/default.png), but they
> do
> > > not
> > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Hi Adam,
> > > > >
> > > > > I don't know if it is related but I cannot add shifts in my
> timezone.
> > > > > I've made a survey in the queXS-integrated Limesurvey, imported and
> > > > added a
> > > > > sample to it, assigned an operator to it, but the operator gets an
> > > error
> > > > > "no shifts available".
> > > > > I've made a screenshot: https://s15.postimg.org/
> gzkkipdpn/shifts.png
> > .
> > > > Is
> > > > > this somehow related to my mysql version?
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Hi Adam,
> > > > > >
> > > > > > YAAAY! Thank you for the fix, it's working like a charm now! :)
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > <email address hidden>> wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Status: Open => Answered
> > > > > > >
> > > > > > > Adam Zammit proposed the following answer:
> > > > > > > Thanks for your help Joost.
> > > > > > >
> > > > > > > Looks like the query isn't compatible with the SQL mode that is
> > set
> > > > in
> > > > > > > your copy of MySQL.
> > > > > > >
> > > > > > > I have made a fix - please replace the file admin/new.php with
> > the
> > > > > > > following:
> > > > > > >
> > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > > > >
> > > > > > > Also please let me know if you find any related issues - I
> > haven't
> > > > > > > tested queXS with this mode.
> > > > > > >
> > > > > > > Adam
> > > > > > >
> > > > > > > --
> > > > > > > If this answers your question, please go to the following page
> to
> > > let
> > > > > us
> > > > > > > know that it is solved:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > > > confirm?answer_id=5
> > > > > > >
> > > > > > > If you still need help, you can reply to this email or go to
> the
> > > > > > > following page to enter your feedback:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #15

Hi Joost,

Thanks for reporting this bug.

I identified a few more issues - please replace the files that have been
fixed in the following revision:

https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541

Let me know if you notice anything else.

Adam

On 7 September 2016 at 23:42, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Nevermind my last e-mail. The timezone problem is solved.
> But I still cannot see the made appointments in the Administration Panel.
>
> Kind Regards,
> Joost van der Horst
>
> On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> launchpad.net>
> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Maybe I don't see the appointments because of a timezone error.
> > In the default time shift settings I set the times in the local timezone
> (
> > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the user
> > interface
> > of the operators the time settings change to other times (
> > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess because of
> > another timezone setting? The "current time" however is in my own
> timezone,
> > leading to "no shifts available" and thus no cases for the operator.
> >
> > Funny thing is that when I keep the user interface open in my browser and
> > login to the Administration Panel in another tab (causing the operator to
> > "log off"), the "current time" in the user interface of the operator
> > changes to the wrong timezone....
> >
> > Kind Regards,
> > Joost
> >
> > On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> > launchpad.net>
> > wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Thanks Adam, I think that solved it!
> > > I ran a few tests and the user interface works fine: operators can
> call a
> > > respondent / case, complete a survey, make an appointment or choose
> > another
> > > outcome.
> > > When appointments are made, the operators see those appointments in
> their
> > > display when the specific case is selected for them (
> > > https://s16.postimg.org/8w3z0x545/case2.png). These cases are selected
> > for
> > > the operators on the right time (the time slot in which they planned an
> > > appointment).
> > >
> > > The appointments however are not shown in the Administration Panel (
> > > https://s9.postimg.org/3p9ja8djj/appointments.png), but when I lookup
> > the
> > > specific case, I do see the appointment (
> > > https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is also
> > > shown
> > > in the user interface of the operators, see the first screenshot).
> > >
> > > It doesn't bother me much, because everything seems to be working fine
> > and
> > > I have taken a lot of your time already, but since you asked to keep
> you
> > > informed about related issues: maybe this is one.
> > >
> > > Thanks again for all the help!
> > >
> > > Kind Regards,
> > > Joost
> > >
> > >
> > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > Another related bug - please replace the file:
> > > >
> > > > admin/addshift.php
> > > >
> > > > with:
> > > >
> > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php
> > > >
> > > > Adam
> > > >
> > > > On 6 September 2016 at 23:52, Joost <question375015@answers.
> > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > PS
> > > > > According to the manual the default shift times should show up at
> the
> > > > shift
> > > > > management panel (https://www.acspri.org.au/node/669). I have
> > default
> > > > > shift
> > > > > times set (https://s14.postimg.org/a6un18k2p/default.png), but
> they
> > do
> > > > not
> > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Hi Adam,
> > > > > >
> > > > > > I don't know if it is related but I cannot add shifts in my
> > timezone.
> > > > > > I've made a survey in the queXS-integrated Limesurvey, imported
> and
> > > > > added a
> > > > > > sample to it, assigned an operator to it, but the operator gets
> an
> > > > error
> > > > > > "no shifts available".
> > > > > > I've made a screenshot: https://s15.postimg.org/
> > gzkkipdpn/shifts.png
> > > .
> > > > > Is
> > > > > > this somehow related to my mysql version?
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Hi Adam,
> > > > > > >
> > > > > > > YAAAY! Thank you for the fix, it's working like a charm now! :)
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > <email address hidden>> wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Status: Open => Answered
> > > > > > > >
> > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > Thanks for your help Joost.
> > > > > > > >
> > > > > > > > Looks like the query isn't compatible with the SQL mode that
> is
> > > set
> > > > > in
> > > > > > > > your copy of MySQL.
> > > > > > > >
> > > > > > > > I have made a fix - please replace the file admin/new.php
> with
> > > the
> > > > > > > > following:
> > > > > > > >
> > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > > > > >
> > > > > > > > Also please let me know if you find any related issues - I
> > > haven't
> > > > > > > > tested queXS with this mode.
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > > --
> > > > > > > > If this answers your question, please go to the following
> page
> > to
> > > > let
> > > > > > us
> > > > > > > > know that it is solved:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > > > > confirm?answer_id=5
> > > > > > > >
> > > > > > > > If you still need help, you can reply to this email or go to
> > the
> > > > > > > > following page to enter your feedback:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #16

I still do not see appointments in the Administration Panel. I can make an
appointment in the user interface of the operator (
https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in the
Administration Panel (
https://s13.postimg.org/levymw75j/appoint_supervisor.png) and they show up
in the case information (https://s11.postimg.org/ru464rggz/appoint_case.png),
but they do not show up in the Administration Panel (
https://s10.postimg.org/6nsjxmyg9/displayappoint.png).

Kind Regards,
Joost

On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Hi Joost,
>
> Thanks for reporting this bug.
>
> I identified a few more issues - please replace the files that have been
> fixed in the following revision:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541
>
> Let me know if you notice anything else.
>
> Adam
>
> On 7 September 2016 at 23:42, Joost <email address hidden>
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Nevermind my last e-mail. The timezone problem is solved.
> > But I still cannot see the made appointments in the Administration Panel.
> >
> > Kind Regards,
> > Joost van der Horst
> >
> > On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> > launchpad.net>
> > wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Maybe I don't see the appointments because of a timezone error.
> > > In the default time shift settings I set the times in the local
> timezone
> > (
> > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the user
> > > interface
> > > of the operators the time settings change to other times (
> > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess because of
> > > another timezone setting? The "current time" however is in my own
> > timezone,
> > > leading to "no shifts available" and thus no cases for the operator.
> > >
> > > Funny thing is that when I keep the user interface open in my browser
> and
> > > login to the Administration Panel in another tab (causing the operator
> to
> > > "log off"), the "current time" in the user interface of the operator
> > > changes to the wrong timezone....
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> > > launchpad.net>
> > > wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Thanks Adam, I think that solved it!
> > > > I ran a few tests and the user interface works fine: operators can
> > call a
> > > > respondent / case, complete a survey, make an appointment or choose
> > > another
> > > > outcome.
> > > > When appointments are made, the operators see those appointments in
> > their
> > > > display when the specific case is selected for them (
> > > > https://s16.postimg.org/8w3z0x545/case2.png). These cases are
> selected
> > > for
> > > > the operators on the right time (the time slot in which they planned
> an
> > > > appointment).
> > > >
> > > > The appointments however are not shown in the Administration Panel (
> > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but when I
> lookup
> > > the
> > > > specific case, I do see the appointment (
> > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is
> also
> > > > shown
> > > > in the user interface of the operators, see the first screenshot).
> > > >
> > > > It doesn't bother me much, because everything seems to be working
> fine
> > > and
> > > > I have taken a lot of your time already, but since you asked to keep
> > you
> > > > informed about related issues: maybe this is one.
> > > >
> > > > Thanks again for all the help!
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > >
> > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > Another related bug - please replace the file:
> > > > >
> > > > > admin/addshift.php
> > > > >
> > > > > with:
> > > > >
> > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php
> > > > >
> > > > > Adam
> > > > >
> > > > > On 6 September 2016 at 23:52, Joost <question375015@answers.
> > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > PS
> > > > > > According to the manual the default shift times should show up at
> > the
> > > > > shift
> > > > > > management panel (https://www.acspri.org.au/node/669). I have
> > > default
> > > > > > shift
> > > > > > times set (https://s14.postimg.org/a6un18k2p/default.png), but
> > they
> > > do
> > > > > not
> > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Hi Adam,
> > > > > > >
> > > > > > > I don't know if it is related but I cannot add shifts in my
> > > timezone.
> > > > > > > I've made a survey in the queXS-integrated Limesurvey, imported
> > and
> > > > > > added a
> > > > > > > sample to it, assigned an operator to it, but the operator gets
> > an
> > > > > error
> > > > > > > "no shifts available".
> > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > gzkkipdpn/shifts.png
> > > > .
> > > > > > Is
> > > > > > > this somehow related to my mysql version?
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Hi Adam,
> > > > > > > >
> > > > > > > > YAAAY! Thank you for the fix, it's working like a charm now!
> :)
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > <email address hidden>> wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Status: Open => Answered
> > > > > > > > >
> > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > Thanks for your help Joost.
> > > > > > > > >
> > > > > > > > > Looks like the query isn't compatible with the SQL mode
> that
> > is
> > > > set
> > > > > > in
> > > > > > > > > your copy of MySQL.
> > > > > > > > >
> > > > > > > > > I have made a fix - please replace the file admin/new.php
> > with
> > > > the
> > > > > > > > > following:
> > > > > > > > >
> > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > > > > > >
> > > > > > > > > Also please let me know if you find any related issues - I
> > > > haven't
> > > > > > > > > tested queXS with this mode.
> > > > > > > > >
> > > > > > > > > Adam
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > If this answers your question, please go to the following
> > page
> > > to
> > > > > let
> > > > > > > us
> > > > > > > > > know that it is solved:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > > > > > confirm?answer_id=5
> > > > > > > > >
> > > > > > > > > If you still need help, you can reply to this email or go
> to
> > > the
> > > > > > > > > following page to enter your feedback:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #17

Hi Joost,

Thanks for your persistence!

Please try the files changed in the latest revision:

https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542

Adam

On 9 September 2016 at 00:22, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> I still do not see appointments in the Administration Panel. I can make an
> appointment in the user interface of the operator (
> https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in the
> Administration Panel (
> https://s13.postimg.org/levymw75j/appoint_supervisor.png) and they show up
> in the case information (https://s11.postimg.org/
> ru464rggz/appoint_case.png),
> but they do not show up in the Administration Panel (
> https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
>
> Kind Regards,
> Joost
>
> On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Hi Joost,
> >
> > Thanks for reporting this bug.
> >
> > I identified a few more issues - please replace the files that have been
> > fixed in the following revision:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541
> >
> > Let me know if you notice anything else.
> >
> > Adam
> >
> > On 7 September 2016 at 23:42, Joost <question375015@answers.
> launchpad.net>
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Nevermind my last e-mail. The timezone problem is solved.
> > > But I still cannot see the made appointments in the Administration
> Panel.
> > >
> > > Kind Regards,
> > > Joost van der Horst
> > >
> > > On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> > > launchpad.net>
> > > wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Maybe I don't see the appointments because of a timezone error.
> > > > In the default time shift settings I set the times in the local
> > timezone
> > > (
> > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the user
> > > > interface
> > > > of the operators the time settings change to other times (
> > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess because of
> > > > another timezone setting? The "current time" however is in my own
> > > timezone,
> > > > leading to "no shifts available" and thus no cases for the operator.
> > > >
> > > > Funny thing is that when I keep the user interface open in my browser
> > and
> > > > login to the Administration Panel in another tab (causing the
> operator
> > to
> > > > "log off"), the "current time" in the user interface of the operator
> > > > changes to the wrong timezone....
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> > > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Thanks Adam, I think that solved it!
> > > > > I ran a few tests and the user interface works fine: operators can
> > > call a
> > > > > respondent / case, complete a survey, make an appointment or choose
> > > > another
> > > > > outcome.
> > > > > When appointments are made, the operators see those appointments in
> > > their
> > > > > display when the specific case is selected for them (
> > > > > https://s16.postimg.org/8w3z0x545/case2.png). These cases are
> > selected
> > > > for
> > > > > the operators on the right time (the time slot in which they
> planned
> > an
> > > > > appointment).
> > > > >
> > > > > The appointments however are not shown in the Administration Panel
> (
> > > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but when I
> > lookup
> > > > the
> > > > > specific case, I do see the appointment (
> > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is
> > also
> > > > > shown
> > > > > in the user interface of the operators, see the first screenshot).
> > > > >
> > > > > It doesn't bother me much, because everything seems to be working
> > fine
> > > > and
> > > > > I have taken a lot of your time already, but since you asked to
> keep
> > > you
> > > > > informed about related issues: maybe this is one.
> > > > >
> > > > > Thanks again for all the help!
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > >
> > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > <email address hidden>> wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > Another related bug - please replace the file:
> > > > > >
> > > > > > admin/addshift.php
> > > > > >
> > > > > > with:
> > > > > >
> > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/addshift.php
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > On 6 September 2016 at 23:52, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > PS
> > > > > > > According to the manual the default shift times should show up
> at
> > > the
> > > > > > shift
> > > > > > > management panel (https://www.acspri.org.au/node/669). I have
> > > > default
> > > > > > > shift
> > > > > > > times set (https://s14.postimg.org/a6un18k2p/default.png), but
> > > they
> > > > do
> > > > > > not
> > > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Hi Adam,
> > > > > > > >
> > > > > > > > I don't know if it is related but I cannot add shifts in my
> > > > timezone.
> > > > > > > > I've made a survey in the queXS-integrated Limesurvey,
> imported
> > > and
> > > > > > > added a
> > > > > > > > sample to it, assigned an operator to it, but the operator
> gets
> > > an
> > > > > > error
> > > > > > > > "no shifts available".
> > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > gzkkipdpn/shifts.png
> > > > > .
> > > > > > > Is
> > > > > > > > this somehow related to my mysql version?
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Hi Adam,
> > > > > > > > >
> > > > > > > > > YAAAY! Thank you for the fix, it's working like a charm
> now!
> > :)
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > <email address hidden>> wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Status: Open => Answered
> > > > > > > > > >
> > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > >
> > > > > > > > > > Looks like the query isn't compatible with the SQL mode
> > that
> > > is
> > > > > set
> > > > > > > in
> > > > > > > > > > your copy of MySQL.
> > > > > > > > > >
> > > > > > > > > > I have made a fix - please replace the file admin/new.php
> > > with
> > > > > the
> > > > > > > > > > following:
> > > > > > > > > >
> > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > > > > > > >
> > > > > > > > > > Also please let me know if you find any related issues -
> I
> > > > > haven't
> > > > > > > > > > tested queXS with this mode.
> > > > > > > > > >
> > > > > > > > > > Adam
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > If this answers your question, please go to the following
> > > page
> > > > to
> > > > > > let
> > > > > > > > us
> > > > > > > > > > know that it is solved:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > > > > > > confirm?answer_id=5
> > > > > > > > > >
> > > > > > > > > > If you still need help, you can reply to this email or go
> > to
> > > > the
> > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #18

Hi Adam,

I replaced the files, but I'm still getting the same error... (the
appointments do not show up in the Administration Panel)

Kind Regards,
Joost

Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
<email address hidden>>:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Hi Joost,
>
> Thanks for your persistence!
>
> Please try the files changed in the latest revision:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542
>
> Adam
>
> On 9 September 2016 at 00:22, Joost <email address hidden>
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > I still do not see appointments in the Administration Panel. I can make
> an
> > appointment in the user interface of the operator (
> > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in the
> > Administration Panel (
> > https://s13.postimg.org/levymw75j/appoint_supervisor.png) and they show
> up
> > in the case information (https://s11.postimg.org/
> > ru464rggz/appoint_case.png),
> > but they do not show up in the Administration Panel (
> > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> >
> > Kind Regards,
> > Joost
> >
> > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Hi Joost,
> > >
> > > Thanks for reporting this bug.
> > >
> > > I identified a few more issues - please replace the files that have
> been
> > > fixed in the following revision:
> > >
> > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541
> > >
> > > Let me know if you notice anything else.
> > >
> > > Adam
> > >
> > > On 7 September 2016 at 23:42, Joost <question375015@answers.
> > launchpad.net>
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > But I still cannot see the made appointments in the Administration
> > Panel.
> > > >
> > > > Kind Regards,
> > > > Joost van der Horst
> > > >
> > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Maybe I don't see the appointments because of a timezone error.
> > > > > In the default time shift settings I set the times in the local
> > > timezone
> > > > (
> > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the user
> > > > > interface
> > > > > of the operators the time settings change to other times (
> > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess because
> of
> > > > > another timezone setting? The "current time" however is in my own
> > > > timezone,
> > > > > leading to "no shifts available" and thus no cases for the
> operator.
> > > > >
> > > > > Funny thing is that when I keep the user interface open in my
> browser
> > > and
> > > > > login to the Administration Panel in another tab (causing the
> > operator
> > > to
> > > > > "log off"), the "current time" in the user interface of the
> operator
> > > > > changes to the wrong timezone....
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Thanks Adam, I think that solved it!
> > > > > > I ran a few tests and the user interface works fine: operators
> can
> > > > call a
> > > > > > respondent / case, complete a survey, make an appointment or
> choose
> > > > > another
> > > > > > outcome.
> > > > > > When appointments are made, the operators see those appointments
> in
> > > > their
> > > > > > display when the specific case is selected for them (
> > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These cases are
> > > selected
> > > > > for
> > > > > > the operators on the right time (the time slot in which they
> > planned
> > > an
> > > > > > appointment).
> > > > > >
> > > > > > The appointments however are not shown in the Administration
> Panel
> > (
> > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but when I
> > > lookup
> > > > > the
> > > > > > specific case, I do see the appointment (
> > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment is
> > > also
> > > > > > shown
> > > > > > in the user interface of the operators, see the first
> screenshot).
> > > > > >
> > > > > > It doesn't bother me much, because everything seems to be working
> > > fine
> > > > > and
> > > > > > I have taken a lot of your time already, but since you asked to
> > keep
> > > > you
> > > > > > informed about related issues: maybe this is one.
> > > > > >
> > > > > > Thanks again for all the help!
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > >
> > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > <email address hidden>> wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Adam Zammit posted a new comment:
> > > > > > > Another related bug - please replace the file:
> > > > > > >
> > > > > > > admin/addshift.php
> > > > > > >
> > > > > > > with:
> > > > > > >
> > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/
> addshift.php
> > > > > > >
> > > > > > > Adam
> > > > > > >
> > > > > > > On 6 September 2016 at 23:52, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > PS
> > > > > > > > According to the manual the default shift times should show
> up
> > at
> > > > the
> > > > > > > shift
> > > > > > > > management panel (https://www.acspri.org.au/node/669). I
> have
> > > > > default
> > > > > > > > shift
> > > > > > > > times set (https://s14.postimg.org/a6un18k2p/default.png),
> but
> > > > they
> > > > > do
> > > > > > > not
> > > > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Hi Adam,
> > > > > > > > >
> > > > > > > > > I don't know if it is related but I cannot add shifts in my
> > > > > timezone.
> > > > > > > > > I've made a survey in the queXS-integrated Limesurvey,
> > imported
> > > > and
> > > > > > > > added a
> > > > > > > > > sample to it, assigned an operator to it, but the operator
> > gets
> > > > an
> > > > > > > error
> > > > > > > > > "no shifts available".
> > > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > > gzkkipdpn/shifts.png
> > > > > > .
> > > > > > > > Is
> > > > > > > > > this somehow related to my mysql version?
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > Hi Adam,
> > > > > > > > > >
> > > > > > > > > > YAAAY! Thank you for the fix, it's working like a charm
> > now!
> > > :)
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > >
> > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > >
> > > > > > > > > > > Looks like the query isn't compatible with the SQL mode
> > > that
> > > > is
> > > > > > set
> > > > > > > > in
> > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > >
> > > > > > > > > > > I have made a fix - please replace the file
> admin/new.php
> > > > with
> > > > > > the
> > > > > > > > > > > following:
> > > > > > > > > > >
> > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Fnew.php/new.php
> > > > > > > > > > >
> > > > > > > > > > > Also please let me know if you find any related issues
> -
> > I
> > > > > > haven't
> > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > >
> > > > > > > > > > > Adam
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > If this answers your question, please go to the
> following
> > > > page
> > > > > to
> > > > > > > let
> > > > > > > > > us
> > > > > > > > > > > know that it is solved:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015/+
> > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > >
> > > > > > > > > > > If you still need help, you can reply to this email or
> go
> > > to
> > > > > the
> > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you are an
> > answer
> > > > > > > > contact for queXS.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Adam Zammit
> > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > +61 3 9013 9653
> > > > > > > http://www.acspri.org.au/
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #19

Hi Joost,

I am unable to replicate this after the update. Can you please try creating
new appointments and see if they now show up?

Kind Regards,
Adam Zammit

On 13 September 2016 at 07:08, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> I replaced the files, but I'm still getting the same error... (the
> appointments do not show up in the Administration Panel)
>
> Kind Regards,
> Joost
>
> Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> <email address hidden>>:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Hi Joost,
> >
> > Thanks for your persistence!
> >
> > Please try the files changed in the latest revision:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542
> >
> > Adam
> >
> > On 9 September 2016 at 00:22, Joost <question375015@answers.
> launchpad.net>
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > I still do not see appointments in the Administration Panel. I can make
> > an
> > > appointment in the user interface of the operator (
> > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in the
> > > Administration Panel (
> > > https://s13.postimg.org/levymw75j/appoint_supervisor.png) and they
> show
> > up
> > > in the case information (https://s11.postimg.org/
> > > ru464rggz/appoint_case.png),
> > > but they do not show up in the Administration Panel (
> > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > Hi Joost,
> > > >
> > > > Thanks for reporting this bug.
> > > >
> > > > I identified a few more issues - please replace the files that have
> > been
> > > > fixed in the following revision:
> > > >
> > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541
> > > >
> > > > Let me know if you notice anything else.
> > > >
> > > > Adam
> > > >
> > > > On 7 September 2016 at 23:42, Joost <question375015@answers.
> > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > > But I still cannot see the made appointments in the Administration
> > > Panel.
> > > > >
> > > > > Kind Regards,
> > > > > Joost van der Horst
> > > > >
> > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Maybe I don't see the appointments because of a timezone error.
> > > > > > In the default time shift settings I set the times in the local
> > > > timezone
> > > > > (
> > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the
> user
> > > > > > interface
> > > > > > of the operators the time settings change to other times (
> > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess
> because
> > of
> > > > > > another timezone setting? The "current time" however is in my own
> > > > > timezone,
> > > > > > leading to "no shifts available" and thus no cases for the
> > operator.
> > > > > >
> > > > > > Funny thing is that when I keep the user interface open in my
> > browser
> > > > and
> > > > > > login to the Administration Panel in another tab (causing the
> > > operator
> > > > to
> > > > > > "log off"), the "current time" in the user interface of the
> > operator
> > > > > > changes to the wrong timezone....
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Thanks Adam, I think that solved it!
> > > > > > > I ran a few tests and the user interface works fine: operators
> > can
> > > > > call a
> > > > > > > respondent / case, complete a survey, make an appointment or
> > choose
> > > > > > another
> > > > > > > outcome.
> > > > > > > When appointments are made, the operators see those
> appointments
> > in
> > > > > their
> > > > > > > display when the specific case is selected for them (
> > > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These cases are
> > > > selected
> > > > > > for
> > > > > > > the operators on the right time (the time slot in which they
> > > planned
> > > > an
> > > > > > > appointment).
> > > > > > >
> > > > > > > The appointments however are not shown in the Administration
> > Panel
> > > (
> > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but when I
> > > > lookup
> > > > > > the
> > > > > > > specific case, I do see the appointment (
> > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the appointment
> is
> > > > also
> > > > > > > shown
> > > > > > > in the user interface of the operators, see the first
> > screenshot).
> > > > > > >
> > > > > > > It doesn't bother me much, because everything seems to be
> working
> > > > fine
> > > > > > and
> > > > > > > I have taken a lot of your time already, but since you asked to
> > > keep
> > > > > you
> > > > > > > informed about related issues: maybe this is one.
> > > > > > >
> > > > > > > Thanks again for all the help!
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > <email address hidden>> wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > Another related bug - please replace the file:
> > > > > > > >
> > > > > > > > admin/addshift.php
> > > > > > > >
> > > > > > > > with:
> > > > > > > >
> > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/
> > addshift.php
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > > On 6 September 2016 at 23:52, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > PS
> > > > > > > > > According to the manual the default shift times should show
> > up
> > > at
> > > > > the
> > > > > > > > shift
> > > > > > > > > management panel (https://www.acspri.org.au/node/669). I
> > have
> > > > > > default
> > > > > > > > > shift
> > > > > > > > > times set (https://s14.postimg.org/a6un18k2p/default.png),
> > but
> > > > > they
> > > > > > do
> > > > > > > > not
> > > > > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > Hi Adam,
> > > > > > > > > >
> > > > > > > > > > I don't know if it is related but I cannot add shifts in
> my
> > > > > > timezone.
> > > > > > > > > > I've made a survey in the queXS-integrated Limesurvey,
> > > imported
> > > > > and
> > > > > > > > > added a
> > > > > > > > > > sample to it, assigned an operator to it, but the
> operator
> > > gets
> > > > > an
> > > > > > > > error
> > > > > > > > > > "no shifts available".
> > > > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > > > gzkkipdpn/shifts.png
> > > > > > > .
> > > > > > > > > Is
> > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > Hi Adam,
> > > > > > > > > > >
> > > > > > > > > > > YAAAY! Thank you for the fix, it's working like a charm
> > > now!
> > > > :)
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > >
> > > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > >
> > > > > > > > > > > > Looks like the query isn't compatible with the SQL
> mode
> > > > that
> > > > > is
> > > > > > > set
> > > > > > > > > in
> > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > >
> > > > > > > > > > > > I have made a fix - please replace the file
> > admin/new.php
> > > > > with
> > > > > > > the
> > > > > > > > > > > > following:
> > > > > > > > > > > >
> > > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > > > download/adam.zammit%40acspri.org.au-20160905234404-
> > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > >
> > > > > > > > > > > > Also please let me know if you find any related
> issues
> > -
> > > I
> > > > > > > haven't
> > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > >
> > > > > > > > > > > > Adam
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > If this answers your question, please go to the
> > following
> > > > > page
> > > > > > to
> > > > > > > > let
> > > > > > > > > > us
> > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015/+
> > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > >
> > > > > > > > > > > > If you still need help, you can reply to this email
> or
> > go
> > > > to
> > > > > > the
> > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you are an
> > > answer
> > > > > > > > > contact for queXS.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Adam Zammit
> > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > > +61 3 9013 9653
> > > > > > > > http://www.acspri.org.au/
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #20

I've created a new appointment with the operator 'Ake' (
https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png). This
appointment came up in the case overview (
https://s13.postimg.org/vd78aydiv/appointment_in_case_overview.png), but
isn't showing up in the Administration Panel (
https://s11.postimg.org/6hbmwxkoz/appointments_in_administration_panel.png).

Kind Regards,
Joost

PS
I just replaced the three files that were changed in this revision (the
time before that I changed the 7 files from revision 541). Do I have to
replace all the files or restart something?

On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Hi Joost,
>
> I am unable to replicate this after the update. Can you please try creating
> new appointments and see if they now show up?
>
> Kind Regards,
> Adam Zammit
>
> On 13 September 2016 at 07:08, Joost <<email address hidden>
> >
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > I replaced the files, but I'm still getting the same error... (the
> > appointments do not show up in the Administration Panel)
> >
> > Kind Regards,
> > Joost
> >
> > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > <email address hidden>>:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Hi Joost,
> > >
> > > Thanks for your persistence!
> > >
> > > Please try the files changed in the latest revision:
> > >
> > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542
> > >
> > > Adam
> > >
> > > On 9 September 2016 at 00:22, Joost <question375015@answers.
> > launchpad.net>
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > I still do not see appointments in the Administration Panel. I can
> make
> > > an
> > > > appointment in the user interface of the operator (
> > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in the
> > > > Administration Panel (
> > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png) and they
> > show
> > > up
> > > > in the case information (https://s11.postimg.org/
> > > > ru464rggz/appoint_case.png),
> > > > but they do not show up in the Administration Panel (
> > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > Hi Joost,
> > > > >
> > > > > Thanks for reporting this bug.
> > > > >
> > > > > I identified a few more issues - please replace the files that have
> > > been
> > > > > fixed in the following revision:
> > > > >
> > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541
> > > > >
> > > > > Let me know if you notice anything else.
> > > > >
> > > > > Adam
> > > > >
> > > > > On 7 September 2016 at 23:42, Joost <question375015@answers.
> > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > > > But I still cannot see the made appointments in the
> Administration
> > > > Panel.
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost van der Horst
> > > > > >
> > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Maybe I don't see the appointments because of a timezone error.
> > > > > > > In the default time shift settings I set the times in the local
> > > > > timezone
> > > > > > (
> > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the
> > user
> > > > > > > interface
> > > > > > > of the operators the time settings change to other times (
> > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess
> > because
> > > of
> > > > > > > another timezone setting? The "current time" however is in my
> own
> > > > > > timezone,
> > > > > > > leading to "no shifts available" and thus no cases for the
> > > operator.
> > > > > > >
> > > > > > > Funny thing is that when I keep the user interface open in my
> > > browser
> > > > > and
> > > > > > > login to the Administration Panel in another tab (causing the
> > > > operator
> > > > > to
> > > > > > > "log off"), the "current time" in the user interface of the
> > > operator
> > > > > > > changes to the wrong timezone....
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > I ran a few tests and the user interface works fine:
> operators
> > > can
> > > > > > call a
> > > > > > > > respondent / case, complete a survey, make an appointment or
> > > choose
> > > > > > > another
> > > > > > > > outcome.
> > > > > > > > When appointments are made, the operators see those
> > appointments
> > > in
> > > > > > their
> > > > > > > > display when the specific case is selected for them (
> > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These cases
> are
> > > > > selected
> > > > > > > for
> > > > > > > > the operators on the right time (the time slot in which they
> > > > planned
> > > > > an
> > > > > > > > appointment).
> > > > > > > >
> > > > > > > > The appointments however are not shown in the Administration
> > > Panel
> > > > (
> > > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but
> when I
> > > > > lookup
> > > > > > > the
> > > > > > > > specific case, I do see the appointment (
> > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the
> appointment
> > is
> > > > > also
> > > > > > > > shown
> > > > > > > > in the user interface of the operators, see the first
> > > screenshot).
> > > > > > > >
> > > > > > > > It doesn't bother me much, because everything seems to be
> > working
> > > > > fine
> > > > > > > and
> > > > > > > > I have taken a lot of your time already, but since you asked
> to
> > > > keep
> > > > > > you
> > > > > > > > informed about related issues: maybe this is one.
> > > > > > > >
> > > > > > > > Thanks again for all the help!
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > <email address hidden>> wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > Another related bug - please replace the file:
> > > > > > > > >
> > > > > > > > > admin/addshift.php
> > > > > > > > >
> > > > > > > > > with:
> > > > > > > > >
> > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/
> > > addshift.php
> > > > > > > > >
> > > > > > > > > Adam
> > > > > > > > >
> > > > > > > > > On 6 September 2016 at 23:52, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > PS
> > > > > > > > > > According to the manual the default shift times should
> show
> > > up
> > > > at
> > > > > > the
> > > > > > > > > shift
> > > > > > > > > > management panel (https://www.acspri.org.au/node/669). I
> > > have
> > > > > > > default
> > > > > > > > > > shift
> > > > > > > > > > times set (https://s14.postimg.org/a6un18k2p/default.png
> ),
> > > but
> > > > > > they
> > > > > > > do
> > > > > > > > > not
> > > > > > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > Hi Adam,
> > > > > > > > > > >
> > > > > > > > > > > I don't know if it is related but I cannot add shifts
> in
> > my
> > > > > > > timezone.
> > > > > > > > > > > I've made a survey in the queXS-integrated Limesurvey,
> > > > imported
> > > > > > and
> > > > > > > > > > added a
> > > > > > > > > > > sample to it, assigned an operator to it, but the
> > operator
> > > > gets
> > > > > > an
> > > > > > > > > error
> > > > > > > > > > > "no shifts available".
> > > > > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > > > > gzkkipdpn/shifts.png
> > > > > > > > .
> > > > > > > > > > Is
> > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > >
> > > > > > > > > > > > YAAAY! Thank you for the fix, it's working like a
> charm
> > > > now!
> > > > > :)
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Looks like the query isn't compatible with the SQL
> > mode
> > > > > that
> > > > > > is
> > > > > > > > set
> > > > > > > > > > in
> > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have made a fix - please replace the file
> > > admin/new.php
> > > > > > with
> > > > > > > > the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > >
> > > > > > > > > > > > > https://bazaar.launchpad.net/~
> adamzammit/quexs/main/
> > > > > > > > > > > > > download/adam.zammit%40acspri.
> org.au-20160905234404-
> > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > >
> > > > > > > > > > > > > Also please let me know if you find any related
> > issues
> > > -
> > > > I
> > > > > > > > haven't
> > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > If this answers your question, please go to the
> > > following
> > > > > > page
> > > > > > > to
> > > > > > > > > let
> > > > > > > > > > > us
> > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015/+
> > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you still need help, you can reply to this email
> > or
> > > go
> > > > > to
> > > > > > > the
> > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you are
> an
> > > > answer
> > > > > > > > > > contact for queXS.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Adam Zammit
> > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > Australian Consortium for Social and Political Research
> Inc.
> > > > > > > > > +61 3 9013 9653
> > > > > > > > > http://www.acspri.org.au/
> > > > > > > > >
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #21

The important file to replace is admin/displayappointments.php from here:

https://bazaar.launchpad.net/~adamzammit/quexs/main/download/head:/5%40fd4a0071-7450-0410-a91b-842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/displayappointments.php

If appointments still are not showing up - please confirm that you have
assigned the logged in user a valid timezone (edit the user settings to
check).

Otherwise if you could please attempt to run the SQL query directly by
adding the following line to displayappointments.php:

die($sql);

after line 310 which says:

$rs = $db->GetAll($sql);

And then checking for appointments again - the web page will have the SQL
code printed instead and you can test it to see if an error is produced.

Thanks again for your patience with this testing.

Adam

On 13 September 2016 at 21:22, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> I've created a new appointment with the operator 'Ake' (
> https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png). This
> appointment came up in the case overview (
> https://s13.postimg.org/vd78aydiv/appointment_in_case_overview.png), but
> isn't showing up in the Administration Panel (
> https://s11.postimg.org/6hbmwxkoz/appointments_in_administration_panel.png
> ).
>
> Kind Regards,
> Joost
>
> PS
> I just replaced the three files that were changed in this revision (the
> time before that I changed the 7 files from revision 541). Do I have to
> replace all the files or restart something?
>
> On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Hi Joost,
> >
> > I am unable to replicate this after the update. Can you please try
> creating
> > new appointments and see if they now show up?
> >
> > Kind Regards,
> > Adam Zammit
> >
> > On 13 September 2016 at 07:08, Joost <question375015@answers.
> launchpad.net
> > >
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > I replaced the files, but I'm still getting the same error... (the
> > > appointments do not show up in the Administration Panel)
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > <email address hidden>>:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > Hi Joost,
> > > >
> > > > Thanks for your persistence!
> > > >
> > > > Please try the files changed in the latest revision:
> > > >
> > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542
> > > >
> > > > Adam
> > > >
> > > > On 9 September 2016 at 00:22, Joost <question375015@answers.
> > > launchpad.net>
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > I still do not see appointments in the Administration Panel. I can
> > make
> > > > an
> > > > > appointment in the user interface of the operator (
> > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in the
> > > > > Administration Panel (
> > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png) and they
> > > show
> > > > up
> > > > > in the case information (https://s11.postimg.org/
> > > > > ru464rggz/appoint_case.png),
> > > > > but they do not show up in the Administration Panel (
> > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > <email address hidden>> wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > Hi Joost,
> > > > > >
> > > > > > Thanks for reporting this bug.
> > > > > >
> > > > > > I identified a few more issues - please replace the files that
> have
> > > > been
> > > > > > fixed in the following revision:
> > > > > >
> > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/541
> > > > > >
> > > > > > Let me know if you notice anything else.
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > On 7 September 2016 at 23:42, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > > > > But I still cannot see the made appointments in the
> > Administration
> > > > > Panel.
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost van der Horst
> > > > > > >
> > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Maybe I don't see the appointments because of a timezone
> error.
> > > > > > > > In the default time shift settings I set the times in the
> local
> > > > > > timezone
> > > > > > > (
> > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in the
> > > user
> > > > > > > > interface
> > > > > > > > of the operators the time settings change to other times (
> > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess
> > > because
> > > > of
> > > > > > > > another timezone setting? The "current time" however is in my
> > own
> > > > > > > timezone,
> > > > > > > > leading to "no shifts available" and thus no cases for the
> > > > operator.
> > > > > > > >
> > > > > > > > Funny thing is that when I keep the user interface open in my
> > > > browser
> > > > > > and
> > > > > > > > login to the Administration Panel in another tab (causing the
> > > > > operator
> > > > > > to
> > > > > > > > "log off"), the "current time" in the user interface of the
> > > > operator
> > > > > > > > changes to the wrong timezone....
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > I ran a few tests and the user interface works fine:
> > operators
> > > > can
> > > > > > > call a
> > > > > > > > > respondent / case, complete a survey, make an appointment
> or
> > > > choose
> > > > > > > > another
> > > > > > > > > outcome.
> > > > > > > > > When appointments are made, the operators see those
> > > appointments
> > > > in
> > > > > > > their
> > > > > > > > > display when the specific case is selected for them (
> > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These cases
> > are
> > > > > > selected
> > > > > > > > for
> > > > > > > > > the operators on the right time (the time slot in which
> they
> > > > > planned
> > > > > > an
> > > > > > > > > appointment).
> > > > > > > > >
> > > > > > > > > The appointments however are not shown in the
> Administration
> > > > Panel
> > > > > (
> > > > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but
> > when I
> > > > > > lookup
> > > > > > > > the
> > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the
> > appointment
> > > is
> > > > > > also
> > > > > > > > > shown
> > > > > > > > > in the user interface of the operators, see the first
> > > > screenshot).
> > > > > > > > >
> > > > > > > > > It doesn't bother me much, because everything seems to be
> > > working
> > > > > > fine
> > > > > > > > and
> > > > > > > > > I have taken a lot of your time already, but since you
> asked
> > to
> > > > > keep
> > > > > > > you
> > > > > > > > > informed about related issues: maybe this is one.
> > > > > > > > >
> > > > > > > > > Thanks again for all the help!
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > <email address hidden>> wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > Another related bug - please replace the file:
> > > > > > > > > >
> > > > > > > > > > admin/addshift.php
> > > > > > > > > >
> > > > > > > > > > with:
> > > > > > > > > >
> > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/
> > > > addshift.php
> > > > > > > > > >
> > > > > > > > > > Adam
> > > > > > > > > >
> > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > PS
> > > > > > > > > > > According to the manual the default shift times should
> > show
> > > > up
> > > > > at
> > > > > > > the
> > > > > > > > > > shift
> > > > > > > > > > > management panel (https://www.acspri.org.au/node/669).
> I
> > > > have
> > > > > > > > default
> > > > > > > > > > > shift
> > > > > > > > > > > times set (https://s14.postimg.org/
> a6un18k2p/default.png
> > ),
> > > > but
> > > > > > > they
> > > > > > > > do
> > > > > > > > > > not
> > > > > > > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png).
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > >
> > > > > > > > > > > > I don't know if it is related but I cannot add shifts
> > in
> > > my
> > > > > > > > timezone.
> > > > > > > > > > > > I've made a survey in the queXS-integrated
> Limesurvey,
> > > > > imported
> > > > > > > and
> > > > > > > > > > > added a
> > > > > > > > > > > > sample to it, assigned an operator to it, but the
> > > operator
> > > > > gets
> > > > > > > an
> > > > > > > > > > error
> > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > .
> > > > > > > > > > > Is
> > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > >
> > > > > > > > > > > > > YAAAY! Thank you for the fix, it's working like a
> > charm
> > > > > now!
> > > > > > :)
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Looks like the query isn't compatible with the
> SQL
> > > mode
> > > > > > that
> > > > > > > is
> > > > > > > > > set
> > > > > > > > > > > in
> > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I have made a fix - please replace the file
> > > > admin/new.php
> > > > > > > with
> > > > > > > > > the
> > > > > > > > > > > > > > following:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > adamzammit/quexs/main/
> > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > org.au-20160905234404-
> > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Also please let me know if you find any related
> > > issues
> > > > -
> > > > > I
> > > > > > > > > haven't
> > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > If this answers your question, please go to the
> > > > following
> > > > > > > page
> > > > > > > > to
> > > > > > > > > > let
> > > > > > > > > > > > us
> > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015/+
> > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you still need help, you can reply to this
> email
> > > or
> > > > go
> > > > > > to
> > > > > > > > the
> > > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you are
> > an
> > > > > answer
> > > > > > > > > > > contact for queXS.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Adam Zammit
> > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > Australian Consortium for Social and Political Research
> > Inc.
> > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > >
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #22

Hi Adam,

I replaced admin/displayappointments.php and confirmed that the logged in
user has a valid timezone, but the appointments still do not show up.
Adding "die($sql);" after line 310 results in:
https://s12.postimg.org/5vekydch9/mysql_die.png .

In the administration panel admin/displayappointments.php shows "no future
appointments". I looked that part up in the code and I think that line is
showing when the query turns out to be empty? ("if (!empty($rs))" a
xhtml_table function is called and "else print "[...] No future
appointments")

I compared admin/supervisor.php (which is working) and
admin/displayappointments.php and found out that somewhere in the code
there is a part that seem to be alike, but is different in one of the
lines. In supervisor.php there is "MIN(CONCAT" while in
displayappointments.php there is only "CONCAT" (see:
https://s15.postimg.org/w6cftv0uz/supervisor_versus_displayappointments.png).
Could this be (part of) the problem? I'm certainly no programmer, my
knowledge of coding is not very strong, so I'm not sure what to do next.

Kind regards,
Joost

On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> The important file to replace is admin/displayappointments.php from
> here:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/
> download/head:/5%40fd4a0071-7450-0410
> -a91b-
> 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> displayappointments.php
>
> If appointments still are not showing up - please confirm that you have
> assigned the logged in user a valid timezone (edit the user settings to
> check).
>
> Otherwise if you could please attempt to run the SQL query directly by
> adding the following line to displayappointments.php:
>
> die($sql);
>
> after line 310 which says:
>
> $rs = $db->GetAll($sql);
>
> And then checking for appointments again - the web page will have the SQL
> code printed instead and you can test it to see if an error is produced.
>
> Thanks again for your patience with this testing.
>
> Adam
>
> On 13 September 2016 at 21:22, Joost <<email address hidden>
> >
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > I've created a new appointment with the operator 'Ake' (
> > https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png). This
> > appointment came up in the case overview (
> > https://s13.postimg.org/vd78aydiv/appointment_in_case_overview.png), but
> > isn't showing up in the Administration Panel (
> > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> administration_panel.png
> > ).
> >
> > Kind Regards,
> > Joost
> >
> > PS
> > I just replaced the three files that were changed in this revision (the
> > time before that I changed the 7 files from revision 541). Do I have to
> > replace all the files or restart something?
> >
> > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Hi Joost,
> > >
> > > I am unable to replicate this after the update. Can you please try
> > creating
> > > new appointments and see if they now show up?
> > >
> > > Kind Regards,
> > > Adam Zammit
> > >
> > > On 13 September 2016 at 07:08, Joost <question375015@answers.
> > launchpad.net
> > > >
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > I replaced the files, but I'm still getting the same error... (the
> > > > appointments do not show up in the Administration Panel)
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > <email address hidden>>:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > Hi Joost,
> > > > >
> > > > > Thanks for your persistence!
> > > > >
> > > > > Please try the files changed in the latest revision:
> > > > >
> > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542
> > > > >
> > > > > Adam
> > > > >
> > > > > On 9 September 2016 at 00:22, Joost <question375015@answers.
> > > > launchpad.net>
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > I still do not see appointments in the Administration Panel. I
> can
> > > make
> > > > > an
> > > > > > appointment in the user interface of the operator (
> > > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in
> the
> > > > > > Administration Panel (
> > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png) and
> they
> > > > show
> > > > > up
> > > > > > in the case information (https://s11.postimg.org/
> > > > > > ru464rggz/appoint_case.png),
> > > > > > but they do not show up in the Administration Panel (
> > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > <email address hidden>> wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Adam Zammit posted a new comment:
> > > > > > > Hi Joost,
> > > > > > >
> > > > > > > Thanks for reporting this bug.
> > > > > > >
> > > > > > > I identified a few more issues - please replace the files that
> > have
> > > > > been
> > > > > > > fixed in the following revision:
> > > > > > >
> > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> revision/541
> > > > > > >
> > > > > > > Let me know if you notice anything else.
> > > > > > >
> > > > > > > Adam
> > > > > > >
> > > > > > > On 7 September 2016 at 23:42, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > > > > > But I still cannot see the made appointments in the
> > > Administration
> > > > > > Panel.
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost van der Horst
> > > > > > > >
> > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Maybe I don't see the appointments because of a timezone
> > error.
> > > > > > > > > In the default time shift settings I set the times in the
> > local
> > > > > > > timezone
> > > > > > > > (
> > > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in
> the
> > > > user
> > > > > > > > > interface
> > > > > > > > > of the operators the time settings change to other times (
> > > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I guess
> > > > because
> > > > > of
> > > > > > > > > another timezone setting? The "current time" however is in
> my
> > > own
> > > > > > > > timezone,
> > > > > > > > > leading to "no shifts available" and thus no cases for the
> > > > > operator.
> > > > > > > > >
> > > > > > > > > Funny thing is that when I keep the user interface open in
> my
> > > > > browser
> > > > > > > and
> > > > > > > > > login to the Administration Panel in another tab (causing
> the
> > > > > > operator
> > > > > > > to
> > > > > > > > > "log off"), the "current time" in the user interface of the
> > > > > operator
> > > > > > > > > changes to the wrong timezone....
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > I ran a few tests and the user interface works fine:
> > > operators
> > > > > can
> > > > > > > > call a
> > > > > > > > > > respondent / case, complete a survey, make an appointment
> > or
> > > > > choose
> > > > > > > > > another
> > > > > > > > > > outcome.
> > > > > > > > > > When appointments are made, the operators see those
> > > > appointments
> > > > > in
> > > > > > > > their
> > > > > > > > > > display when the specific case is selected for them (
> > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These
> cases
> > > are
> > > > > > > selected
> > > > > > > > > for
> > > > > > > > > > the operators on the right time (the time slot in which
> > they
> > > > > > planned
> > > > > > > an
> > > > > > > > > > appointment).
> > > > > > > > > >
> > > > > > > > > > The appointments however are not shown in the
> > Administration
> > > > > Panel
> > > > > > (
> > > > > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png), but
> > > when I
> > > > > > > lookup
> > > > > > > > > the
> > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the
> > > appointment
> > > > is
> > > > > > > also
> > > > > > > > > > shown
> > > > > > > > > > in the user interface of the operators, see the first
> > > > > screenshot).
> > > > > > > > > >
> > > > > > > > > > It doesn't bother me much, because everything seems to be
> > > > working
> > > > > > > fine
> > > > > > > > > and
> > > > > > > > > > I have taken a lot of your time already, but since you
> > asked
> > > to
> > > > > > keep
> > > > > > > > you
> > > > > > > > > > informed about related issues: maybe this is one.
> > > > > > > > > >
> > > > > > > > > > Thanks again for all the help!
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > Another related bug - please replace the file:
> > > > > > > > > > >
> > > > > > > > > > > admin/addshift.php
> > > > > > > > > > >
> > > > > > > > > > > with:
> > > > > > > > > > >
> > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/
> > > > > addshift.php
> > > > > > > > > > >
> > > > > > > > > > > Adam
> > > > > > > > > > >
> > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > PS
> > > > > > > > > > > > According to the manual the default shift times
> should
> > > show
> > > > > up
> > > > > > at
> > > > > > > > the
> > > > > > > > > > > shift
> > > > > > > > > > > > management panel (https://www.acspri.org.au/node/669
> ).
> > I
> > > > > have
> > > > > > > > > default
> > > > > > > > > > > > shift
> > > > > > > > > > > > times set (https://s14.postimg.org/
> > a6un18k2p/default.png
> > > ),
> > > > > but
> > > > > > > > they
> > > > > > > > > do
> > > > > > > > > > > not
> > > > > > > > > > > > show up (https://s15.postimg.io/gzkkipdpn/shifts.png
> ).
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I don't know if it is related but I cannot add
> shifts
> > > in
> > > > my
> > > > > > > > > timezone.
> > > > > > > > > > > > > I've made a survey in the queXS-integrated
> > Limesurvey,
> > > > > > imported
> > > > > > > > and
> > > > > > > > > > > > added a
> > > > > > > > > > > > > sample to it, assigned an operator to it, but the
> > > > operator
> > > > > > gets
> > > > > > > > an
> > > > > > > > > > > error
> > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > .
> > > > > > > > > > > > Is
> > > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's working like a
> > > charm
> > > > > > now!
> > > > > > > :)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Looks like the query isn't compatible with the
> > SQL
> > > > mode
> > > > > > > that
> > > > > > > > is
> > > > > > > > > > set
> > > > > > > > > > > > in
> > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I have made a fix - please replace the file
> > > > > admin/new.php
> > > > > > > > with
> > > > > > > > > > the
> > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > org.au-20160905234404-
> > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Also please let me know if you find any related
> > > > issues
> > > > > -
> > > > > > I
> > > > > > > > > > haven't
> > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > If this answers your question, please go to the
> > > > > following
> > > > > > > > page
> > > > > > > > > to
> > > > > > > > > > > let
> > > > > > > > > > > > > us
> > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015/+
> > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you still need help, you can reply to this
> > email
> > > > or
> > > > > go
> > > > > > > to
> > > > > > > > > the
> > > > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> are
> > > an
> > > > > > answer
> > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Adam Zammit
> > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > Australian Consortium for Social and Political Research
> > > Inc.
> > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > >
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you are an
> > answer
> > > > > > > > contact for queXS.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Adam Zammit
> > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > +61 3 9013 9653
> > > > > > > http://www.acspri.org.au/
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #23

Hi again Joost,

Can you please try the following SQL queries directly against the database
and see if any errors are reported?

Query 1:

SELECT MIN(q.description) as description, MIN(si.description) as smpl,
MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName) as
makerName, MIN(ooo.firstName) as callerName,
CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>', c.case_id,
'</a>') as case_id,
MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg text-danger\'
toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\' data-placement=\'left\'
data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id, '&amp;appointment_id=',
a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
witho
FROM appointment as a
JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
call_attempt as cc, operator as co, `sample` as s, sample_import as si) on
(c.sample_id = s.sample_id and a.case_id = c.case_id and a.respondent_id =
r.respondent_id and q.questionnaire_id = c.questionnaire_id and
a.call_attempt_id = cc.call_attempt_id and cc.operator_id = oo.operator_id
and si.sample_import_id = s.import_id)
LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON (ca.call_id =
a.completed_call_id and ou.outcome_id = ca.outcome_id and ca.operator_id =
ooo.operator_id)
LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
CONVERT_TZ(NOW(),'System','UTC')
AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
AND co.operator_id = '1'
GROUP BY c.case_id ORDER BY a.start ASC

Query 2:

SELECT MIN(q.description) as description, MIN(si.description) as smpl,
MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName) as
makerName, MIN(ooo.firstName) as callerName,
MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
c.case_id, '</a>')) as case_id,
MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg text-danger\'
toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\' data-placement=\'left\'
data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id, '&amp;appointment_id=',
a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
witho
FROM appointment as a
JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
call_attempt as cc, operator as co, `sample` as s, sample_import as si) on
(c.sample_id = s.sample_id and a.case_id = c.case_id and a.respondent_id =
r.respondent_id and q.questionnaire_id = c.questionnaire_id and
a.call_attempt_id = cc.call_attempt_id and cc.operator_id = oo.operator_id
and si.sample_import_id = s.import_id)
LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON (ca.call_id =
a.completed_call_id and ou.outcome_id = ca.outcome_id and ca.operator_id =
ooo.operator_id)
LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
CONVERT_TZ(NOW(),'System','UTC')
AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
AND co.operator_id = '1'
GROUP BY c.case_id ORDER BY a.start ASC

Thank you again for your assistance.

Adam

On 14 September 2016 at 21:37, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> I replaced admin/displayappointments.php and confirmed that the logged in
> user has a valid timezone, but the appointments still do not show up.
> Adding "die($sql);" after line 310 results in:
> https://s12.postimg.org/5vekydch9/mysql_die.png .
>
> In the administration panel admin/displayappointments.php shows "no future
> appointments". I looked that part up in the code and I think that line is
> showing when the query turns out to be empty? ("if (!empty($rs))" a
> xhtml_table function is called and "else print "[...] No future
> appointments")
>
> I compared admin/supervisor.php (which is working) and
> admin/displayappointments.php and found out that somewhere in the code
> there is a part that seem to be alike, but is different in one of the
> lines. In supervisor.php there is "MIN(CONCAT" while in
> displayappointments.php there is only "CONCAT" (see:
> https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> displayappointments.png).
> Could this be (part of) the problem? I'm certainly no programmer, my
> knowledge of coding is not very strong, so I'm not sure what to do next.
>
> Kind regards,
> Joost
>
> On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > The important file to replace is admin/displayappointments.php from
> > here:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > download/head:/5%40fd4a0071-7450-0410
> > -a91b-
> > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > displayappointments.php
> >
> > If appointments still are not showing up - please confirm that you have
> > assigned the logged in user a valid timezone (edit the user settings to
> > check).
> >
> > Otherwise if you could please attempt to run the SQL query directly by
> > adding the following line to displayappointments.php:
> >
> > die($sql);
> >
> > after line 310 which says:
> >
> > $rs = $db->GetAll($sql);
> >
> > And then checking for appointments again - the web page will have the SQL
> > code printed instead and you can test it to see if an error is produced.
> >
> > Thanks again for your patience with this testing.
> >
> > Adam
> >
> > On 13 September 2016 at 21:22, Joost <question375015@answers.
> launchpad.net
> > >
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > I've created a new appointment with the operator 'Ake' (
> > > https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png). This
> > > appointment came up in the case overview (
> > > https://s13.postimg.org/vd78aydiv/appointment_in_case_overview.png),
> but
> > > isn't showing up in the Administration Panel (
> > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > administration_panel.png
> > > ).
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > PS
> > > I just replaced the three files that were changed in this revision (the
> > > time before that I changed the 7 files from revision 541). Do I have to
> > > replace all the files or restart something?
> > >
> > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > Hi Joost,
> > > >
> > > > I am unable to replicate this after the update. Can you please try
> > > creating
> > > > new appointments and see if they now show up?
> > > >
> > > > Kind Regards,
> > > > Adam Zammit
> > > >
> > > > On 13 September 2016 at 07:08, Joost <question375015@answers.
> > > launchpad.net
> > > > >
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Hi Adam,
> > > > >
> > > > > I replaced the files, but I'm still getting the same error... (the
> > > > > appointments do not show up in the Administration Panel)
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > <email address hidden>>:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > Hi Joost,
> > > > > >
> > > > > > Thanks for your persistence!
> > > > > >
> > > > > > Please try the files changed in the latest revision:
> > > > > >
> > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/revision/542
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > On 9 September 2016 at 00:22, Joost <question375015@answers.
> > > > > launchpad.net>
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > I still do not see appointments in the Administration Panel. I
> > can
> > > > make
> > > > > > an
> > > > > > > appointment in the user interface of the operator (
> > > > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or in
> > the
> > > > > > > Administration Panel (
> > > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png) and
> > they
> > > > > show
> > > > > > up
> > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > ru464rggz/appoint_case.png),
> > > > > > > but they do not show up in the Administration Panel (
> > > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > <email address hidden>> wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > Hi Joost,
> > > > > > > >
> > > > > > > > Thanks for reporting this bug.
> > > > > > > >
> > > > > > > > I identified a few more issues - please replace the files
> that
> > > have
> > > > > > been
> > > > > > > > fixed in the following revision:
> > > > > > > >
> > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > revision/541
> > > > > > > >
> > > > > > > > Let me know if you notice anything else.
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > > On 7 September 2016 at 23:42, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > > > > > > But I still cannot see the made appointments in the
> > > > Administration
> > > > > > > Panel.
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost van der Horst
> > > > > > > > >
> > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > Maybe I don't see the appointments because of a timezone
> > > error.
> > > > > > > > > > In the default time shift settings I set the times in the
> > > local
> > > > > > > > timezone
> > > > > > > > > (
> > > > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but in
> > the
> > > > > user
> > > > > > > > > > interface
> > > > > > > > > > of the operators the time settings change to other times
> (
> > > > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I
> guess
> > > > > because
> > > > > > of
> > > > > > > > > > another timezone setting? The "current time" however is
> in
> > my
> > > > own
> > > > > > > > > timezone,
> > > > > > > > > > leading to "no shifts available" and thus no cases for
> the
> > > > > > operator.
> > > > > > > > > >
> > > > > > > > > > Funny thing is that when I keep the user interface open
> in
> > my
> > > > > > browser
> > > > > > > > and
> > > > > > > > > > login to the Administration Panel in another tab (causing
> > the
> > > > > > > operator
> > > > > > > > to
> > > > > > > > > > "log off"), the "current time" in the user interface of
> the
> > > > > > operator
> > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > I ran a few tests and the user interface works fine:
> > > > operators
> > > > > > can
> > > > > > > > > call a
> > > > > > > > > > > respondent / case, complete a survey, make an
> appointment
> > > or
> > > > > > choose
> > > > > > > > > > another
> > > > > > > > > > > outcome.
> > > > > > > > > > > When appointments are made, the operators see those
> > > > > appointments
> > > > > > in
> > > > > > > > > their
> > > > > > > > > > > display when the specific case is selected for them (
> > > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These
> > cases
> > > > are
> > > > > > > > selected
> > > > > > > > > > for
> > > > > > > > > > > the operators on the right time (the time slot in which
> > > they
> > > > > > > planned
> > > > > > > > an
> > > > > > > > > > > appointment).
> > > > > > > > > > >
> > > > > > > > > > > The appointments however are not shown in the
> > > Administration
> > > > > > Panel
> > > > > > > (
> > > > > > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png),
> but
> > > > when I
> > > > > > > > lookup
> > > > > > > > > > the
> > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the
> > > > appointment
> > > > > is
> > > > > > > > also
> > > > > > > > > > > shown
> > > > > > > > > > > in the user interface of the operators, see the first
> > > > > > screenshot).
> > > > > > > > > > >
> > > > > > > > > > > It doesn't bother me much, because everything seems to
> be
> > > > > working
> > > > > > > > fine
> > > > > > > > > > and
> > > > > > > > > > > I have taken a lot of your time already, but since you
> > > asked
> > > > to
> > > > > > > keep
> > > > > > > > > you
> > > > > > > > > > > informed about related issues: maybe this is one.
> > > > > > > > > > >
> > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > Another related bug - please replace the file:
> > > > > > > > > > > >
> > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > >
> > > > > > > > > > > > with:
> > > > > > > > > > > >
> > > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > > > download/adam.zammit%40acspri.org.au-20160907013554-
> > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > -a91b-842f6942ebe7:trunk%252Fadmin%252Faddshift.php/
> > > > > > addshift.php
> > > > > > > > > > > >
> > > > > > > > > > > > Adam
> > > > > > > > > > > >
> > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > PS
> > > > > > > > > > > > > According to the manual the default shift times
> > should
> > > > show
> > > > > > up
> > > > > > > at
> > > > > > > > > the
> > > > > > > > > > > > shift
> > > > > > > > > > > > > management panel (https://www.acspri.org.au/
> node/669
> > ).
> > > I
> > > > > > have
> > > > > > > > > > default
> > > > > > > > > > > > > shift
> > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > a6un18k2p/default.png
> > > > ),
> > > > > > but
> > > > > > > > > they
> > > > > > > > > > do
> > > > > > > > > > > > not
> > > > > > > > > > > > > show up (https://s15.postimg.io/
> gzkkipdpn/shifts.png
> > ).
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I don't know if it is related but I cannot add
> > shifts
> > > > in
> > > > > my
> > > > > > > > > > timezone.
> > > > > > > > > > > > > > I've made a survey in the queXS-integrated
> > > Limesurvey,
> > > > > > > imported
> > > > > > > > > and
> > > > > > > > > > > > > added a
> > > > > > > > > > > > > > sample to it, assigned an operator to it, but the
> > > > > operator
> > > > > > > gets
> > > > > > > > > an
> > > > > > > > > > > > error
> > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > I've made a screenshot: https://s15.postimg.org/
> > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > .
> > > > > > > > > > > > > Is
> > > > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > <question375015@answers.
> > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's working
> like a
> > > > charm
> > > > > > > now!
> > > > > > > > :)
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Looks like the query isn't compatible with
> the
> > > SQL
> > > > > mode
> > > > > > > > that
> > > > > > > > > is
> > > > > > > > > > > set
> > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I have made a fix - please replace the file
> > > > > > admin/new.php
> > > > > > > > > with
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Also please let me know if you find any
> related
> > > > > issues
> > > > > > -
> > > > > > > I
> > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > If this answers your question, please go to
> the
> > > > > > following
> > > > > > > > > page
> > > > > > > > > > to
> > > > > > > > > > > > let
> > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you still need help, you can reply to this
> > > email
> > > > > or
> > > > > > go
> > > > > > > > to
> > > > > > > > > > the
> > > > > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > are
> > > > an
> > > > > > > answer
> > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > > Australian Consortium for Social and Political
> Research
> > > > Inc.
> > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > >
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you are an
> > > answer
> > > > > > > > > contact for queXS.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Adam Zammit
> > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > > +61 3 9013 9653
> > > > > > > > http://www.acspri.org.au/
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #24

Hi Adam,

I get two similar errors:

1:
ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
clause and contains nonaggregated column 'quexs.a.start' which is not
functionally dependent on columns in GROUP BY clause; this is incompatible
with sql_mode=only_full_group_by

2:
ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
clause and contains nonaggregated column 'quexs.a.start' which is not
functionally dependent on columns in GROUP BY clause; this is incompatible
with sql_mode=only_full_group_by

Kind Regards,
Joost

On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Hi again Joost,
>
> Can you please try the following SQL queries directly against the database
> and see if any errors are reported?
>
> Query 1:
>
> SELECT MIN(q.description) as description, MIN(si.description) as smpl,
> MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName) as
> makerName, MIN(ooo.firstName) as callerName,
> CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>', c.case_id,
> '</a>') as case_id,
> MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg text-danger\'
> toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\' data-placement=\'left\'
> data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
> witho
> FROM appointment as a
> JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
> call_attempt as cc, operator as co, `sample` as s, sample_import as si) on
> (c.sample_id = s.sample_id and a.case_id = c.case_id and a.respondent_id =
> r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> a.call_attempt_id = cc.call_attempt_id and cc.operator_id = oo.operator_id
> and si.sample_import_id = s.import_id)
> LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON (ca.call_id =
> a.completed_call_id and ou.outcome_id = ca.outcome_id and ca.operator_id =
> ooo.operator_id)
> LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
> WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> CONVERT_TZ(NOW(),'System','UTC')
> AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> AND co.operator_id = '1'
> GROUP BY c.case_id ORDER BY a.start ASC
>
>
> Query 2:
>
> SELECT MIN(q.description) as description, MIN(si.description) as smpl,
> MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName) as
> makerName, MIN(ooo.firstName) as callerName,
> MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> c.case_id, '</a>')) as case_id,
> MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg text-danger\'
> toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\' data-placement=\'left\'
> data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
> witho
> FROM appointment as a
> JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
> call_attempt as cc, operator as co, `sample` as s, sample_import as si) on
> (c.sample_id = s.sample_id and a.case_id = c.case_id and a.respondent_id =
> r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> a.call_attempt_id = cc.call_attempt_id and cc.operator_id = oo.operator_id
> and si.sample_import_id = s.import_id)
> LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON (ca.call_id =
> a.completed_call_id and ou.outcome_id = ca.outcome_id and ca.operator_id =
> ooo.operator_id)
> LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
> WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> CONVERT_TZ(NOW(),'System','UTC')
> AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> AND co.operator_id = '1'
> GROUP BY c.case_id ORDER BY a.start ASC
>
>
> Thank you again for your assistance.
>
> Adam
>
>
> On 14 September 2016 at 21:37, Joost <<email address hidden>
> >
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > I replaced admin/displayappointments.php and confirmed that the logged in
> > user has a valid timezone, but the appointments still do not show up.
> > Adding "die($sql);" after line 310 results in:
> > https://s12.postimg.org/5vekydch9/mysql_die.png .
> >
> > In the administration panel admin/displayappointments.php shows "no
> future
> > appointments". I looked that part up in the code and I think that line is
> > showing when the query turns out to be empty? ("if (!empty($rs))" a
> > xhtml_table function is called and "else print "[...] No future
> > appointments")
> >
> > I compared admin/supervisor.php (which is working) and
> > admin/displayappointments.php and found out that somewhere in the code
> > there is a part that seem to be alike, but is different in one of the
> > lines. In supervisor.php there is "MIN(CONCAT" while in
> > displayappointments.php there is only "CONCAT" (see:
> > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > displayappointments.png).
> > Could this be (part of) the problem? I'm certainly no programmer, my
> > knowledge of coding is not very strong, so I'm not sure what to do next.
> >
> > Kind regards,
> > Joost
> >
> > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > The important file to replace is admin/displayappointments.php from
> > > here:
> > >
> > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > download/head:/5%40fd4a0071-7450-0410
> > > -a91b-
> > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > displayappointments.php
> > >
> > > If appointments still are not showing up - please confirm that you have
> > > assigned the logged in user a valid timezone (edit the user settings to
> > > check).
> > >
> > > Otherwise if you could please attempt to run the SQL query directly by
> > > adding the following line to displayappointments.php:
> > >
> > > die($sql);
> > >
> > > after line 310 which says:
> > >
> > > $rs = $db->GetAll($sql);
> > >
> > > And then checking for appointments again - the web page will have the
> SQL
> > > code printed instead and you can test it to see if an error is
> produced.
> > >
> > > Thanks again for your patience with this testing.
> > >
> > > Adam
> > >
> > > On 13 September 2016 at 21:22, Joost <question375015@answers.
> > launchpad.net
> > > >
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > I've created a new appointment with the operator 'Ake' (
> > > > https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png). This
> > > > appointment came up in the case overview (
> > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_overview.png),
> > but
> > > > isn't showing up in the Administration Panel (
> > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > administration_panel.png
> > > > ).
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > PS
> > > > I just replaced the three files that were changed in this revision
> (the
> > > > time before that I changed the 7 files from revision 541). Do I have
> to
> > > > replace all the files or restart something?
> > > >
> > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > Hi Joost,
> > > > >
> > > > > I am unable to replicate this after the update. Can you please try
> > > > creating
> > > > > new appointments and see if they now show up?
> > > > >
> > > > > Kind Regards,
> > > > > Adam Zammit
> > > > >
> > > > > On 13 September 2016 at 07:08, Joost <question375015@answers.
> > > > launchpad.net
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Hi Adam,
> > > > > >
> > > > > > I replaced the files, but I'm still getting the same error...
> (the
> > > > > > appointments do not show up in the Administration Panel)
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > <email address hidden>>:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Adam Zammit posted a new comment:
> > > > > > > Hi Joost,
> > > > > > >
> > > > > > > Thanks for your persistence!
> > > > > > >
> > > > > > > Please try the files changed in the latest revision:
> > > > > > >
> > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> revision/542
> > > > > > >
> > > > > > > Adam
> > > > > > >
> > > > > > > On 9 September 2016 at 00:22, Joost <question375015@answers.
> > > > > > launchpad.net>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > I still do not see appointments in the Administration Panel.
> I
> > > can
> > > > > make
> > > > > > > an
> > > > > > > > appointment in the user interface of the operator (
> > > > > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or
> in
> > > the
> > > > > > > > Administration Panel (
> > > > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png)
> and
> > > they
> > > > > > show
> > > > > > > up
> > > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > but they do not show up in the Administration Panel (
> > > > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > <email address hidden>> wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > Hi Joost,
> > > > > > > > >
> > > > > > > > > Thanks for reporting this bug.
> > > > > > > > >
> > > > > > > > > I identified a few more issues - please replace the files
> > that
> > > > have
> > > > > > > been
> > > > > > > > > fixed in the following revision:
> > > > > > > > >
> > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > revision/541
> > > > > > > > >
> > > > > > > > > Let me know if you notice anything else.
> > > > > > > > >
> > > > > > > > > Adam
> > > > > > > > >
> > > > > > > > > On 7 September 2016 at 23:42, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > Nevermind my last e-mail. The timezone problem is solved.
> > > > > > > > > > But I still cannot see the made appointments in the
> > > > > Administration
> > > > > > > > Panel.
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost van der Horst
> > > > > > > > > >
> > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > Maybe I don't see the appointments because of a
> timezone
> > > > error.
> > > > > > > > > > > In the default time shift settings I set the times in
> the
> > > > local
> > > > > > > > > timezone
> > > > > > > > > > (
> > > > > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png), but
> in
> > > the
> > > > > > user
> > > > > > > > > > > interface
> > > > > > > > > > > of the operators the time settings change to other
> times
> > (
> > > > > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I
> > guess
> > > > > > because
> > > > > > > of
> > > > > > > > > > > another timezone setting? The "current time" however is
> > in
> > > my
> > > > > own
> > > > > > > > > > timezone,
> > > > > > > > > > > leading to "no shifts available" and thus no cases for
> > the
> > > > > > > operator.
> > > > > > > > > > >
> > > > > > > > > > > Funny thing is that when I keep the user interface open
> > in
> > > my
> > > > > > > browser
> > > > > > > > > and
> > > > > > > > > > > login to the Administration Panel in another tab
> (causing
> > > the
> > > > > > > > operator
> > > > > > > > > to
> > > > > > > > > > > "log off"), the "current time" in the user interface of
> > the
> > > > > > > operator
> > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > I ran a few tests and the user interface works fine:
> > > > > operators
> > > > > > > can
> > > > > > > > > > call a
> > > > > > > > > > > > respondent / case, complete a survey, make an
> > appointment
> > > > or
> > > > > > > choose
> > > > > > > > > > > another
> > > > > > > > > > > > outcome.
> > > > > > > > > > > > When appointments are made, the operators see those
> > > > > > appointments
> > > > > > > in
> > > > > > > > > > their
> > > > > > > > > > > > display when the specific case is selected for them (
> > > > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png). These
> > > cases
> > > > > are
> > > > > > > > > selected
> > > > > > > > > > > for
> > > > > > > > > > > > the operators on the right time (the time slot in
> which
> > > > they
> > > > > > > > planned
> > > > > > > > > an
> > > > > > > > > > > > appointment).
> > > > > > > > > > > >
> > > > > > > > > > > > The appointments however are not shown in the
> > > > Administration
> > > > > > > Panel
> > > > > > > > (
> > > > > > > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png),
> > but
> > > > > when I
> > > > > > > > > lookup
> > > > > > > > > > > the
> > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the
> > > > > appointment
> > > > > > is
> > > > > > > > > also
> > > > > > > > > > > > shown
> > > > > > > > > > > > in the user interface of the operators, see the first
> > > > > > > screenshot).
> > > > > > > > > > > >
> > > > > > > > > > > > It doesn't bother me much, because everything seems
> to
> > be
> > > > > > working
> > > > > > > > > fine
> > > > > > > > > > > and
> > > > > > > > > > > > I have taken a lot of your time already, but since
> you
> > > > asked
> > > > > to
> > > > > > > > keep
> > > > > > > > > > you
> > > > > > > > > > > > informed about related issues: maybe this is one.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > Another related bug - please replace the file:
> > > > > > > > > > > > >
> > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > >
> > > > > > > > > > > > > with:
> > > > > > > > > > > > >
> > > > > > > > > > > > > https://bazaar.launchpad.net/~
> adamzammit/quexs/main/
> > > > > > > > > > > > > download/adam.zammit%40acspri.
> org.au-20160907013554-
> > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> 252Fadmin%252Faddshift.php/
> > > > > > > addshift.php
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > According to the manual the default shift times
> > > should
> > > > > show
> > > > > > > up
> > > > > > > > at
> > > > > > > > > > the
> > > > > > > > > > > > > shift
> > > > > > > > > > > > > > management panel (https://www.acspri.org.au/
> > node/669
> > > ).
> > > > I
> > > > > > > have
> > > > > > > > > > > default
> > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > a6un18k2p/default.png
> > > > > ),
> > > > > > > but
> > > > > > > > > > they
> > > > > > > > > > > do
> > > > > > > > > > > > > not
> > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > gzkkipdpn/shifts.png
> > > ).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > <question375015@answers.
> > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I don't know if it is related but I cannot add
> > > shifts
> > > > > in
> > > > > > my
> > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > I've made a survey in the queXS-integrated
> > > > Limesurvey,
> > > > > > > > imported
> > > > > > > > > > and
> > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > sample to it, assigned an operator to it, but
> the
> > > > > > operator
> > > > > > > > gets
> > > > > > > > > > an
> > > > > > > > > > > > > error
> > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > I've made a screenshot:
> https://s15.postimg.org/
> > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > .
> > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's working
> > like a
> > > > > charm
> > > > > > > > now!
> > > > > > > > > :)
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam Zammit <
> > > > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Adam Zammit proposed the following answer:
> > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Looks like the query isn't compatible with
> > the
> > > > SQL
> > > > > > mode
> > > > > > > > > that
> > > > > > > > > > is
> > > > > > > > > > > > set
> > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I have made a fix - please replace the file
> > > > > > > admin/new.php
> > > > > > > > > > with
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Also please let me know if you find any
> > related
> > > > > > issues
> > > > > > > -
> > > > > > > > I
> > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > If this answers your question, please go to
> > the
> > > > > > > following
> > > > > > > > > > page
> > > > > > > > > > > to
> > > > > > > > > > > > > let
> > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you still need help, you can reply to
> this
> > > > email
> > > > > > or
> > > > > > > go
> > > > > > > > > to
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > > asked
> > > > > > > > > the
> > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > are
> > > > > an
> > > > > > > > answer
> > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > Research and Development Officer, Survey
> Methodology
> > > > > > > > > > > > > Australian Consortium for Social and Political
> > Research
> > > > > Inc.
> > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > >
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you are
> an
> > > > answer
> > > > > > > > > > contact for queXS.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Adam Zammit
> > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > Australian Consortium for Social and Political Research
> Inc.
> > > > > > > > > +61 3 9013 9653
> > > > > > > > > http://www.acspri.org.au/
> > > > > > > > >
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you are an
> > answer
> > > > > > > > contact for queXS.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Adam Zammit
> > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > +61 3 9013 9653
> > > > > > > http://www.acspri.org.au/
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #25

Thank you Joost,

Please try with this updated displayappointments.php file:

https://bazaar.launchpad.net/~adamzammit/quexs/main/download/adam.zammit%40acspri.org.au-20160915235017-whnxj4v11z539z2x/5%40fd4a0071-7450-0410-a91b-842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/displayappointments.php

Adam

On 16 September 2016 at 00:57, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> I get two similar errors:
>
> 1:
> ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
> clause and contains nonaggregated column 'quexs.a.start' which is not
> functionally dependent on columns in GROUP BY clause; this is incompatible
> with sql_mode=only_full_group_by
>
>
> 2:
> ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
> clause and contains nonaggregated column 'quexs.a.start' which is not
> functionally dependent on columns in GROUP BY clause; this is incompatible
> with sql_mode=only_full_group_by
>
> Kind Regards,
> Joost
>
>
> On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Hi again Joost,
> >
> > Can you please try the following SQL queries directly against the
> database
> > and see if any errors are reported?
> >
> > Query 1:
> >
> > SELECT MIN(q.description) as description, MIN(si.description) as smpl,
> > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName) as
> > makerName, MIN(ooo.firstName) as callerName,
> > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>', c.case_id,
> > '</a>') as case_id,
> > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> text-danger\'
> > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> data-placement=\'left\'
> > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> '&amp;appointment_id=',
> > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
> > witho
> > FROM appointment as a
> > JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
> > call_attempt as cc, operator as co, `sample` as s, sample_import as si)
> on
> > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> a.respondent_id =
> > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> oo.operator_id
> > and si.sample_import_id = s.import_id)
> > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON (ca.call_id =
> > a.completed_call_id and ou.outcome_id = ca.outcome_id and ca.operator_id
> =
> > ooo.operator_id)
> > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> > qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
> > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > CONVERT_TZ(NOW(),'System','UTC')
> > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > AND co.operator_id = '1'
> > GROUP BY c.case_id ORDER BY a.start ASC
> >
> >
> > Query 2:
> >
> > SELECT MIN(q.description) as description, MIN(si.description) as smpl,
> > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName) as
> > makerName, MIN(ooo.firstName) as callerName,
> > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > c.case_id, '</a>')) as case_id,
> > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> text-danger\'
> > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> data-placement=\'left\'
> > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> '&amp;appointment_id=',
> > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
> > witho
> > FROM appointment as a
> > JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
> > call_attempt as cc, operator as co, `sample` as s, sample_import as si)
> on
> > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> a.respondent_id =
> > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> oo.operator_id
> > and si.sample_import_id = s.import_id)
> > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON (ca.call_id =
> > a.completed_call_id and ou.outcome_id = ca.outcome_id and ca.operator_id
> =
> > ooo.operator_id)
> > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> > qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
> > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > CONVERT_TZ(NOW(),'System','UTC')
> > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > AND co.operator_id = '1'
> > GROUP BY c.case_id ORDER BY a.start ASC
> >
> >
> > Thank you again for your assistance.
> >
> > Adam
> >
> >
> > On 14 September 2016 at 21:37, Joost <question375015@answers.
> launchpad.net
> > >
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > I replaced admin/displayappointments.php and confirmed that the logged
> in
> > > user has a valid timezone, but the appointments still do not show up.
> > > Adding "die($sql);" after line 310 results in:
> > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > >
> > > In the administration panel admin/displayappointments.php shows "no
> > future
> > > appointments". I looked that part up in the code and I think that line
> is
> > > showing when the query turns out to be empty? ("if (!empty($rs))" a
> > > xhtml_table function is called and "else print "[...] No future
> > > appointments")
> > >
> > > I compared admin/supervisor.php (which is working) and
> > > admin/displayappointments.php and found out that somewhere in the code
> > > there is a part that seem to be alike, but is different in one of the
> > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > displayappointments.php there is only "CONCAT" (see:
> > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > displayappointments.png).
> > > Could this be (part of) the problem? I'm certainly no programmer, my
> > > knowledge of coding is not very strong, so I'm not sure what to do
> next.
> > >
> > > Kind regards,
> > > Joost
> > >
> > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > The important file to replace is admin/displayappointments.php from
> > > > here:
> > > >
> > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > download/head:/5%40fd4a0071-7450-0410
> > > > -a91b-
> > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > displayappointments.php
> > > >
> > > > If appointments still are not showing up - please confirm that you
> have
> > > > assigned the logged in user a valid timezone (edit the user settings
> to
> > > > check).
> > > >
> > > > Otherwise if you could please attempt to run the SQL query directly
> by
> > > > adding the following line to displayappointments.php:
> > > >
> > > > die($sql);
> > > >
> > > > after line 310 which says:
> > > >
> > > > $rs = $db->GetAll($sql);
> > > >
> > > > And then checking for appointments again - the web page will have the
> > SQL
> > > > code printed instead and you can test it to see if an error is
> > produced.
> > > >
> > > > Thanks again for your patience with this testing.
> > > >
> > > > Adam
> > > >
> > > > On 13 September 2016 at 21:22, Joost <question375015@answers.
> > > launchpad.net
> > > > >
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > I've created a new appointment with the operator 'Ake' (
> > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png).
> This
> > > > > appointment came up in the case overview (
> > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_overview.png
> ),
> > > but
> > > > > isn't showing up in the Administration Panel (
> > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > administration_panel.png
> > > > > ).
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > PS
> > > > > I just replaced the three files that were changed in this revision
> > (the
> > > > > time before that I changed the 7 files from revision 541). Do I
> have
> > to
> > > > > replace all the files or restart something?
> > > > >
> > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > <email address hidden>> wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > Hi Joost,
> > > > > >
> > > > > > I am unable to replicate this after the update. Can you please
> try
> > > > > creating
> > > > > > new appointments and see if they now show up?
> > > > > >
> > > > > > Kind Regards,
> > > > > > Adam Zammit
> > > > > >
> > > > > > On 13 September 2016 at 07:08, Joost <question375015@answers.
> > > > > launchpad.net
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Hi Adam,
> > > > > > >
> > > > > > > I replaced the files, but I'm still getting the same error...
> > (the
> > > > > > > appointments do not show up in the Administration Panel)
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > <email address hidden>>:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > Hi Joost,
> > > > > > > >
> > > > > > > > Thanks for your persistence!
> > > > > > > >
> > > > > > > > Please try the files changed in the latest revision:
> > > > > > > >
> > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > revision/542
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > > On 9 September 2016 at 00:22, Joost <question375015@answers.
> > > > > > > launchpad.net>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > I still do not see appointments in the Administration
> Panel.
> > I
> > > > can
> > > > > > make
> > > > > > > > an
> > > > > > > > > appointment in the user interface of the operator (
> > > > > > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png) or
> > in
> > > > the
> > > > > > > > > Administration Panel (
> > > > > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png)
> > and
> > > > they
> > > > > > > show
> > > > > > > > up
> > > > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > but they do not show up in the Administration Panel (
> > > > > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > <email address hidden>> wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > Hi Joost,
> > > > > > > > > >
> > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > >
> > > > > > > > > > I identified a few more issues - please replace the files
> > > that
> > > > > have
> > > > > > > > been
> > > > > > > > > > fixed in the following revision:
> > > > > > > > > >
> > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > revision/541
> > > > > > > > > >
> > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > >
> > > > > > > > > > Adam
> > > > > > > > > >
> > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > Nevermind my last e-mail. The timezone problem is
> solved.
> > > > > > > > > > > But I still cannot see the made appointments in the
> > > > > > Administration
> > > > > > > > > Panel.
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost van der Horst
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > Maybe I don't see the appointments because of a
> > timezone
> > > > > error.
> > > > > > > > > > > > In the default time shift settings I set the times in
> > the
> > > > > local
> > > > > > > > > > timezone
> > > > > > > > > > > (
> > > > > > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png),
> but
> > in
> > > > the
> > > > > > > user
> > > > > > > > > > > > interface
> > > > > > > > > > > > of the operators the time settings change to other
> > times
> > > (
> > > > > > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png), I
> > > guess
> > > > > > > because
> > > > > > > > of
> > > > > > > > > > > > another timezone setting? The "current time" however
> is
> > > in
> > > > my
> > > > > > own
> > > > > > > > > > > timezone,
> > > > > > > > > > > > leading to "no shifts available" and thus no cases
> for
> > > the
> > > > > > > > operator.
> > > > > > > > > > > >
> > > > > > > > > > > > Funny thing is that when I keep the user interface
> open
> > > in
> > > > my
> > > > > > > > browser
> > > > > > > > > > and
> > > > > > > > > > > > login to the Administration Panel in another tab
> > (causing
> > > > the
> > > > > > > > > operator
> > > > > > > > > > to
> > > > > > > > > > > > "log off"), the "current time" in the user interface
> of
> > > the
> > > > > > > > operator
> > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > I ran a few tests and the user interface works
> fine:
> > > > > > operators
> > > > > > > > can
> > > > > > > > > > > call a
> > > > > > > > > > > > > respondent / case, complete a survey, make an
> > > appointment
> > > > > or
> > > > > > > > choose
> > > > > > > > > > > > another
> > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > When appointments are made, the operators see those
> > > > > > > appointments
> > > > > > > > in
> > > > > > > > > > > their
> > > > > > > > > > > > > display when the specific case is selected for
> them (
> > > > > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png).
> These
> > > > cases
> > > > > > are
> > > > > > > > > > selected
> > > > > > > > > > > > for
> > > > > > > > > > > > > the operators on the right time (the time slot in
> > which
> > > > > they
> > > > > > > > > planned
> > > > > > > > > > an
> > > > > > > > > > > > > appointment).
> > > > > > > > > > > > >
> > > > > > > > > > > > > The appointments however are not shown in the
> > > > > Administration
> > > > > > > > Panel
> > > > > > > > > (
> > > > > > > > > > > > > https://s9.postimg.org/3p9ja8djj/appointments.png
> ),
> > > but
> > > > > > when I
> > > > > > > > > > lookup
> > > > > > > > > > > > the
> > > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png). (the
> > > > > > appointment
> > > > > > > is
> > > > > > > > > > also
> > > > > > > > > > > > > shown
> > > > > > > > > > > > > in the user interface of the operators, see the
> first
> > > > > > > > screenshot).
> > > > > > > > > > > > >
> > > > > > > > > > > > > It doesn't bother me much, because everything seems
> > to
> > > be
> > > > > > > working
> > > > > > > > > > fine
> > > > > > > > > > > > and
> > > > > > > > > > > > > I have taken a lot of your time already, but since
> > you
> > > > > asked
> > > > > > to
> > > > > > > > > keep
> > > > > > > > > > > you
> > > > > > > > > > > > > informed about related issues: maybe this is one.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > Another related bug - please replace the file:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > with:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > adamzammit/quexs/main/
> > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > org.au-20160907013554-
> > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > 252Fadmin%252Faddshift.php/
> > > > > > > > addshift.php
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > According to the manual the default shift times
> > > > should
> > > > > > show
> > > > > > > > up
> > > > > > > > > at
> > > > > > > > > > > the
> > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > management panel (https://www.acspri.org.au/
> > > node/669
> > > > ).
> > > > > I
> > > > > > > > have
> > > > > > > > > > > > default
> > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > > a6un18k2p/default.png
> > > > > > ),
> > > > > > > > but
> > > > > > > > > > > they
> > > > > > > > > > > > do
> > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > gzkkipdpn/shifts.png
> > > > ).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I don't know if it is related but I cannot
> add
> > > > shifts
> > > > > > in
> > > > > > > my
> > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > I've made a survey in the queXS-integrated
> > > > > Limesurvey,
> > > > > > > > > imported
> > > > > > > > > > > and
> > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > sample to it, assigned an operator to it, but
> > the
> > > > > > > operator
> > > > > > > > > gets
> > > > > > > > > > > an
> > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > I've made a screenshot:
> > https://s15.postimg.org/
> > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > .
> > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's working
> > > like a
> > > > > > charm
> > > > > > > > > now!
> > > > > > > > > > :)
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam
> Zammit <
> > > > > > > > > > > > > > > > > <email address hidden>>
> wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Adam Zammit proposed the following
> answer:
> > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Looks like the query isn't compatible
> with
> > > the
> > > > > SQL
> > > > > > > mode
> > > > > > > > > > that
> > > > > > > > > > > is
> > > > > > > > > > > > > set
> > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I have made a fix - please replace the
> file
> > > > > > > > admin/new.php
> > > > > > > > > > > with
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Also please let me know if you find any
> > > related
> > > > > > > issues
> > > > > > > > -
> > > > > > > > > I
> > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > If this answers your question, please go
> to
> > > the
> > > > > > > > following
> > > > > > > > > > > page
> > > > > > > > > > > > to
> > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you still need help, you can reply to
> > this
> > > > > email
> > > > > > > or
> > > > > > > > go
> > > > > > > > > > to
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > > asked
> > > > > > > > > > the
> > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > > asked
> > > > > > > > > the
> > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > are
> > > > > > an
> > > > > > > > > answer
> > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > Research and Development Officer, Survey
> > Methodology
> > > > > > > > > > > > > > Australian Consortium for Social and Political
> > > Research
> > > > > > Inc.
> > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you are
> > an
> > > > > answer
> > > > > > > > > > > contact for queXS.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Adam Zammit
> > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > Australian Consortium for Social and Political Research
> > Inc.
> > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > >
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you are an
> > > answer
> > > > > > > > > contact for queXS.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Adam Zammit
> > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > > +61 3 9013 9653
> > > > > > > > http://www.acspri.org.au/
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #26

Hi Adam,

Thanks, it's working now!!!! :)

Kind Regards,
Joost

Op 16 sep. 2016 1:57 a.m. schreef "Adam Zammit" <
<email address hidden>>:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Thank you Joost,
>
> Please try with this updated displayappointments.php file:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/
> download/adam.zammit%40acspri.org.au-20160915235017-
> whnxj4v11z539z2x/5%40fd4a0071-7450-0410
> -a91b-
> 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> displayappointments.php
>
> Adam
>
> On 16 September 2016 at 00:57, Joost <<email address hidden>
> >
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > I get two similar errors:
> >
> > 1:
> > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
> > clause and contains nonaggregated column 'quexs.a.start' which is not
> > functionally dependent on columns in GROUP BY clause; this is
> incompatible
> > with sql_mode=only_full_group_by
> >
> >
> > 2:
> > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
> > clause and contains nonaggregated column 'quexs.a.start' which is not
> > functionally dependent on columns in GROUP BY clause; this is
> incompatible
> > with sql_mode=only_full_group_by
> >
> > Kind Regards,
> > Joost
> >
> >
> > On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Hi again Joost,
> > >
> > > Can you please try the following SQL queries directly against the
> > database
> > > and see if any errors are reported?
> > >
> > > Query 1:
> > >
> > > SELECT MIN(q.description) as description, MIN(si.description) as smpl,
> > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName)
> as
> > > makerName, MIN(ooo.firstName) as callerName,
> > > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> c.case_id,
> > > '</a>') as case_id,
> > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > text-danger\'
> > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > data-placement=\'left\'
> > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > '&amp;appointment_id=',
> > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
> > > witho
> > > FROM appointment as a
> > > JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
> > > call_attempt as cc, operator as co, `sample` as s, sample_import as si)
> > on
> > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > a.respondent_id =
> > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > oo.operator_id
> > > and si.sample_import_id = s.import_id)
> > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> (ca.call_id =
> > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> ca.operator_id
> > =
> > > ooo.operator_id)
> > > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> > > qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
> > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > CONVERT_TZ(NOW(),'System','UTC')
> > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > AND co.operator_id = '1'
> > > GROUP BY c.case_id ORDER BY a.start ASC
> > >
> > >
> > > Query 2:
> > >
> > > SELECT MIN(q.description) as description, MIN(si.description) as smpl,
> > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > IFNULL(ou.description,'Not yet called')) as outcome, MIN(oo.firstName)
> as
> > > makerName, MIN(ooo.firstName) as callerName,
> > > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > > c.case_id, '</a>')) as case_id,
> > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > text-danger\'
> > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > data-placement=\'left\'
> > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > '&amp;appointment_id=',
> > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator')) as
> > > witho
> > > FROM appointment as a
> > > JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo,
> > > call_attempt as cc, operator as co, `sample` as s, sample_import as si)
> > on
> > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > a.respondent_id =
> > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > oo.operator_id
> > > and si.sample_import_id = s.import_id)
> > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> (ca.call_id =
> > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> ca.operator_id
> > =
> > > ooo.operator_id)
> > > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> > > qsqr.sample_import_id and c.questionnaire_id = qsqr.questionnaire_id)
> > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > CONVERT_TZ(NOW(),'System','UTC')
> > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > AND co.operator_id = '1'
> > > GROUP BY c.case_id ORDER BY a.start ASC
> > >
> > >
> > > Thank you again for your assistance.
> > >
> > > Adam
> > >
> > >
> > > On 14 September 2016 at 21:37, Joost <question375015@answers.
> > launchpad.net
> > > >
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > I replaced admin/displayappointments.php and confirmed that the
> logged
> > in
> > > > user has a valid timezone, but the appointments still do not show up.
> > > > Adding "die($sql);" after line 310 results in:
> > > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > > >
> > > > In the administration panel admin/displayappointments.php shows "no
> > > future
> > > > appointments". I looked that part up in the code and I think that
> line
> > is
> > > > showing when the query turns out to be empty? ("if (!empty($rs))" a
> > > > xhtml_table function is called and "else print "[...] No future
> > > > appointments")
> > > >
> > > > I compared admin/supervisor.php (which is working) and
> > > > admin/displayappointments.php and found out that somewhere in the
> code
> > > > there is a part that seem to be alike, but is different in one of the
> > > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > > displayappointments.php there is only "CONCAT" (see:
> > > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > > displayappointments.png).
> > > > Could this be (part of) the problem? I'm certainly no programmer, my
> > > > knowledge of coding is not very strong, so I'm not sure what to do
> > next.
> > > >
> > > > Kind regards,
> > > > Joost
> > > >
> > > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > The important file to replace is admin/displayappointments.php from
> > > > > here:
> > > > >
> > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > download/head:/5%40fd4a0071-7450-0410
> > > > > -a91b-
> > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > displayappointments.php
> > > > >
> > > > > If appointments still are not showing up - please confirm that you
> > have
> > > > > assigned the logged in user a valid timezone (edit the user
> settings
> > to
> > > > > check).
> > > > >
> > > > > Otherwise if you could please attempt to run the SQL query directly
> > by
> > > > > adding the following line to displayappointments.php:
> > > > >
> > > > > die($sql);
> > > > >
> > > > > after line 310 which says:
> > > > >
> > > > > $rs = $db->GetAll($sql);
> > > > >
> > > > > And then checking for appointments again - the web page will have
> the
> > > SQL
> > > > > code printed instead and you can test it to see if an error is
> > > produced.
> > > > >
> > > > > Thanks again for your patience with this testing.
> > > > >
> > > > > Adam
> > > > >
> > > > > On 13 September 2016 at 21:22, Joost <question375015@answers.
> > > > launchpad.net
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > I've created a new appointment with the operator 'Ake' (
> > > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png).
> > This
> > > > > > appointment came up in the case overview (
> > > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_
> overview.png
> > ),
> > > > but
> > > > > > isn't showing up in the Administration Panel (
> > > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > > administration_panel.png
> > > > > > ).
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > > PS
> > > > > > I just replaced the three files that were changed in this
> revision
> > > (the
> > > > > > time before that I changed the 7 files from revision 541). Do I
> > have
> > > to
> > > > > > replace all the files or restart something?
> > > > > >
> > > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > > <email address hidden>> wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Adam Zammit posted a new comment:
> > > > > > > Hi Joost,
> > > > > > >
> > > > > > > I am unable to replicate this after the update. Can you please
> > try
> > > > > > creating
> > > > > > > new appointments and see if they now show up?
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Adam Zammit
> > > > > > >
> > > > > > > On 13 September 2016 at 07:08, Joost <question375015@answers.
> > > > > > launchpad.net
> > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Hi Adam,
> > > > > > > >
> > > > > > > > I replaced the files, but I'm still getting the same error...
> > > (the
> > > > > > > > appointments do not show up in the Administration Panel)
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > > <email address hidden>>:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > Hi Joost,
> > > > > > > > >
> > > > > > > > > Thanks for your persistence!
> > > > > > > > >
> > > > > > > > > Please try the files changed in the latest revision:
> > > > > > > > >
> > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > revision/542
> > > > > > > > >
> > > > > > > > > Adam
> > > > > > > > >
> > > > > > > > > On 9 September 2016 at 00:22, Joost
> <question375015@answers.
> > > > > > > > launchpad.net>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > I still do not see appointments in the Administration
> > Panel.
> > > I
> > > > > can
> > > > > > > make
> > > > > > > > > an
> > > > > > > > > > appointment in the user interface of the operator (
> > > > > > > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png)
> or
> > > in
> > > > > the
> > > > > > > > > > Administration Panel (
> > > > > > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.png
> )
> > > and
> > > > > they
> > > > > > > > show
> > > > > > > > > up
> > > > > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > > but they do not show up in the Administration Panel (
> > > > > > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > Hi Joost,
> > > > > > > > > > >
> > > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > > >
> > > > > > > > > > > I identified a few more issues - please replace the
> files
> > > > that
> > > > > > have
> > > > > > > > > been
> > > > > > > > > > > fixed in the following revision:
> > > > > > > > > > >
> > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > revision/541
> > > > > > > > > > >
> > > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > > >
> > > > > > > > > > > Adam
> > > > > > > > > > >
> > > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > Nevermind my last e-mail. The timezone problem is
> > solved.
> > > > > > > > > > > > But I still cannot see the made appointments in the
> > > > > > > Administration
> > > > > > > > > > Panel.
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost van der Horst
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > Maybe I don't see the appointments because of a
> > > timezone
> > > > > > error.
> > > > > > > > > > > > > In the default time shift settings I set the times
> in
> > > the
> > > > > > local
> > > > > > > > > > > timezone
> > > > > > > > > > > > (
> > > > > > > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png),
> > but
> > > in
> > > > > the
> > > > > > > > user
> > > > > > > > > > > > > interface
> > > > > > > > > > > > > of the operators the time settings change to other
> > > times
> > > > (
> > > > > > > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png),
> I
> > > > guess
> > > > > > > > because
> > > > > > > > > of
> > > > > > > > > > > > > another timezone setting? The "current time"
> however
> > is
> > > > in
> > > > > my
> > > > > > > own
> > > > > > > > > > > > timezone,
> > > > > > > > > > > > > leading to "no shifts available" and thus no cases
> > for
> > > > the
> > > > > > > > > operator.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Funny thing is that when I keep the user interface
> > open
> > > > in
> > > > > my
> > > > > > > > > browser
> > > > > > > > > > > and
> > > > > > > > > > > > > login to the Administration Panel in another tab
> > > (causing
> > > > > the
> > > > > > > > > > operator
> > > > > > > > > > > to
> > > > > > > > > > > > > "log off"), the "current time" in the user
> interface
> > of
> > > > the
> > > > > > > > > operator
> > > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > > I ran a few tests and the user interface works
> > fine:
> > > > > > > operators
> > > > > > > > > can
> > > > > > > > > > > > call a
> > > > > > > > > > > > > > respondent / case, complete a survey, make an
> > > > appointment
> > > > > > or
> > > > > > > > > choose
> > > > > > > > > > > > > another
> > > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > > When appointments are made, the operators see
> those
> > > > > > > > appointments
> > > > > > > > > in
> > > > > > > > > > > > their
> > > > > > > > > > > > > > display when the specific case is selected for
> > them (
> > > > > > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png).
> > These
> > > > > cases
> > > > > > > are
> > > > > > > > > > > selected
> > > > > > > > > > > > > for
> > > > > > > > > > > > > > the operators on the right time (the time slot in
> > > which
> > > > > > they
> > > > > > > > > > planned
> > > > > > > > > > > an
> > > > > > > > > > > > > > appointment).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The appointments however are not shown in the
> > > > > > Administration
> > > > > > > > > Panel
> > > > > > > > > > (
> > > > > > > > > > > > > > https://s9.postimg.org/
> 3p9ja8djj/appointments.png
> > ),
> > > > but
> > > > > > > when I
> > > > > > > > > > > lookup
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png).
> (the
> > > > > > > appointment
> > > > > > > > is
> > > > > > > > > > > also
> > > > > > > > > > > > > > shown
> > > > > > > > > > > > > > in the user interface of the operators, see the
> > first
> > > > > > > > > screenshot).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > It doesn't bother me much, because everything
> seems
> > > to
> > > > be
> > > > > > > > working
> > > > > > > > > > > fine
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > I have taken a lot of your time already, but
> since
> > > you
> > > > > > asked
> > > > > > > to
> > > > > > > > > > keep
> > > > > > > > > > > > you
> > > > > > > > > > > > > > informed about related issues: maybe this is one.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > Another related bug - please replace the file:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > with:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > org.au-20160907013554-
> > > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > 252Fadmin%252Faddshift.php/
> > > > > > > > > addshift.php
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > > <question375015@answers.
> > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > > According to the manual the default shift
> times
> > > > > should
> > > > > > > show
> > > > > > > > > up
> > > > > > > > > > at
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > management panel (https://www.acspri.org.au/
> > > > node/669
> > > > > ).
> > > > > > I
> > > > > > > > > have
> > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > > > a6un18k2p/default.png
> > > > > > > ),
> > > > > > > > > but
> > > > > > > > > > > > they
> > > > > > > > > > > > > do
> > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > > gzkkipdpn/shifts.png
> > > > > ).
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I don't know if it is related but I cannot
> > add
> > > > > shifts
> > > > > > > in
> > > > > > > > my
> > > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > > I've made a survey in the queXS-integrated
> > > > > > Limesurvey,
> > > > > > > > > > imported
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > > sample to it, assigned an operator to it,
> but
> > > the
> > > > > > > > operator
> > > > > > > > > > gets
> > > > > > > > > > > > an
> > > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > > I've made a screenshot:
> > > https://s15.postimg.org/
> > > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's
> working
> > > > like a
> > > > > > > charm
> > > > > > > > > > now!
> > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam
> > Zammit <
> > > > > > > > > > > > > > > > > > <email address hidden>>
> > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Adam Zammit proposed the following
> > answer:
> > > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Looks like the query isn't compatible
> > with
> > > > the
> > > > > > SQL
> > > > > > > > mode
> > > > > > > > > > > that
> > > > > > > > > > > > is
> > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I have made a fix - please replace the
> > file
> > > > > > > > > admin/new.php
> > > > > > > > > > > > with
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-
> 7450-0410
> > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Also please let me know if you find any
> > > > related
> > > > > > > > issues
> > > > > > > > > -
> > > > > > > > > > I
> > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > If this answers your question, please
> go
> > to
> > > > the
> > > > > > > > > following
> > > > > > > > > > > > page
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you still need help, you can reply
> to
> > > this
> > > > > > email
> > > > > > > > or
> > > > > > > > > go
> > > > > > > > > > > to
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > following page to enter your feedback:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > You received this question notification
> > > > because
> > > > > > you
> > > > > > > > > asked
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > > asked
> > > > > > > > > > the
> > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > > asked
> > > > > > > > > the
> > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > are
> > > > > > > an
> > > > > > > > > > answer
> > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > Research and Development Officer, Survey
> > > Methodology
> > > > > > > > > > > > > > > Australian Consortium for Social and Political
> > > > Research
> > > > > > > Inc.
> > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> are
> > > an
> > > > > > answer
> > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Adam Zammit
> > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > Australian Consortium for Social and Political Research
> > > Inc.
> > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > >
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you are
> an
> > > > answer
> > > > > > > > > > contact for queXS.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Adam Zammit
> > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > Australian Consortium for Social and Political Research
> Inc.
> > > > > > > > > +61 3 9013 9653
> > > > > > > > > http://www.acspri.org.au/
> > > > > > > > >
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you are an
> > answer
> > > > > > > > contact for queXS.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Adam Zammit
> > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > +61 3 9013 9653
> > > > > > > http://www.acspri.org.au/
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Joost (joostvdhorst) said : #27

Hi Adam,

Sorry for mailing you once again, but I found another problem. When I add a
new outcome (http://s14.postimg.org/oy7npmsbl/add_outcome.png) it doesn't
get added to the list (http://s18.postimg.org/luvky8yex/add_outcome_2.png).
Is this problem related to the ones earlier?

Kind Regards,
Joost

On Sat, Sep 17, 2016 at 12:17 AM, Joost <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> Thanks, it's working now!!!! :)
>
> Kind Regards,
> Joost
>
> Op 16 sep. 2016 1:57 a.m. schreef "Adam Zammit" <
> <email address hidden>>:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Thank you Joost,
> >
> > Please try with this updated displayappointments.php file:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > download/adam.zammit%40acspri.org.au-20160915235017-
> > whnxj4v11z539z2x/5%40fd4a0071-7450-0410
> > -a91b-
> > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > displayappointments.php
> >
> > Adam
> >
> > On 16 September 2016 at 00:57, Joost <question375015@answers.
> launchpad.net
> > >
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > I get two similar errors:
> > >
> > > 1:
> > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
> > > clause and contains nonaggregated column 'quexs.a.start' which is not
> > > functionally dependent on columns in GROUP BY clause; this is
> > incompatible
> > > with sql_mode=only_full_group_by
> > >
> > >
> > > 2:
> > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
> > > clause and contains nonaggregated column 'quexs.a.start' which is not
> > > functionally dependent on columns in GROUP BY clause; this is
> > incompatible
> > > with sql_mode=only_full_group_by
> > >
> > > Kind Regards,
> > > Joost
> > >
> > >
> > > On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > Hi again Joost,
> > > >
> > > > Can you please try the following SQL queries directly against the
> > > database
> > > > and see if any errors are reported?
> > > >
> > > > Query 1:
> > > >
> > > > SELECT MIN(q.description) as description, MIN(si.description) as
> smpl,
> > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > IFNULL(ou.description,'Not yet called')) as outcome,
> MIN(oo.firstName)
> > as
> > > > makerName, MIN(ooo.firstName) as callerName,
> > > > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > c.case_id,
> > > > '</a>') as case_id,
> > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > text-danger\'
> > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > data-placement=\'left\'
> > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > '&amp;appointment_id=',
> > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator'))
> as
> > > > witho
> > > > FROM appointment as a
> > > > JOIN (`case` as c, respondent as r, questionnaire as q, operator as
> oo,
> > > > call_attempt as cc, operator as co, `sample` as s, sample_import as
> si)
> > > on
> > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > a.respondent_id =
> > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > oo.operator_id
> > > > and si.sample_import_id = s.import_id)
> > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > (ca.call_id =
> > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > ca.operator_id
> > > =
> > > > ooo.operator_id)
> > > > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> > > > qsqr.sample_import_id and c.questionnaire_id =
> qsqr.questionnaire_id)
> > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > AND co.operator_id = '1'
> > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > >
> > > >
> > > > Query 2:
> > > >
> > > > SELECT MIN(q.description) as description, MIN(si.description) as
> smpl,
> > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > IFNULL(ou.description,'Not yet called')) as outcome,
> MIN(oo.firstName)
> > as
> > > > makerName, MIN(ooo.firstName) as callerName,
> > > > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > > > c.case_id, '</a>')) as case_id,
> > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > text-danger\'
> > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > data-placement=\'left\'
> > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as link,
> > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > '&amp;appointment_id=',
> > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any operator'))
> as
> > > > witho
> > > > FROM appointment as a
> > > > JOIN (`case` as c, respondent as r, questionnaire as q, operator as
> oo,
> > > > call_attempt as cc, operator as co, `sample` as s, sample_import as
> si)
> > > on
> > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > a.respondent_id =
> > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > oo.operator_id
> > > > and si.sample_import_id = s.import_id)
> > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > (ca.call_id =
> > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > ca.operator_id
> > > =
> > > > ooo.operator_id)
> > > > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on (s.import_id =
> > > > qsqr.sample_import_id and c.questionnaire_id =
> qsqr.questionnaire_id)
> > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > AND co.operator_id = '1'
> > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > >
> > > >
> > > > Thank you again for your assistance.
> > > >
> > > > Adam
> > > >
> > > >
> > > > On 14 September 2016 at 21:37, Joost <question375015@answers.
> > > launchpad.net
> > > > >
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Hi Adam,
> > > > >
> > > > > I replaced admin/displayappointments.php and confirmed that the
> > logged
> > > in
> > > > > user has a valid timezone, but the appointments still do not show
> up.
> > > > > Adding "die($sql);" after line 310 results in:
> > > > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > > > >
> > > > > In the administration panel admin/displayappointments.php shows "no
> > > > future
> > > > > appointments". I looked that part up in the code and I think that
> > line
> > > is
> > > > > showing when the query turns out to be empty? ("if (!empty($rs))" a
> > > > > xhtml_table function is called and "else print "[...] No future
> > > > > appointments")
> > > > >
> > > > > I compared admin/supervisor.php (which is working) and
> > > > > admin/displayappointments.php and found out that somewhere in the
> > code
> > > > > there is a part that seem to be alike, but is different in one of
> the
> > > > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > > > displayappointments.php there is only "CONCAT" (see:
> > > > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > > > displayappointments.png).
> > > > > Could this be (part of) the problem? I'm certainly no programmer,
> my
> > > > > knowledge of coding is not very strong, so I'm not sure what to do
> > > next.
> > > > >
> > > > > Kind regards,
> > > > > Joost
> > > > >
> > > > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > > > <email address hidden>> wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > The important file to replace is admin/displayappointments.php
> from
> > > > > > here:
> > > > > >
> > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > download/head:/5%40fd4a0071-7450-0410
> > > > > > -a91b-
> > > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > > displayappointments.php
> > > > > >
> > > > > > If appointments still are not showing up - please confirm that
> you
> > > have
> > > > > > assigned the logged in user a valid timezone (edit the user
> > settings
> > > to
> > > > > > check).
> > > > > >
> > > > > > Otherwise if you could please attempt to run the SQL query
> directly
> > > by
> > > > > > adding the following line to displayappointments.php:
> > > > > >
> > > > > > die($sql);
> > > > > >
> > > > > > after line 310 which says:
> > > > > >
> > > > > > $rs = $db->GetAll($sql);
> > > > > >
> > > > > > And then checking for appointments again - the web page will have
> > the
> > > > SQL
> > > > > > code printed instead and you can test it to see if an error is
> > > > produced.
> > > > > >
> > > > > > Thanks again for your patience with this testing.
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > On 13 September 2016 at 21:22, Joost <question375015@answers.
> > > > > launchpad.net
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > I've created a new appointment with the operator 'Ake' (
> > > > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_operator.png
> ).
> > > This
> > > > > > > appointment came up in the case overview (
> > > > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_
> > overview.png
> > > ),
> > > > > but
> > > > > > > isn't showing up in the Administration Panel (
> > > > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > > > administration_panel.png
> > > > > > > ).
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > PS
> > > > > > > I just replaced the three files that were changed in this
> > revision
> > > > (the
> > > > > > > time before that I changed the 7 files from revision 541). Do I
> > > have
> > > > to
> > > > > > > replace all the files or restart something?
> > > > > > >
> > > > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > > > <email address hidden>> wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > Hi Joost,
> > > > > > > >
> > > > > > > > I am unable to replicate this after the update. Can you
> please
> > > try
> > > > > > > creating
> > > > > > > > new appointments and see if they now show up?
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Adam Zammit
> > > > > > > >
> > > > > > > > On 13 September 2016 at 07:08, Joost <question375015@answers.
> > > > > > > launchpad.net
> > > > > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Hi Adam,
> > > > > > > > >
> > > > > > > > > I replaced the files, but I'm still getting the same
> error...
> > > > (the
> > > > > > > > > appointments do not show up in the Administration Panel)
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > > > <email address hidden>>:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > Hi Joost,
> > > > > > > > > >
> > > > > > > > > > Thanks for your persistence!
> > > > > > > > > >
> > > > > > > > > > Please try the files changed in the latest revision:
> > > > > > > > > >
> > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > revision/542
> > > > > > > > > >
> > > > > > > > > > Adam
> > > > > > > > > >
> > > > > > > > > > On 9 September 2016 at 00:22, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > I still do not see appointments in the Administration
> > > Panel.
> > > > I
> > > > > > can
> > > > > > > > make
> > > > > > > > > > an
> > > > > > > > > > > appointment in the user interface of the operator (
> > > > > > > > > > > https://s16.postimg.org/otwkf5zzp/appoint_operator.png
> )
> > or
> > > > in
> > > > > > the
> > > > > > > > > > > Administration Panel (
> > > > > > > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor.
> png
> > )
> > > > and
> > > > > > they
> > > > > > > > > show
> > > > > > > > > > up
> > > > > > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > > > but they do not show up in the Administration Panel (
> > > > > > > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png).
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > > > >
> > > > > > > > > > > > I identified a few more issues - please replace the
> > files
> > > > > that
> > > > > > > have
> > > > > > > > > > been
> > > > > > > > > > > > fixed in the following revision:
> > > > > > > > > > > >
> > > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > revision/541
> > > > > > > > > > > >
> > > > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > > > >
> > > > > > > > > > > > Adam
> > > > > > > > > > > >
> > > > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > Nevermind my last e-mail. The timezone problem is
> > > solved.
> > > > > > > > > > > > > But I still cannot see the made appointments in the
> > > > > > > > Administration
> > > > > > > > > > > Panel.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost van der Horst
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > Maybe I don't see the appointments because of a
> > > > timezone
> > > > > > > error.
> > > > > > > > > > > > > > In the default time shift settings I set the
> times
> > in
> > > > the
> > > > > > > local
> > > > > > > > > > > > timezone
> > > > > > > > > > > > > (
> > > > > > > > > > > > > > https://s21.postimg.org/o8t9ymw93/timezone1.png
> ),
> > > but
> > > > in
> > > > > > the
> > > > > > > > > user
> > > > > > > > > > > > > > interface
> > > > > > > > > > > > > > of the operators the time settings change to
> other
> > > > times
> > > > > (
> > > > > > > > > > > > > > https://s12.postimg.org/5xfwm504t/timezone2.png
> ),
> > I
> > > > > guess
> > > > > > > > > because
> > > > > > > > > > of
> > > > > > > > > > > > > > another timezone setting? The "current time"
> > however
> > > is
> > > > > in
> > > > > > my
> > > > > > > > own
> > > > > > > > > > > > > timezone,
> > > > > > > > > > > > > > leading to "no shifts available" and thus no
> cases
> > > for
> > > > > the
> > > > > > > > > > operator.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Funny thing is that when I keep the user
> interface
> > > open
> > > > > in
> > > > > > my
> > > > > > > > > > browser
> > > > > > > > > > > > and
> > > > > > > > > > > > > > login to the Administration Panel in another tab
> > > > (causing
> > > > > > the
> > > > > > > > > > > operator
> > > > > > > > > > > > to
> > > > > > > > > > > > > > "log off"), the "current time" in the user
> > interface
> > > of
> > > > > the
> > > > > > > > > > operator
> > > > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > > > <question375015@answers.
> > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > > > I ran a few tests and the user interface works
> > > fine:
> > > > > > > > operators
> > > > > > > > > > can
> > > > > > > > > > > > > call a
> > > > > > > > > > > > > > > respondent / case, complete a survey, make an
> > > > > appointment
> > > > > > > or
> > > > > > > > > > choose
> > > > > > > > > > > > > > another
> > > > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > > > When appointments are made, the operators see
> > those
> > > > > > > > > appointments
> > > > > > > > > > in
> > > > > > > > > > > > > their
> > > > > > > > > > > > > > > display when the specific case is selected for
> > > them (
> > > > > > > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png).
> > > These
> > > > > > cases
> > > > > > > > are
> > > > > > > > > > > > selected
> > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > the operators on the right time (the time slot
> in
> > > > which
> > > > > > > they
> > > > > > > > > > > planned
> > > > > > > > > > > > an
> > > > > > > > > > > > > > > appointment).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The appointments however are not shown in the
> > > > > > > Administration
> > > > > > > > > > Panel
> > > > > > > > > > > (
> > > > > > > > > > > > > > > https://s9.postimg.org/
> > 3p9ja8djj/appointments.png
> > > ),
> > > > > but
> > > > > > > > when I
> > > > > > > > > > > > lookup
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png).
> > (the
> > > > > > > > appointment
> > > > > > > > > is
> > > > > > > > > > > > also
> > > > > > > > > > > > > > > shown
> > > > > > > > > > > > > > > in the user interface of the operators, see the
> > > first
> > > > > > > > > > screenshot).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > It doesn't bother me much, because everything
> > seems
> > > > to
> > > > > be
> > > > > > > > > working
> > > > > > > > > > > > fine
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > I have taken a lot of your time already, but
> > since
> > > > you
> > > > > > > asked
> > > > > > > > to
> > > > > > > > > > > keep
> > > > > > > > > > > > > you
> > > > > > > > > > > > > > > informed about related issues: maybe this is
> one.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > > Another related bug - please replace the
> file:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > with:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > org.au-20160907013554-
> > > > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > 252Fadmin%252Faddshift.php/
> > > > > > > > > > addshift.php
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > > > According to the manual the default shift
> > times
> > > > > > should
> > > > > > > > show
> > > > > > > > > > up
> > > > > > > > > > > at
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > management panel (
> https://www.acspri.org.au/
> > > > > node/669
> > > > > > ).
> > > > > > > I
> > > > > > > > > > have
> > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > > > > a6un18k2p/default.png
> > > > > > > > ),
> > > > > > > > > > but
> > > > > > > > > > > > > they
> > > > > > > > > > > > > > do
> > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > > > gzkkipdpn/shifts.png
> > > > > > ).
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I don't know if it is related but I
> cannot
> > > add
> > > > > > shifts
> > > > > > > > in
> > > > > > > > > my
> > > > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > > > I've made a survey in the
> queXS-integrated
> > > > > > > Limesurvey,
> > > > > > > > > > > imported
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > > > sample to it, assigned an operator to it,
> > but
> > > > the
> > > > > > > > > operator
> > > > > > > > > > > gets
> > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > > > I've made a screenshot:
> > > > https://s15.postimg.org/
> > > > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > > > this somehow related to my mysql version?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's
> > working
> > > > > like a
> > > > > > > > charm
> > > > > > > > > > > now!
> > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam
> > > Zammit <
> > > > > > > > > > > > > > > > > > > <email address hidden>>
> > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> changed:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Adam Zammit proposed the following
> > > answer:
> > > > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Looks like the query isn't compatible
> > > with
> > > > > the
> > > > > > > SQL
> > > > > > > > > mode
> > > > > > > > > > > > that
> > > > > > > > > > > > > is
> > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I have made a fix - please replace
> the
> > > file
> > > > > > > > > > admin/new.php
> > > > > > > > > > > > > with
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-
> > 7450-0410
> > > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Also please let me know if you find
> any
> > > > > related
> > > > > > > > > issues
> > > > > > > > > > -
> > > > > > > > > > > I
> > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > If this answers your question, please
> > go
> > > to
> > > > > the
> > > > > > > > > > following
> > > > > > > > > > > > > page
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you still need help, you can reply
> > to
> > > > this
> > > > > > > email
> > > > > > > > > or
> > > > > > > > > > go
> > > > > > > > > > > > to
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > following page to enter your
> feedback:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > You received this question
> notification
> > > > > because
> > > > > > > you
> > > > > > > > > > asked
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > You received this question notification
> > > > because
> > > > > > you
> > > > > > > > > asked
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > > asked
> > > > > > > > > > the
> > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > are
> > > > > > > > an
> > > > > > > > > > > answer
> > > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > > Research and Development Officer, Survey
> > > > Methodology
> > > > > > > > > > > > > > > > Australian Consortium for Social and
> Political
> > > > > Research
> > > > > > > > Inc.
> > > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > are
> > > > an
> > > > > > > answer
> > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > > Australian Consortium for Social and Political
> Research
> > > > Inc.
> > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > >
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you are
> > an
> > > > > answer
> > > > > > > > > > > contact for queXS.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Adam Zammit
> > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > Australian Consortium for Social and Political Research
> > Inc.
> > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > >
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you are an
> > > answer
> > > > > > > > > contact for queXS.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Adam Zammit
> > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > > +61 3 9013 9653
> > > > > > > > http://www.acspri.org.au/
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #28

Hello Joost,

Please make sure you have defined an AAPOR ID (this can be any number if
you are not sure), and the default delay in minutes, and a value on the
calc field as these are all required.

Adam

On 27 September 2016 at 02:33, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> Sorry for mailing you once again, but I found another problem. When I add a
> new outcome (http://s14.postimg.org/oy7npmsbl/add_outcome.png) it doesn't
> get added to the list (http://s18.postimg.org/luvky8yex/add_outcome_2.png
> ).
> Is this problem related to the ones earlier?
>
> Kind Regards,
> Joost
>
> On Sat, Sep 17, 2016 at 12:17 AM, Joost <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > Thanks, it's working now!!!! :)
> >
> > Kind Regards,
> > Joost
> >
> > Op 16 sep. 2016 1:57 a.m. schreef "Adam Zammit" <
> > <email address hidden>>:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Thank you Joost,
> > >
> > > Please try with this updated displayappointments.php file:
> > >
> > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > download/adam.zammit%40acspri.org.au-20160915235017-
> > > whnxj4v11z539z2x/5%40fd4a0071-7450-0410
> > > -a91b-
> > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > displayappointments.php
> > >
> > > Adam
> > >
> > > On 16 September 2016 at 00:57, Joost <question375015@answers.
> > launchpad.net
> > > >
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > I get two similar errors:
> > > >
> > > > 1:
> > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP
> BY
> > > > clause and contains nonaggregated column 'quexs.a.start' which is not
> > > > functionally dependent on columns in GROUP BY clause; this is
> > > incompatible
> > > > with sql_mode=only_full_group_by
> > > >
> > > >
> > > > 2:
> > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP
> BY
> > > > clause and contains nonaggregated column 'quexs.a.start' which is not
> > > > functionally dependent on columns in GROUP BY clause; this is
> > > incompatible
> > > > with sql_mode=only_full_group_by
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > >
> > > > On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > Hi again Joost,
> > > > >
> > > > > Can you please try the following SQL queries directly against the
> > > > database
> > > > > and see if any errors are reported?
> > > > >
> > > > > Query 1:
> > > > >
> > > > > SELECT MIN(q.description) as description, MIN(si.description) as
> > smpl,
> > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > MIN(oo.firstName)
> > > as
> > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > > c.case_id,
> > > > > '</a>') as case_id,
> > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > text-danger\'
> > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > data-placement=\'left\'
> > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as
> link,
> > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > '&amp;appointment_id=',
> > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> operator'))
> > as
> > > > > witho
> > > > > FROM appointment as a
> > > > > JOIN (`case` as c, respondent as r, questionnaire as q, operator as
> > oo,
> > > > > call_attempt as cc, operator as co, `sample` as s, sample_import as
> > si)
> > > > on
> > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > a.respondent_id =
> > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > oo.operator_id
> > > > > and si.sample_import_id = s.import_id)
> > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > (ca.call_id =
> > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > ca.operator_id
> > > > =
> > > > > ooo.operator_id)
> > > > > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > > > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> (s.import_id =
> > > > > qsqr.sample_import_id and c.questionnaire_id =
> > qsqr.questionnaire_id)
> > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > AND co.operator_id = '1'
> > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > >
> > > > >
> > > > > Query 2:
> > > > >
> > > > > SELECT MIN(q.description) as description, MIN(si.description) as
> > smpl,
> > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > MIN(oo.firstName)
> > > as
> > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > > > > c.case_id, '</a>')) as case_id,
> > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > text-danger\'
> > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > data-placement=\'left\'
> > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as
> link,
> > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > '&amp;appointment_id=',
> > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> operator'))
> > as
> > > > > witho
> > > > > FROM appointment as a
> > > > > JOIN (`case` as c, respondent as r, questionnaire as q, operator as
> > oo,
> > > > > call_attempt as cc, operator as co, `sample` as s, sample_import as
> > si)
> > > > on
> > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > a.respondent_id =
> > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > oo.operator_id
> > > > > and si.sample_import_id = s.import_id)
> > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > (ca.call_id =
> > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > ca.operator_id
> > > > =
> > > > > ooo.operator_id)
> > > > > LEFT JOIN operator AS ao ON ao.operator_id = a.require_operator_id
> > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > > > qsq.sample_import_id and c.questionnaire_id = qsq.questionnaire_id)
> > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> (s.import_id =
> > > > > qsqr.sample_import_id and c.questionnaire_id =
> > qsqr.questionnaire_id)
> > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > AND co.operator_id = '1'
> > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > >
> > > > >
> > > > > Thank you again for your assistance.
> > > > >
> > > > > Adam
> > > > >
> > > > >
> > > > > On 14 September 2016 at 21:37, Joost <question375015@answers.
> > > > launchpad.net
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Hi Adam,
> > > > > >
> > > > > > I replaced admin/displayappointments.php and confirmed that the
> > > logged
> > > > in
> > > > > > user has a valid timezone, but the appointments still do not show
> > up.
> > > > > > Adding "die($sql);" after line 310 results in:
> > > > > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > > > > >
> > > > > > In the administration panel admin/displayappointments.php shows
> "no
> > > > > future
> > > > > > appointments". I looked that part up in the code and I think that
> > > line
> > > > is
> > > > > > showing when the query turns out to be empty? ("if
> (!empty($rs))" a
> > > > > > xhtml_table function is called and "else print "[...] No future
> > > > > > appointments")
> > > > > >
> > > > > > I compared admin/supervisor.php (which is working) and
> > > > > > admin/displayappointments.php and found out that somewhere in the
> > > code
> > > > > > there is a part that seem to be alike, but is different in one of
> > the
> > > > > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > > > > displayappointments.php there is only "CONCAT" (see:
> > > > > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > > > > displayappointments.png).
> > > > > > Could this be (part of) the problem? I'm certainly no programmer,
> > my
> > > > > > knowledge of coding is not very strong, so I'm not sure what to
> do
> > > > next.
> > > > > >
> > > > > > Kind regards,
> > > > > > Joost
> > > > > >
> > > > > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > > > > <email address hidden>> wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Adam Zammit posted a new comment:
> > > > > > > The important file to replace is admin/displayappointments.php
> > from
> > > > > > > here:
> > > > > > >
> > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > download/head:/5%40fd4a0071-7450-0410
> > > > > > > -a91b-
> > > > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > > > displayappointments.php
> > > > > > >
> > > > > > > If appointments still are not showing up - please confirm that
> > you
> > > > have
> > > > > > > assigned the logged in user a valid timezone (edit the user
> > > settings
> > > > to
> > > > > > > check).
> > > > > > >
> > > > > > > Otherwise if you could please attempt to run the SQL query
> > directly
> > > > by
> > > > > > > adding the following line to displayappointments.php:
> > > > > > >
> > > > > > > die($sql);
> > > > > > >
> > > > > > > after line 310 which says:
> > > > > > >
> > > > > > > $rs = $db->GetAll($sql);
> > > > > > >
> > > > > > > And then checking for appointments again - the web page will
> have
> > > the
> > > > > SQL
> > > > > > > code printed instead and you can test it to see if an error is
> > > > > produced.
> > > > > > >
> > > > > > > Thanks again for your patience with this testing.
> > > > > > >
> > > > > > > Adam
> > > > > > >
> > > > > > > On 13 September 2016 at 21:22, Joost <question375015@answers.
> > > > > > launchpad.net
> > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > I've created a new appointment with the operator 'Ake' (
> > > > > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_
> operator.png
> > ).
> > > > This
> > > > > > > > appointment came up in the case overview (
> > > > > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_
> > > overview.png
> > > > ),
> > > > > > but
> > > > > > > > isn't showing up in the Administration Panel (
> > > > > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > > > > administration_panel.png
> > > > > > > > ).
> > > > > > > >
> > > > > > > > Kind Regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > PS
> > > > > > > > I just replaced the three files that were changed in this
> > > revision
> > > > > (the
> > > > > > > > time before that I changed the 7 files from revision 541).
> Do I
> > > > have
> > > > > to
> > > > > > > > replace all the files or restart something?
> > > > > > > >
> > > > > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > > > > <email address hidden>> wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > Hi Joost,
> > > > > > > > >
> > > > > > > > > I am unable to replicate this after the update. Can you
> > please
> > > > try
> > > > > > > > creating
> > > > > > > > > new appointments and see if they now show up?
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Adam Zammit
> > > > > > > > >
> > > > > > > > > On 13 September 2016 at 07:08, Joost
> <question375015@answers.
> > > > > > > > launchpad.net
> > > > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > Hi Adam,
> > > > > > > > > >
> > > > > > > > > > I replaced the files, but I'm still getting the same
> > error...
> > > > > (the
> > > > > > > > > > appointments do not show up in the Administration Panel)
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > > > > <email address hidden>>:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > Hi Joost,
> > > > > > > > > > >
> > > > > > > > > > > Thanks for your persistence!
> > > > > > > > > > >
> > > > > > > > > > > Please try the files changed in the latest revision:
> > > > > > > > > > >
> > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > revision/542
> > > > > > > > > > >
> > > > > > > > > > > Adam
> > > > > > > > > > >
> > > > > > > > > > > On 9 September 2016 at 00:22, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > I still do not see appointments in the Administration
> > > > Panel.
> > > > > I
> > > > > > > can
> > > > > > > > > make
> > > > > > > > > > > an
> > > > > > > > > > > > appointment in the user interface of the operator (
> > > > > > > > > > > > https://s16.postimg.org/
> otwkf5zzp/appoint_operator.png
> > )
> > > or
> > > > > in
> > > > > > > the
> > > > > > > > > > > > Administration Panel (
> > > > > > > > > > > > https://s13.postimg.org/levymw75j/appoint_supervisor
> .
> > png
> > > )
> > > > > and
> > > > > > > they
> > > > > > > > > > show
> > > > > > > > > > > up
> > > > > > > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > > > > but they do not show up in the Administration Panel (
> > > > > > > > > > > > https://s10.postimg.org/6nsjxmyg9/displayappoint.png
> ).
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I identified a few more issues - please replace the
> > > files
> > > > > > that
> > > > > > > > have
> > > > > > > > > > > been
> > > > > > > > > > > > > fixed in the following revision:
> > > > > > > > > > > > >
> > > > > > > > > > > > > https://bazaar.launchpad.net/~
> adamzammit/quexs/main/
> > > > > > > revision/541
> > > > > > > > > > > > >
> > > > > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > Nevermind my last e-mail. The timezone problem is
> > > > solved.
> > > > > > > > > > > > > > But I still cannot see the made appointments in
> the
> > > > > > > > > Administration
> > > > > > > > > > > > Panel.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost van der Horst
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > > > > <question375015@answers.
> > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > Maybe I don't see the appointments because of a
> > > > > timezone
> > > > > > > > error.
> > > > > > > > > > > > > > > In the default time shift settings I set the
> > times
> > > in
> > > > > the
> > > > > > > > local
> > > > > > > > > > > > > timezone
> > > > > > > > > > > > > > (
> > > > > > > > > > > > > > > https://s21.postimg.org/
> o8t9ymw93/timezone1.png
> > ),
> > > > but
> > > > > in
> > > > > > > the
> > > > > > > > > > user
> > > > > > > > > > > > > > > interface
> > > > > > > > > > > > > > > of the operators the time settings change to
> > other
> > > > > times
> > > > > > (
> > > > > > > > > > > > > > > https://s12.postimg.org/
> 5xfwm504t/timezone2.png
> > ),
> > > I
> > > > > > guess
> > > > > > > > > > because
> > > > > > > > > > > of
> > > > > > > > > > > > > > > another timezone setting? The "current time"
> > > however
> > > > is
> > > > > > in
> > > > > > > my
> > > > > > > > > own
> > > > > > > > > > > > > > timezone,
> > > > > > > > > > > > > > > leading to "no shifts available" and thus no
> > cases
> > > > for
> > > > > > the
> > > > > > > > > > > operator.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Funny thing is that when I keep the user
> > interface
> > > > open
> > > > > > in
> > > > > > > my
> > > > > > > > > > > browser
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > login to the Administration Panel in another
> tab
> > > > > (causing
> > > > > > > the
> > > > > > > > > > > > operator
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > "log off"), the "current time" in the user
> > > interface
> > > > of
> > > > > > the
> > > > > > > > > > > operator
> > > > > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > > > > I ran a few tests and the user interface
> works
> > > > fine:
> > > > > > > > > operators
> > > > > > > > > > > can
> > > > > > > > > > > > > > call a
> > > > > > > > > > > > > > > > respondent / case, complete a survey, make an
> > > > > > appointment
> > > > > > > > or
> > > > > > > > > > > choose
> > > > > > > > > > > > > > > another
> > > > > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > > > > When appointments are made, the operators see
> > > those
> > > > > > > > > > appointments
> > > > > > > > > > > in
> > > > > > > > > > > > > > their
> > > > > > > > > > > > > > > > display when the specific case is selected
> for
> > > > them (
> > > > > > > > > > > > > > > > https://s16.postimg.org/8w3z0x545/case2.png
> ).
> > > > These
> > > > > > > cases
> > > > > > > > > are
> > > > > > > > > > > > > selected
> > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > > the operators on the right time (the time
> slot
> > in
> > > > > which
> > > > > > > > they
> > > > > > > > > > > > planned
> > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > appointment).
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The appointments however are not shown in the
> > > > > > > > Administration
> > > > > > > > > > > Panel
> > > > > > > > > > > > (
> > > > > > > > > > > > > > > > https://s9.postimg.org/
> > > 3p9ja8djj/appointments.png
> > > > ),
> > > > > > but
> > > > > > > > > when I
> > > > > > > > > > > > > lookup
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png).
> > > (the
> > > > > > > > > appointment
> > > > > > > > > > is
> > > > > > > > > > > > > also
> > > > > > > > > > > > > > > > shown
> > > > > > > > > > > > > > > > in the user interface of the operators, see
> the
> > > > first
> > > > > > > > > > > screenshot).
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > It doesn't bother me much, because everything
> > > seems
> > > > > to
> > > > > > be
> > > > > > > > > > working
> > > > > > > > > > > > > fine
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > I have taken a lot of your time already, but
> > > since
> > > > > you
> > > > > > > > asked
> > > > > > > > > to
> > > > > > > > > > > > keep
> > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > informed about related issues: maybe this is
> > one.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam Zammit <
> > > > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > > > Another related bug - please replace the
> > file:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > with:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > org.au-20160907013554-
> > > > > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > 252Fadmin%252Faddshift.php/
> > > > > > > > > > > addshift.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > > > > According to the manual the default shift
> > > times
> > > > > > > should
> > > > > > > > > show
> > > > > > > > > > > up
> > > > > > > > > > > > at
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > management panel (
> > https://www.acspri.org.au/
> > > > > > node/669
> > > > > > > ).
> > > > > > > > I
> > > > > > > > > > > have
> > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > > > > > a6un18k2p/default.png
> > > > > > > > > ),
> > > > > > > > > > > but
> > > > > > > > > > > > > > they
> > > > > > > > > > > > > > > do
> > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > > > > gzkkipdpn/shifts.png
> > > > > > > ).
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I don't know if it is related but I
> > cannot
> > > > add
> > > > > > > shifts
> > > > > > > > > in
> > > > > > > > > > my
> > > > > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > > > > I've made a survey in the
> > queXS-integrated
> > > > > > > > Limesurvey,
> > > > > > > > > > > > imported
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > > > > sample to it, assigned an operator to
> it,
> > > but
> > > > > the
> > > > > > > > > > operator
> > > > > > > > > > > > gets
> > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > > > > I've made a screenshot:
> > > > > https://s15.postimg.org/
> > > > > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > > > > this somehow related to my mysql
> version?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> changed:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's
> > > working
> > > > > > like a
> > > > > > > > > charm
> > > > > > > > > > > > now!
> > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM, Adam
> > > > Zammit <
> > > > > > > > > > > > > > > > > > > > <email address hidden>
> >
> > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > changed:
> > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Adam Zammit proposed the following
> > > > answer:
> > > > > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Looks like the query isn't
> compatible
> > > > with
> > > > > > the
> > > > > > > > SQL
> > > > > > > > > > mode
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I have made a fix - please replace
> > the
> > > > file
> > > > > > > > > > > admin/new.php
> > > > > > > > > > > > > > with
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-
> > > 7450-0410
> > > > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Also please let me know if you find
> > any
> > > > > > related
> > > > > > > > > > issues
> > > > > > > > > > > -
> > > > > > > > > > > > I
> > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > If this answers your question,
> please
> > > go
> > > > to
> > > > > > the
> > > > > > > > > > > following
> > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If you still need help, you can
> reply
> > > to
> > > > > this
> > > > > > > > email
> > > > > > > > > > or
> > > > > > > > > > > go
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > following page to enter your
> > feedback:
> > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > You received this question
> > notification
> > > > > > because
> > > > > > > > you
> > > > > > > > > > > asked
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > You received this question
> notification
> > > > > because
> > > > > > > you
> > > > > > > > > > asked
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > You received this question notification
> > > > because
> > > > > > you
> > > > > > > > > asked
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > are
> > > > > > > > > an
> > > > > > > > > > > > answer
> > > > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > > > Research and Development Officer, Survey
> > > > > Methodology
> > > > > > > > > > > > > > > > > Australian Consortium for Social and
> > Political
> > > > > > Research
> > > > > > > > > Inc.
> > > > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > > asked
> > > > > > > > > the
> > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > are
> > > > > an
> > > > > > > > answer
> > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > Research and Development Officer, Survey
> Methodology
> > > > > > > > > > > > > Australian Consortium for Social and Political
> > Research
> > > > > Inc.
> > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > >
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> are
> > > an
> > > > > > answer
> > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Adam Zammit
> > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > Australian Consortium for Social and Political Research
> > > Inc.
> > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > >
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you are
> an
> > > > answer
> > > > > > > > > > contact for queXS.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Adam Zammit
> > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > Australian Consortium for Social and Political Research
> Inc.
> > > > > > > > > +61 3 9013 9653
> > > > > > > > > http://www.acspri.org.au/
> > > > > > > > >
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you are an
> > answer
> > > > > > > > contact for queXS.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Adam Zammit
> > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > +61 3 9013 9653
> > > > > > > http://www.acspri.org.au/
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #29

Hi Adam,

I didn't know what to enter in the AAPOR ID and calculation fields. Your
website (https://quexs.acspri.org.au/call-outcomes) got me in the right
direction. I found different characters in the calc column (e.g. UH, O, R),
but still didn't have any clue about the meaning of those characters.
Google is my friend and luckily I came across a document with standard
definitions for final dispositions of case codes and outcome rates for
surveys (
http://www.aapor.org/AAPOR_Main/media/publications/Standard-Definitions20169theditionfinal.pdf
).

I've added a new test outcome with calc code 'R', AAPOR ID '2.30' and '0'
default delay in minutes (https://s11.postimg.org/6g2r4rfmb/add_outcome.png),
but I'm still getting the same error (
https://s22.postimg.org/v1tl7nky9/add_outcome_2.png).

Kind regards,
Joost

On Tue, Sep 27, 2016 at 1:57 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Hello Joost,
>
> Please make sure you have defined an AAPOR ID (this can be any number if
> you are not sure), and the default delay in minutes, and a value on the
> calc field as these are all required.
>
> Adam
>
> On 27 September 2016 at 02:33, Joost <<email address hidden>
> >
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > Sorry for mailing you once again, but I found another problem. When I
> add a
> > new outcome (http://s14.postimg.org/oy7npmsbl/add_outcome.png) it
> doesn't
> > get added to the list (http://s18.postimg.org/
> luvky8yex/add_outcome_2.png
> > ).
> > Is this problem related to the ones earlier?
> >
> > Kind Regards,
> > Joost
> >
> > On Sat, Sep 17, 2016 at 12:17 AM, Joost <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > Thanks, it's working now!!!! :)
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > Op 16 sep. 2016 1:57 a.m. schreef "Adam Zammit" <
> > > <email address hidden>>:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Adam Zammit posted a new comment:
> > > > Thank you Joost,
> > > >
> > > > Please try with this updated displayappointments.php file:
> > > >
> > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > download/adam.zammit%40acspri.org.au-20160915235017-
> > > > whnxj4v11z539z2x/5%40fd4a0071-7450-0410
> > > > -a91b-
> > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > displayappointments.php
> > > >
> > > > Adam
> > > >
> > > > On 16 September 2016 at 00:57, Joost <question375015@answers.
> > > launchpad.net
> > > > >
> > > > wrote:
> > > >
> > > > > Question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Hi Adam,
> > > > >
> > > > > I get two similar errors:
> > > > >
> > > > > 1:
> > > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in
> GROUP
> > BY
> > > > > clause and contains nonaggregated column 'quexs.a.start' which is
> not
> > > > > functionally dependent on columns in GROUP BY clause; this is
> > > > incompatible
> > > > > with sql_mode=only_full_group_by
> > > > >
> > > > >
> > > > > 2:
> > > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in
> GROUP
> > BY
> > > > > clause and contains nonaggregated column 'quexs.a.start' which is
> not
> > > > > functionally dependent on columns in GROUP BY clause; this is
> > > > incompatible
> > > > > with sql_mode=only_full_group_by
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > >
> > > > > On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> > > > > <email address hidden>> wrote:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > Hi again Joost,
> > > > > >
> > > > > > Can you please try the following SQL queries directly against the
> > > > > database
> > > > > > and see if any errors are reported?
> > > > > >
> > > > > > Query 1:
> > > > > >
> > > > > > SELECT MIN(q.description) as description, MIN(si.description) as
> > > smpl,
> > > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > > MIN(oo.firstName)
> > > > as
> > > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > > > c.case_id,
> > > > > > '</a>') as case_id,
> > > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > > text-danger\'
> > > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > > data-placement=\'left\'
> > > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as
> > link,
> > > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > > '&amp;appointment_id=',
> > > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> > operator'))
> > > as
> > > > > > witho
> > > > > > FROM appointment as a
> > > > > > JOIN (`case` as c, respondent as r, questionnaire as q, operator
> as
> > > oo,
> > > > > > call_attempt as cc, operator as co, `sample` as s, sample_import
> as
> > > si)
> > > > > on
> > > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > > a.respondent_id =
> > > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > > oo.operator_id
> > > > > > and si.sample_import_id = s.import_id)
> > > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > > (ca.call_id =
> > > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > > ca.operator_id
> > > > > =
> > > > > > ooo.operator_id)
> > > > > > LEFT JOIN operator AS ao ON ao.operator_id =
> a.require_operator_id
> > > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > > > > qsq.sample_import_id and c.questionnaire_id =
> qsq.questionnaire_id)
> > > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> > (s.import_id =
> > > > > > qsqr.sample_import_id and c.questionnaire_id =
> > > qsqr.questionnaire_id)
> > > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > > AND co.operator_id = '1'
> > > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > > >
> > > > > >
> > > > > > Query 2:
> > > > > >
> > > > > > SELECT MIN(q.description) as description, MIN(si.description) as
> > > smpl,
> > > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > > MIN(oo.firstName)
> > > > as
> > > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id,
> '\'>',
> > > > > > c.case_id, '</a>')) as case_id,
> > > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > > text-danger\'
> > > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > > data-placement=\'left\'
> > > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as
> > link,
> > > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > > '&amp;appointment_id=',
> > > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> > operator'))
> > > as
> > > > > > witho
> > > > > > FROM appointment as a
> > > > > > JOIN (`case` as c, respondent as r, questionnaire as q, operator
> as
> > > oo,
> > > > > > call_attempt as cc, operator as co, `sample` as s, sample_import
> as
> > > si)
> > > > > on
> > > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > > a.respondent_id =
> > > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > > oo.operator_id
> > > > > > and si.sample_import_id = s.import_id)
> > > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > > (ca.call_id =
> > > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > > ca.operator_id
> > > > > =
> > > > > > ooo.operator_id)
> > > > > > LEFT JOIN operator AS ao ON ao.operator_id =
> a.require_operator_id
> > > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id =
> > > > > > qsq.sample_import_id and c.questionnaire_id =
> qsq.questionnaire_id)
> > > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> > (s.import_id =
> > > > > > qsqr.sample_import_id and c.questionnaire_id =
> > > qsqr.questionnaire_id)
> > > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > > AND co.operator_id = '1'
> > > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > > >
> > > > > >
> > > > > > Thank you again for your assistance.
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > >
> > > > > > On 14 September 2016 at 21:37, Joost <question375015@answers.
> > > > > launchpad.net
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Hi Adam,
> > > > > > >
> > > > > > > I replaced admin/displayappointments.php and confirmed that the
> > > > logged
> > > > > in
> > > > > > > user has a valid timezone, but the appointments still do not
> show
> > > up.
> > > > > > > Adding "die($sql);" after line 310 results in:
> > > > > > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > > > > > >
> > > > > > > In the administration panel admin/displayappointments.php shows
> > "no
> > > > > > future
> > > > > > > appointments". I looked that part up in the code and I think
> that
> > > > line
> > > > > is
> > > > > > > showing when the query turns out to be empty? ("if
> > (!empty($rs))" a
> > > > > > > xhtml_table function is called and "else print "[...] No future
> > > > > > > appointments")
> > > > > > >
> > > > > > > I compared admin/supervisor.php (which is working) and
> > > > > > > admin/displayappointments.php and found out that somewhere in
> the
> > > > code
> > > > > > > there is a part that seem to be alike, but is different in one
> of
> > > the
> > > > > > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > > > > > displayappointments.php there is only "CONCAT" (see:
> > > > > > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > > > > > displayappointments.png).
> > > > > > > Could this be (part of) the problem? I'm certainly no
> programmer,
> > > my
> > > > > > > knowledge of coding is not very strong, so I'm not sure what to
> > do
> > > > > next.
> > > > > > >
> > > > > > > Kind regards,
> > > > > > > Joost
> > > > > > >
> > > > > > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > > > > > <email address hidden>> wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > The important file to replace is
> admin/displayappointments.php
> > > from
> > > > > > > > here:
> > > > > > > >
> > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > download/head:/5%40fd4a0071-7450-0410
> > > > > > > > -a91b-
> > > > > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > > > > displayappointments.php
> > > > > > > >
> > > > > > > > If appointments still are not showing up - please confirm
> that
> > > you
> > > > > have
> > > > > > > > assigned the logged in user a valid timezone (edit the user
> > > > settings
> > > > > to
> > > > > > > > check).
> > > > > > > >
> > > > > > > > Otherwise if you could please attempt to run the SQL query
> > > directly
> > > > > by
> > > > > > > > adding the following line to displayappointments.php:
> > > > > > > >
> > > > > > > > die($sql);
> > > > > > > >
> > > > > > > > after line 310 which says:
> > > > > > > >
> > > > > > > > $rs = $db->GetAll($sql);
> > > > > > > >
> > > > > > > > And then checking for appointments again - the web page will
> > have
> > > > the
> > > > > > SQL
> > > > > > > > code printed instead and you can test it to see if an error
> is
> > > > > > produced.
> > > > > > > >
> > > > > > > > Thanks again for your patience with this testing.
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > > On 13 September 2016 at 21:22, Joost <question375015@answers.
> > > > > > > launchpad.net
> > > > > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > I've created a new appointment with the operator 'Ake' (
> > > > > > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_
> > operator.png
> > > ).
> > > > > This
> > > > > > > > > appointment came up in the case overview (
> > > > > > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_
> > > > overview.png
> > > > > ),
> > > > > > > but
> > > > > > > > > isn't showing up in the Administration Panel (
> > > > > > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > > > > > administration_panel.png
> > > > > > > > > ).
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > PS
> > > > > > > > > I just replaced the three files that were changed in this
> > > > revision
> > > > > > (the
> > > > > > > > > time before that I changed the 7 files from revision 541).
> > Do I
> > > > > have
> > > > > > to
> > > > > > > > > replace all the files or restart something?
> > > > > > > > >
> > > > > > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > > > > > <email address hidden>> wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > Hi Joost,
> > > > > > > > > >
> > > > > > > > > > I am unable to replicate this after the update. Can you
> > > please
> > > > > try
> > > > > > > > > creating
> > > > > > > > > > new appointments and see if they now show up?
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Adam Zammit
> > > > > > > > > >
> > > > > > > > > > On 13 September 2016 at 07:08, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net
> > > > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > Hi Adam,
> > > > > > > > > > >
> > > > > > > > > > > I replaced the files, but I'm still getting the same
> > > error...
> > > > > > (the
> > > > > > > > > > > appointments do not show up in the Administration
> Panel)
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > > > > > <email address hidden>>:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks for your persistence!
> > > > > > > > > > > >
> > > > > > > > > > > > Please try the files changed in the latest revision:
> > > > > > > > > > > >
> > > > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > revision/542
> > > > > > > > > > > >
> > > > > > > > > > > > Adam
> > > > > > > > > > > >
> > > > > > > > > > > > On 9 September 2016 at 00:22, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > I still do not see appointments in the
> Administration
> > > > > Panel.
> > > > > > I
> > > > > > > > can
> > > > > > > > > > make
> > > > > > > > > > > > an
> > > > > > > > > > > > > appointment in the user interface of the operator (
> > > > > > > > > > > > > https://s16.postimg.org/
> > otwkf5zzp/appoint_operator.png
> > > )
> > > > or
> > > > > > in
> > > > > > > > the
> > > > > > > > > > > > > Administration Panel (
> > > > > > > > > > > > > https://s13.postimg.org/
> levymw75j/appoint_supervisor
> > .
> > > png
> > > > )
> > > > > > and
> > > > > > > > they
> > > > > > > > > > > show
> > > > > > > > > > > > up
> > > > > > > > > > > > > in the case information (https://s11.postimg.org/
> > > > > > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > > > > > but they do not show up in the Administration
> Panel (
> > > > > > > > > > > > > https://s10.postimg.org/
> 6nsjxmyg9/displayappoint.png
> > ).
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I identified a few more issues - please replace
> the
> > > > files
> > > > > > > that
> > > > > > > > > have
> > > > > > > > > > > > been
> > > > > > > > > > > > > > fixed in the following revision:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > adamzammit/quexs/main/
> > > > > > > > revision/541
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > Nevermind my last e-mail. The timezone problem
> is
> > > > > solved.
> > > > > > > > > > > > > > > But I still cannot see the made appointments in
> > the
> > > > > > > > > > Administration
> > > > > > > > > > > > > Panel.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost van der Horst
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > Maybe I don't see the appointments because
> of a
> > > > > > timezone
> > > > > > > > > error.
> > > > > > > > > > > > > > > > In the default time shift settings I set the
> > > times
> > > > in
> > > > > > the
> > > > > > > > > local
> > > > > > > > > > > > > > timezone
> > > > > > > > > > > > > > > (
> > > > > > > > > > > > > > > > https://s21.postimg.org/
> > o8t9ymw93/timezone1.png
> > > ),
> > > > > but
> > > > > > in
> > > > > > > > the
> > > > > > > > > > > user
> > > > > > > > > > > > > > > > interface
> > > > > > > > > > > > > > > > of the operators the time settings change to
> > > other
> > > > > > times
> > > > > > > (
> > > > > > > > > > > > > > > > https://s12.postimg.org/
> > 5xfwm504t/timezone2.png
> > > ),
> > > > I
> > > > > > > guess
> > > > > > > > > > > because
> > > > > > > > > > > > of
> > > > > > > > > > > > > > > > another timezone setting? The "current time"
> > > > however
> > > > > is
> > > > > > > in
> > > > > > > > my
> > > > > > > > > > own
> > > > > > > > > > > > > > > timezone,
> > > > > > > > > > > > > > > > leading to "no shifts available" and thus no
> > > cases
> > > > > for
> > > > > > > the
> > > > > > > > > > > > operator.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Funny thing is that when I keep the user
> > > interface
> > > > > open
> > > > > > > in
> > > > > > > > my
> > > > > > > > > > > > browser
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > login to the Administration Panel in another
> > tab
> > > > > > (causing
> > > > > > > > the
> > > > > > > > > > > > > operator
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > "log off"), the "current time" in the user
> > > > interface
> > > > > of
> > > > > > > the
> > > > > > > > > > > > operator
> > > > > > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > > > > > I ran a few tests and the user interface
> > works
> > > > > fine:
> > > > > > > > > > operators
> > > > > > > > > > > > can
> > > > > > > > > > > > > > > call a
> > > > > > > > > > > > > > > > > respondent / case, complete a survey, make
> an
> > > > > > > appointment
> > > > > > > > > or
> > > > > > > > > > > > choose
> > > > > > > > > > > > > > > > another
> > > > > > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > > > > > When appointments are made, the operators
> see
> > > > those
> > > > > > > > > > > appointments
> > > > > > > > > > > > in
> > > > > > > > > > > > > > > their
> > > > > > > > > > > > > > > > > display when the specific case is selected
> > for
> > > > > them (
> > > > > > > > > > > > > > > > > https://s16.postimg.org/
> 8w3z0x545/case2.png
> > ).
> > > > > These
> > > > > > > > cases
> > > > > > > > > > are
> > > > > > > > > > > > > > selected
> > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > > > the operators on the right time (the time
> > slot
> > > in
> > > > > > which
> > > > > > > > > they
> > > > > > > > > > > > > planned
> > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > appointment).
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The appointments however are not shown in
> the
> > > > > > > > > Administration
> > > > > > > > > > > > Panel
> > > > > > > > > > > > > (
> > > > > > > > > > > > > > > > > https://s9.postimg.org/
> > > > 3p9ja8djj/appointments.png
> > > > > ),
> > > > > > > but
> > > > > > > > > > when I
> > > > > > > > > > > > > > lookup
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > > > > > > https://s15.postimg.org/6mb9c2yyz/case.png
> ).
> > > > (the
> > > > > > > > > > appointment
> > > > > > > > > > > is
> > > > > > > > > > > > > > also
> > > > > > > > > > > > > > > > > shown
> > > > > > > > > > > > > > > > > in the user interface of the operators, see
> > the
> > > > > first
> > > > > > > > > > > > screenshot).
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > It doesn't bother me much, because
> everything
> > > > seems
> > > > > > to
> > > > > > > be
> > > > > > > > > > > working
> > > > > > > > > > > > > > fine
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > I have taken a lot of your time already,
> but
> > > > since
> > > > > > you
> > > > > > > > > asked
> > > > > > > > > > to
> > > > > > > > > > > > > keep
> > > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > > informed about related issues: maybe this
> is
> > > one.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam
> Zammit <
> > > > > > > > > > > > > > > > > <email address hidden>>
> wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > > > > Another related bug - please replace the
> > > file:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > with:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > org.au-20160907013554-
> > > > > > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-7450-0410
> > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > 252Fadmin%252Faddshift.php/
> > > > > > > > > > > > addshift.php
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > > > > > According to the manual the default
> shift
> > > > times
> > > > > > > > should
> > > > > > > > > > show
> > > > > > > > > > > > up
> > > > > > > > > > > > > at
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > > management panel (
> > > https://www.acspri.org.au/
> > > > > > > node/669
> > > > > > > > ).
> > > > > > > > > I
> > > > > > > > > > > > have
> > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > > > > > > a6un18k2p/default.png
> > > > > > > > > > ),
> > > > > > > > > > > > but
> > > > > > > > > > > > > > > they
> > > > > > > > > > > > > > > > do
> > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > > > > > gzkkipdpn/shifts.png
> > > > > > > > ).
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> changed:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I don't know if it is related but I
> > > cannot
> > > > > add
> > > > > > > > shifts
> > > > > > > > > > in
> > > > > > > > > > > my
> > > > > > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > > > > > I've made a survey in the
> > > queXS-integrated
> > > > > > > > > Limesurvey,
> > > > > > > > > > > > > imported
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > > > > > sample to it, assigned an operator to
> > it,
> > > > but
> > > > > > the
> > > > > > > > > > > operator
> > > > > > > > > > > > > gets
> > > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > > > > > I've made a screenshot:
> > > > > > https://s15.postimg.org/
> > > > > > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > > > > > this somehow related to my mysql
> > version?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM, Joost
> > > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > changed:
> > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix, it's
> > > > working
> > > > > > > like a
> > > > > > > > > > charm
> > > > > > > > > > > > > now!
> > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM,
> Adam
> > > > > Zammit <
> > > > > > > > > > > > > > > > > > > > > question375015@answers.
> launchpad.net
> > >
> > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > > changed:
> > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Adam Zammit proposed the
> following
> > > > > answer:
> > > > > > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Looks like the query isn't
> > compatible
> > > > > with
> > > > > > > the
> > > > > > > > > SQL
> > > > > > > > > > > mode
> > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I have made a fix - please
> replace
> > > the
> > > > > file
> > > > > > > > > > > > admin/new.php
> > > > > > > > > > > > > > > with
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-
> > > > 7450-0410
> > > > > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Also please let me know if you
> find
> > > any
> > > > > > > related
> > > > > > > > > > > issues
> > > > > > > > > > > > -
> > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > If this answers your question,
> > please
> > > > go
> > > > > to
> > > > > > > the
> > > > > > > > > > > > following
> > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If you still need help, you can
> > reply
> > > > to
> > > > > > this
> > > > > > > > > email
> > > > > > > > > > > or
> > > > > > > > > > > > go
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > following page to enter your
> > > feedback:
> > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > You received this question
> > > notification
> > > > > > > because
> > > > > > > > > you
> > > > > > > > > > > > asked
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > You received this question
> > notification
> > > > > > because
> > > > > > > > you
> > > > > > > > > > > asked
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > You received this question
> notification
> > > > > because
> > > > > > > you
> > > > > > > > > > asked
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > You received this question notification
> > > > because
> > > > > > you
> > > > > > > > are
> > > > > > > > > > an
> > > > > > > > > > > > > answer
> > > > > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > > > > Research and Development Officer, Survey
> > > > > > Methodology
> > > > > > > > > > > > > > > > > > Australian Consortium for Social and
> > > Political
> > > > > > > Research
> > > > > > > > > > Inc.
> > > > > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > > asked
> > > > > > > > > > the
> > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > > asked
> > > > > > > > > the
> > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > are
> > > > > > an
> > > > > > > > > answer
> > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > Research and Development Officer, Survey
> > Methodology
> > > > > > > > > > > > > > Australian Consortium for Social and Political
> > > Research
> > > > > > Inc.
> > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > are
> > > > an
> > > > > > > answer
> > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > > Australian Consortium for Social and Political
> Research
> > > > Inc.
> > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > >
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you are
> > an
> > > > > answer
> > > > > > > > > > > contact for queXS.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Adam Zammit
> > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > Australian Consortium for Social and Political Research
> > Inc.
> > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > >
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you are an
> > > answer
> > > > > > > > > contact for queXS.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Adam Zammit
> > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > > +61 3 9013 9653
> > > > > > > > http://www.acspri.org.au/
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you are an answer
> > > > > contact for queXS.
> > > > >
> > > >
> > > >
> > > > --
> > > > Adam Zammit
> > > > Research and Development Officer, Survey Methodology
> > > > Australian Consortium for Social and Political Research Inc.
> > > > +61 3 9013 9653
> > > > http://www.acspri.org.au/
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #30

Hello Joost,

Thanks I have found the issue.

Please replace admin/set_outcomes.php with:

https://bazaar.launchpad.net/~adamzammit/quexs/main/download/adam.zammit%40acspri.org.au-20160928001230-8d871syn1gchhx55/set_outcomes.php-20150908101300-vum6avvkyu81j6di-1/set_outcomes.php

And also run the following SQL code on the database:

ALTER TABLE `outcome` AUTO_INCREMENT = 100;

Adam

On 27 September 2016 at 18:47, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> I didn't know what to enter in the AAPOR ID and calculation fields. Your
> website (https://quexs.acspri.org.au/call-outcomes) got me in the right
> direction. I found different characters in the calc column (e.g. UH, O, R),
> but still didn't have any clue about the meaning of those characters.
> Google is my friend and luckily I came across a document with standard
> definitions for final dispositions of case codes and outcome rates for
> surveys (
> http://www.aapor.org/AAPOR_Main/media/publications/Standard-
> Definitions20169theditionfinal.pdf
> ).
>
> I've added a new test outcome with calc code 'R', AAPOR ID '2.30' and '0'
> default delay in minutes (https://s11.postimg.org/
> 6g2r4rfmb/add_outcome.png),
> but I'm still getting the same error (
> https://s22.postimg.org/v1tl7nky9/add_outcome_2.png).
>
> Kind regards,
> Joost
>
> On Tue, Sep 27, 2016 at 1:57 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Hello Joost,
> >
> > Please make sure you have defined an AAPOR ID (this can be any number if
> > you are not sure), and the default delay in minutes, and a value on the
> > calc field as these are all required.
> >
> > Adam
> >
> > On 27 September 2016 at 02:33, Joost <question375015@answers.
> launchpad.net
> > >
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > Sorry for mailing you once again, but I found another problem. When I
> > add a
> > > new outcome (http://s14.postimg.org/oy7npmsbl/add_outcome.png) it
> > doesn't
> > > get added to the list (http://s18.postimg.org/
> > luvky8yex/add_outcome_2.png
> > > ).
> > > Is this problem related to the ones earlier?
> > >
> > > Kind Regards,
> > > Joost
> > >
> > > On Sat, Sep 17, 2016 at 12:17 AM, Joost <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > Thanks, it's working now!!!! :)
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > Op 16 sep. 2016 1:57 a.m. schreef "Adam Zammit" <
> > > > <email address hidden>>:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Adam Zammit posted a new comment:
> > > > > Thank you Joost,
> > > > >
> > > > > Please try with this updated displayappointments.php file:
> > > > >
> > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > download/adam.zammit%40acspri.org.au-20160915235017-
> > > > > whnxj4v11z539z2x/5%40fd4a0071-7450-0410
> > > > > -a91b-
> > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > displayappointments.php
> > > > >
> > > > > Adam
> > > > >
> > > > > On 16 September 2016 at 00:57, Joost <question375015@answers.
> > > > launchpad.net
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Joost posted a new comment:
> > > > > > Hi Adam,
> > > > > >
> > > > > > I get two similar errors:
> > > > > >
> > > > > > 1:
> > > > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in
> > GROUP
> > > BY
> > > > > > clause and contains nonaggregated column 'quexs.a.start' which is
> > not
> > > > > > functionally dependent on columns in GROUP BY clause; this is
> > > > > incompatible
> > > > > > with sql_mode=only_full_group_by
> > > > > >
> > > > > >
> > > > > > 2:
> > > > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in
> > GROUP
> > > BY
> > > > > > clause and contains nonaggregated column 'quexs.a.start' which is
> > not
> > > > > > functionally dependent on columns in GROUP BY clause; this is
> > > > > incompatible
> > > > > > with sql_mode=only_full_group_by
> > > > > >
> > > > > > Kind Regards,
> > > > > > Joost
> > > > > >
> > > > > >
> > > > > > On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> > > > > > <email address hidden>> wrote:
> > > > > >
> > > > > > > Your question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Adam Zammit posted a new comment:
> > > > > > > Hi again Joost,
> > > > > > >
> > > > > > > Can you please try the following SQL queries directly against
> the
> > > > > > database
> > > > > > > and see if any errors are reported?
> > > > > > >
> > > > > > > Query 1:
> > > > > > >
> > > > > > > SELECT MIN(q.description) as description, MIN(si.description)
> as
> > > > smpl,
> > > > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > > > MIN(oo.firstName)
> > > > > as
> > > > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > > > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id, '\'>',
> > > > > c.case_id,
> > > > > > > '</a>') as case_id,
> > > > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > > > text-danger\'
> > > > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > > > data-placement=\'left\'
> > > > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as
> > > link,
> > > > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > > > '&amp;appointment_id=',
> > > > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> > > operator'))
> > > > as
> > > > > > > witho
> > > > > > > FROM appointment as a
> > > > > > > JOIN (`case` as c, respondent as r, questionnaire as q,
> operator
> > as
> > > > oo,
> > > > > > > call_attempt as cc, operator as co, `sample` as s,
> sample_import
> > as
> > > > si)
> > > > > > on
> > > > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > > > a.respondent_id =
> > > > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > > > oo.operator_id
> > > > > > > and si.sample_import_id = s.import_id)
> > > > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > > > (ca.call_id =
> > > > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > > > ca.operator_id
> > > > > > =
> > > > > > > ooo.operator_id)
> > > > > > > LEFT JOIN operator AS ao ON ao.operator_id =
> > a.require_operator_id
> > > > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id
> =
> > > > > > > qsq.sample_import_id and c.questionnaire_id =
> > qsq.questionnaire_id)
> > > > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> > > (s.import_id =
> > > > > > > qsqr.sample_import_id and c.questionnaire_id =
> > > > qsqr.questionnaire_id)
> > > > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > > > AND co.operator_id = '1'
> > > > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > > > >
> > > > > > >
> > > > > > > Query 2:
> > > > > > >
> > > > > > > SELECT MIN(q.description) as description, MIN(si.description)
> as
> > > > smpl,
> > > > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > > > MIN(oo.firstName)
> > > > > as
> > > > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > > > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id,
> > '\'>',
> > > > > > > c.case_id, '</a>')) as case_id,
> > > > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > > > text-danger\'
> > > > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > > > data-placement=\'left\'
> > > > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;')) as
> > > link,
> > > > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > > > '&amp;appointment_id=',
> > > > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o fa-lg\'
> > > > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> > > operator'))
> > > > as
> > > > > > > witho
> > > > > > > FROM appointment as a
> > > > > > > JOIN (`case` as c, respondent as r, questionnaire as q,
> operator
> > as
> > > > oo,
> > > > > > > call_attempt as cc, operator as co, `sample` as s,
> sample_import
> > as
> > > > si)
> > > > > > on
> > > > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > > > a.respondent_id =
> > > > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id and
> > > > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > > > oo.operator_id
> > > > > > > and si.sample_import_id = s.import_id)
> > > > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > > > (ca.call_id =
> > > > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > > > ca.operator_id
> > > > > > =
> > > > > > > ooo.operator_id)
> > > > > > > LEFT JOIN operator AS ao ON ao.operator_id =
> > a.require_operator_id
> > > > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id
> =
> > > > > > > qsq.sample_import_id and c.questionnaire_id =
> > qsq.questionnaire_id)
> > > > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> > > (s.import_id =
> > > > > > > qsqr.sample_import_id and c.questionnaire_id =
> > > > qsqr.questionnaire_id)
> > > > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > > > AND co.operator_id = '1'
> > > > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > > > >
> > > > > > >
> > > > > > > Thank you again for your assistance.
> > > > > > >
> > > > > > > Adam
> > > > > > >
> > > > > > >
> > > > > > > On 14 September 2016 at 21:37, Joost <question375015@answers.
> > > > > > launchpad.net
> > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Joost posted a new comment:
> > > > > > > > Hi Adam,
> > > > > > > >
> > > > > > > > I replaced admin/displayappointments.php and confirmed that
> the
> > > > > logged
> > > > > > in
> > > > > > > > user has a valid timezone, but the appointments still do not
> > show
> > > > up.
> > > > > > > > Adding "die($sql);" after line 310 results in:
> > > > > > > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > > > > > > >
> > > > > > > > In the administration panel admin/displayappointments.php
> shows
> > > "no
> > > > > > > future
> > > > > > > > appointments". I looked that part up in the code and I think
> > that
> > > > > line
> > > > > > is
> > > > > > > > showing when the query turns out to be empty? ("if
> > > (!empty($rs))" a
> > > > > > > > xhtml_table function is called and "else print "[...] No
> future
> > > > > > > > appointments")
> > > > > > > >
> > > > > > > > I compared admin/supervisor.php (which is working) and
> > > > > > > > admin/displayappointments.php and found out that somewhere in
> > the
> > > > > code
> > > > > > > > there is a part that seem to be alike, but is different in
> one
> > of
> > > > the
> > > > > > > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > > > > > > displayappointments.php there is only "CONCAT" (see:
> > > > > > > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > > > > > > displayappointments.png).
> > > > > > > > Could this be (part of) the problem? I'm certainly no
> > programmer,
> > > > my
> > > > > > > > knowledge of coding is not very strong, so I'm not sure what
> to
> > > do
> > > > > > next.
> > > > > > > >
> > > > > > > > Kind regards,
> > > > > > > > Joost
> > > > > > > >
> > > > > > > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > > > > > > <email address hidden>> wrote:
> > > > > > > >
> > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > The important file to replace is
> > admin/displayappointments.php
> > > > from
> > > > > > > > > here:
> > > > > > > > >
> > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > download/head:/5%40fd4a0071-7450-0410
> > > > > > > > > -a91b-
> > > > > > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > > > > > displayappointments.php
> > > > > > > > >
> > > > > > > > > If appointments still are not showing up - please confirm
> > that
> > > > you
> > > > > > have
> > > > > > > > > assigned the logged in user a valid timezone (edit the user
> > > > > settings
> > > > > > to
> > > > > > > > > check).
> > > > > > > > >
> > > > > > > > > Otherwise if you could please attempt to run the SQL query
> > > > directly
> > > > > > by
> > > > > > > > > adding the following line to displayappointments.php:
> > > > > > > > >
> > > > > > > > > die($sql);
> > > > > > > > >
> > > > > > > > > after line 310 which says:
> > > > > > > > >
> > > > > > > > > $rs = $db->GetAll($sql);
> > > > > > > > >
> > > > > > > > > And then checking for appointments again - the web page
> will
> > > have
> > > > > the
> > > > > > > SQL
> > > > > > > > > code printed instead and you can test it to see if an error
> > is
> > > > > > > produced.
> > > > > > > > >
> > > > > > > > > Thanks again for your patience with this testing.
> > > > > > > > >
> > > > > > > > > Adam
> > > > > > > > >
> > > > > > > > > On 13 September 2016 at 21:22, Joost
> <question375015@answers.
> > > > > > > > launchpad.net
> > > > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > I've created a new appointment with the operator 'Ake' (
> > > > > > > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_
> > > operator.png
> > > > ).
> > > > > > This
> > > > > > > > > > appointment came up in the case overview (
> > > > > > > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_
> > > > > overview.png
> > > > > > ),
> > > > > > > > but
> > > > > > > > > > isn't showing up in the Administration Panel (
> > > > > > > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > > > > > > administration_panel.png
> > > > > > > > > > ).
> > > > > > > > > >
> > > > > > > > > > Kind Regards,
> > > > > > > > > > Joost
> > > > > > > > > >
> > > > > > > > > > PS
> > > > > > > > > > I just replaced the three files that were changed in this
> > > > > revision
> > > > > > > (the
> > > > > > > > > > time before that I changed the 7 files from revision
> 541).
> > > Do I
> > > > > > have
> > > > > > > to
> > > > > > > > > > replace all the files or restart something?
> > > > > > > > > >
> > > > > > > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > >
> > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > Hi Joost,
> > > > > > > > > > >
> > > > > > > > > > > I am unable to replicate this after the update. Can you
> > > > please
> > > > > > try
> > > > > > > > > > creating
> > > > > > > > > > > new appointments and see if they now show up?
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Adam Zammit
> > > > > > > > > > >
> > > > > > > > > > > On 13 September 2016 at 07:08, Joost
> > > <question375015@answers.
> > > > > > > > > > launchpad.net
> > > > > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > >
> > > > > > > > > > > > I replaced the files, but I'm still getting the same
> > > > error...
> > > > > > > (the
> > > > > > > > > > > > appointments do not show up in the Administration
> > Panel)
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Joost
> > > > > > > > > > > >
> > > > > > > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > > > > > > <email address hidden>>:
> > > > > > > > > > > >
> > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks for your persistence!
> > > > > > > > > > > > >
> > > > > > > > > > > > > Please try the files changed in the latest
> revision:
> > > > > > > > > > > > >
> > > > > > > > > > > > > https://bazaar.launchpad.net/~
> adamzammit/quexs/main/
> > > > > > > revision/542
> > > > > > > > > > > > >
> > > > > > > > > > > > > Adam
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 9 September 2016 at 00:22, Joost
> > > > > <question375015@answers.
> > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > I still do not see appointments in the
> > Administration
> > > > > > Panel.
> > > > > > > I
> > > > > > > > > can
> > > > > > > > > > > make
> > > > > > > > > > > > > an
> > > > > > > > > > > > > > appointment in the user interface of the
> operator (
> > > > > > > > > > > > > > https://s16.postimg.org/
> > > otwkf5zzp/appoint_operator.png
> > > > )
> > > > > or
> > > > > > > in
> > > > > > > > > the
> > > > > > > > > > > > > > Administration Panel (
> > > > > > > > > > > > > > https://s13.postimg.org/
> > levymw75j/appoint_supervisor
> > > .
> > > > png
> > > > > )
> > > > > > > and
> > > > > > > > > they
> > > > > > > > > > > > show
> > > > > > > > > > > > > up
> > > > > > > > > > > > > > in the case information (
> https://s11.postimg.org/
> > > > > > > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > > > > > > but they do not show up in the Administration
> > Panel (
> > > > > > > > > > > > > > https://s10.postimg.org/
> > 6nsjxmyg9/displayappoint.png
> > > ).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I identified a few more issues - please replace
> > the
> > > > > files
> > > > > > > > that
> > > > > > > > > > have
> > > > > > > > > > > > > been
> > > > > > > > > > > > > > > fixed in the following revision:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > adamzammit/quexs/main/
> > > > > > > > > revision/541
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > > > > > > <question375015@answers.
> > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > Nevermind my last e-mail. The timezone
> problem
> > is
> > > > > > solved.
> > > > > > > > > > > > > > > > But I still cannot see the made appointments
> in
> > > the
> > > > > > > > > > > Administration
> > > > > > > > > > > > > > Panel.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > Joost van der Horst
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > Maybe I don't see the appointments because
> > of a
> > > > > > > timezone
> > > > > > > > > > error.
> > > > > > > > > > > > > > > > > In the default time shift settings I set
> the
> > > > times
> > > > > in
> > > > > > > the
> > > > > > > > > > local
> > > > > > > > > > > > > > > timezone
> > > > > > > > > > > > > > > > (
> > > > > > > > > > > > > > > > > https://s21.postimg.org/
> > > o8t9ymw93/timezone1.png
> > > > ),
> > > > > > but
> > > > > > > in
> > > > > > > > > the
> > > > > > > > > > > > user
> > > > > > > > > > > > > > > > > interface
> > > > > > > > > > > > > > > > > of the operators the time settings change
> to
> > > > other
> > > > > > > times
> > > > > > > > (
> > > > > > > > > > > > > > > > > https://s12.postimg.org/
> > > 5xfwm504t/timezone2.png
> > > > ),
> > > > > I
> > > > > > > > guess
> > > > > > > > > > > > because
> > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > another timezone setting? The "current
> time"
> > > > > however
> > > > > > is
> > > > > > > > in
> > > > > > > > > my
> > > > > > > > > > > own
> > > > > > > > > > > > > > > > timezone,
> > > > > > > > > > > > > > > > > leading to "no shifts available" and thus
> no
> > > > cases
> > > > > > for
> > > > > > > > the
> > > > > > > > > > > > > operator.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Funny thing is that when I keep the user
> > > > interface
> > > > > > open
> > > > > > > > in
> > > > > > > > > my
> > > > > > > > > > > > > browser
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > login to the Administration Panel in
> another
> > > tab
> > > > > > > (causing
> > > > > > > > > the
> > > > > > > > > > > > > > operator
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > "log off"), the "current time" in the user
> > > > > interface
> > > > > > of
> > > > > > > > the
> > > > > > > > > > > > > operator
> > > > > > > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > > > > > > I ran a few tests and the user interface
> > > works
> > > > > > fine:
> > > > > > > > > > > operators
> > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > call a
> > > > > > > > > > > > > > > > > > respondent / case, complete a survey,
> make
> > an
> > > > > > > > appointment
> > > > > > > > > > or
> > > > > > > > > > > > > choose
> > > > > > > > > > > > > > > > > another
> > > > > > > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > > > > > > When appointments are made, the operators
> > see
> > > > > those
> > > > > > > > > > > > appointments
> > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > their
> > > > > > > > > > > > > > > > > > display when the specific case is
> selected
> > > for
> > > > > > them (
> > > > > > > > > > > > > > > > > > https://s16.postimg.org/
> > 8w3z0x545/case2.png
> > > ).
> > > > > > These
> > > > > > > > > cases
> > > > > > > > > > > are
> > > > > > > > > > > > > > > selected
> > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > > > > the operators on the right time (the time
> > > slot
> > > > in
> > > > > > > which
> > > > > > > > > > they
> > > > > > > > > > > > > > planned
> > > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > > appointment).
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The appointments however are not shown in
> > the
> > > > > > > > > > Administration
> > > > > > > > > > > > > Panel
> > > > > > > > > > > > > > (
> > > > > > > > > > > > > > > > > > https://s9.postimg.org/
> > > > > 3p9ja8djj/appointments.png
> > > > > > ),
> > > > > > > > but
> > > > > > > > > > > when I
> > > > > > > > > > > > > > > lookup
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > specific case, I do see the appointment (
> > > > > > > > > > > > > > > > > > https://s15.postimg.org/
> 6mb9c2yyz/case.png
> > ).
> > > > > (the
> > > > > > > > > > > appointment
> > > > > > > > > > > > is
> > > > > > > > > > > > > > > also
> > > > > > > > > > > > > > > > > > shown
> > > > > > > > > > > > > > > > > > in the user interface of the operators,
> see
> > > the
> > > > > > first
> > > > > > > > > > > > > screenshot).
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > It doesn't bother me much, because
> > everything
> > > > > seems
> > > > > > > to
> > > > > > > > be
> > > > > > > > > > > > working
> > > > > > > > > > > > > > > fine
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > I have taken a lot of your time already,
> > but
> > > > > since
> > > > > > > you
> > > > > > > > > > asked
> > > > > > > > > > > to
> > > > > > > > > > > > > > keep
> > > > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > > > informed about related issues: maybe this
> > is
> > > > one.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam
> > Zammit <
> > > > > > > > > > > > > > > > > > <email address hidden>>
> > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > > > > > Another related bug - please replace
> the
> > > > file:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > with:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > org.au-20160907013554-
> > > > > > > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-
> 7450-0410
> > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > 252Fadmin%252Faddshift.php/
> > > > > > > > > > > > > addshift.php
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > > > > > > According to the manual the default
> > shift
> > > > > times
> > > > > > > > > should
> > > > > > > > > > > show
> > > > > > > > > > > > > up
> > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > > > management panel (
> > > > https://www.acspri.org.au/
> > > > > > > > node/669
> > > > > > > > > ).
> > > > > > > > > > I
> > > > > > > > > > > > > have
> > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > > > times set (https://s14.postimg.org/
> > > > > > > > > > a6un18k2p/default.png
> > > > > > > > > > > ),
> > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > they
> > > > > > > > > > > > > > > > > do
> > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > ).
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM, Joost
> > > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > changed:
> > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I don't know if it is related but I
> > > > cannot
> > > > > > add
> > > > > > > > > shifts
> > > > > > > > > > > in
> > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > > > > > > I've made a survey in the
> > > > queXS-integrated
> > > > > > > > > > Limesurvey,
> > > > > > > > > > > > > > imported
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > > > > > > sample to it, assigned an operator
> to
> > > it,
> > > > > but
> > > > > > > the
> > > > > > > > > > > > operator
> > > > > > > > > > > > > > gets
> > > > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > > > > > > I've made a screenshot:
> > > > > > > https://s15.postimg.org/
> > > > > > > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > > > > > > this somehow related to my mysql
> > > version?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM,
> Joost
> > > > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > > changed:
> > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix,
> it's
> > > > > working
> > > > > > > > like a
> > > > > > > > > > > charm
> > > > > > > > > > > > > > now!
> > > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM,
> > Adam
> > > > > > Zammit <
> > > > > > > > > > > > > > > > > > > > > > question375015@answers.
> > launchpad.net
> > > >
> > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > > > changed:
> > > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Adam Zammit proposed the
> > following
> > > > > > answer:
> > > > > > > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Looks like the query isn't
> > > compatible
> > > > > > with
> > > > > > > > the
> > > > > > > > > > SQL
> > > > > > > > > > > > mode
> > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I have made a fix - please
> > replace
> > > > the
> > > > > > file
> > > > > > > > > > > > > admin/new.php
> > > > > > > > > > > > > > > > with
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > > > > > > b3n5st5d0yx8os0d/5%40fd4a0071-
> > > > > 7450-0410
> > > > > > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Also please let me know if you
> > find
> > > > any
> > > > > > > > related
> > > > > > > > > > > > issues
> > > > > > > > > > > > > -
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > If this answers your question,
> > > please
> > > > > go
> > > > > > to
> > > > > > > > the
> > > > > > > > > > > > > following
> > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If you still need help, you can
> > > reply
> > > > > to
> > > > > > > this
> > > > > > > > > > email
> > > > > > > > > > > > or
> > > > > > > > > > > > > go
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > following page to enter your
> > > > feedback:
> > > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > You received this question
> > > > notification
> > > > > > > > because
> > > > > > > > > > you
> > > > > > > > > > > > > asked
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > You received this question
> > > notification
> > > > > > > because
> > > > > > > > > you
> > > > > > > > > > > > asked
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > You received this question
> > notification
> > > > > > because
> > > > > > > > you
> > > > > > > > > > > asked
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > You received this question
> notification
> > > > > because
> > > > > > > you
> > > > > > > > > are
> > > > > > > > > > > an
> > > > > > > > > > > > > > answer
> > > > > > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > > > > > Research and Development Officer,
> Survey
> > > > > > > Methodology
> > > > > > > > > > > > > > > > > > > Australian Consortium for Social and
> > > > Political
> > > > > > > > Research
> > > > > > > > > > > Inc.
> > > > > > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > You received this question notification
> > > > because
> > > > > > you
> > > > > > > > > asked
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > > asked
> > > > > > > > > > the
> > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > > asked
> > > > > > > > > the
> > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > are
> > > > > > > an
> > > > > > > > > > answer
> > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > Research and Development Officer, Survey
> > > Methodology
> > > > > > > > > > > > > > > Australian Consortium for Social and Political
> > > > Research
> > > > > > > Inc.
> > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > > asked
> > > > > > > the
> > > > > > > > > > > > question.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > You received this question notification because
> you
> > > are
> > > > > an
> > > > > > > > answer
> > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > Research and Development Officer, Survey
> Methodology
> > > > > > > > > > > > > Australian Consortium for Social and Political
> > Research
> > > > > Inc.
> > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > >
> > > > > > > > > > > > > You received this question notification because you
> > > asked
> > > > > the
> > > > > > > > > > question.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You received this question notification because you
> are
> > > an
> > > > > > answer
> > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Adam Zammit
> > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > Australian Consortium for Social and Political Research
> > > Inc.
> > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > >
> > > > > > > > > > > You received this question notification because you
> asked
> > > the
> > > > > > > > question.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You received this question notification because you are
> an
> > > > answer
> > > > > > > > > > contact for queXS.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Adam Zammit
> > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > Australian Consortium for Social and Political Research
> Inc.
> > > > > > > > > +61 3 9013 9653
> > > > > > > > > http://www.acspri.org.au/
> > > > > > > > >
> > > > > > > > > You received this question notification because you asked
> the
> > > > > > question.
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > You received this question notification because you are an
> > answer
> > > > > > > > contact for queXS.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Adam Zammit
> > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > +61 3 9013 9653
> > > > > > > http://www.acspri.org.au/
> > > > > > >
> > > > > > > You received this question notification because you asked the
> > > > question.
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You received this question notification because you are an answer
> > > > > > contact for queXS.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Adam Zammit
> > > > > Research and Development Officer, Survey Methodology
> > > > > Australian Consortium for Social and Political Research Inc.
> > > > > +61 3 9013 9653
> > > > > http://www.acspri.org.au/
> > > > >
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you are an answer
> > > contact for queXS.
> > >
> >
> >
> > --
> > Adam Zammit
> > Research and Development Officer, Survey Methodology
> > Australian Consortium for Social and Political Research Inc.
> > +61 3 9013 9653
> > http://www.acspri.org.au/
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are an answer
> contact for queXS.
>

--
Adam Zammit
Research and Development Officer, Survey Methodology
Australian Consortium for Social and Political Research Inc.
+61 3 9013 9653
http://www.acspri.org.au/

Joost (joostvdhorst) said : #31

Hi Adam,

Thank you so much, it is working now!

Kind regards,
Joost

PS
By the way, I changed some words in ./quexs/locale/nl/LC_MESSAGES/nl.po and
compiled it to the mo file with msgfmt. " Bel geschiendenis" should be "Bel
geschiedenis" and "Afpraken" should be "Afspraken" (
https://s21.postimg.org/rucky10o7/language.png). No big changes at all, but
maybe I can upload the new nl.po file?

On Wed, Sep 28, 2016 at 2:17 AM, Adam Zammit <
<email address hidden>> wrote:

> Your question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Adam Zammit posted a new comment:
> Hello Joost,
>
> Thanks I have found the issue.
>
> Please replace admin/set_outcomes.php with:
>
> https://bazaar.launchpad.net/~adamzammit/quexs/main/
> download/adam.zammit%40acspri.org.au-20160928001230-
> 8d871syn1gchhx55/set_outcomes.php-20150908101300-vum6avvkyu81j6di-1/set_
> outcomes.php
>
> And also run the following SQL code on the database:
>
> ALTER TABLE `outcome` AUTO_INCREMENT = 100;
>
> Adam
>
> On 27 September 2016 at 18:47, Joost <<email address hidden>
> >
> wrote:
>
> > Question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Joost posted a new comment:
> > Hi Adam,
> >
> > I didn't know what to enter in the AAPOR ID and calculation fields. Your
> > website (https://quexs.acspri.org.au/call-outcomes) got me in the right
> > direction. I found different characters in the calc column (e.g. UH, O,
> R),
> > but still didn't have any clue about the meaning of those characters.
> > Google is my friend and luckily I came across a document with standard
> > definitions for final dispositions of case codes and outcome rates for
> > surveys (
> > http://www.aapor.org/AAPOR_Main/media/publications/Standard-
> > Definitions20169theditionfinal.pdf
> > ).
> >
> > I've added a new test outcome with calc code 'R', AAPOR ID '2.30' and '0'
> > default delay in minutes (https://s11.postimg.org/
> > 6g2r4rfmb/add_outcome.png),
> > but I'm still getting the same error (
> > https://s22.postimg.org/v1tl7nky9/add_outcome_2.png).
> >
> > Kind regards,
> > Joost
> >
> > On Tue, Sep 27, 2016 at 1:57 AM, Adam Zammit <
> > <email address hidden>> wrote:
> >
> > > Your question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Adam Zammit posted a new comment:
> > > Hello Joost,
> > >
> > > Please make sure you have defined an AAPOR ID (this can be any number
> if
> > > you are not sure), and the default delay in minutes, and a value on the
> > > calc field as these are all required.
> > >
> > > Adam
> > >
> > > On 27 September 2016 at 02:33, Joost <question375015@answers.
> > launchpad.net
> > > >
> > > wrote:
> > >
> > > > Question #375015 on queXS changed:
> > > > https://answers.launchpad.net/quexs/+question/375015
> > > >
> > > > Joost posted a new comment:
> > > > Hi Adam,
> > > >
> > > > Sorry for mailing you once again, but I found another problem. When I
> > > add a
> > > > new outcome (http://s14.postimg.org/oy7npmsbl/add_outcome.png) it
> > > doesn't
> > > > get added to the list (http://s18.postimg.org/
> > > luvky8yex/add_outcome_2.png
> > > > ).
> > > > Is this problem related to the ones earlier?
> > > >
> > > > Kind Regards,
> > > > Joost
> > > >
> > > > On Sat, Sep 17, 2016 at 12:17 AM, Joost <
> > > > <email address hidden>> wrote:
> > > >
> > > > > Your question #375015 on queXS changed:
> > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > >
> > > > > Joost posted a new comment:
> > > > > Hi Adam,
> > > > >
> > > > > Thanks, it's working now!!!! :)
> > > > >
> > > > > Kind Regards,
> > > > > Joost
> > > > >
> > > > > Op 16 sep. 2016 1:57 a.m. schreef "Adam Zammit" <
> > > > > <email address hidden>>:
> > > > >
> > > > > > Your question #375015 on queXS changed:
> > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > >
> > > > > > Adam Zammit posted a new comment:
> > > > > > Thank you Joost,
> > > > > >
> > > > > > Please try with this updated displayappointments.php file:
> > > > > >
> > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > download/adam.zammit%40acspri.org.au-20160915235017-
> > > > > > whnxj4v11z539z2x/5%40fd4a0071-7450-0410
> > > > > > -a91b-
> > > > > > 842f6942ebe7:trunk%252Fadmin%252Fdisplayappointments.php/
> > > > > > displayappointments.php
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > On 16 September 2016 at 00:57, Joost <question375015@answers.
> > > > > launchpad.net
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Question #375015 on queXS changed:
> > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > >
> > > > > > > Joost posted a new comment:
> > > > > > > Hi Adam,
> > > > > > >
> > > > > > > I get two similar errors:
> > > > > > >
> > > > > > > 1:
> > > > > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in
> > > GROUP
> > > > BY
> > > > > > > clause and contains nonaggregated column 'quexs.a.start' which
> is
> > > not
> > > > > > > functionally dependent on columns in GROUP BY clause; this is
> > > > > > incompatible
> > > > > > > with sql_mode=only_full_group_by
> > > > > > >
> > > > > > >
> > > > > > > 2:
> > > > > > > ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in
> > > GROUP
> > > > BY
> > > > > > > clause and contains nonaggregated column 'quexs.a.start' which
> is
> > > not
> > > > > > > functionally dependent on columns in GROUP BY clause; this is
> > > > > > incompatible
> > > > > > > with sql_mode=only_full_group_by
> > > > > > >
> > > > > > > Kind Regards,
> > > > > > > Joost
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Sep 15, 2016 at 5:57 AM, Adam Zammit <
> > > > > > > <email address hidden>> wrote:
> > > > > > >
> > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > >
> > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > Hi again Joost,
> > > > > > > >
> > > > > > > > Can you please try the following SQL queries directly against
> > the
> > > > > > > database
> > > > > > > > and see if any errors are reported?
> > > > > > > >
> > > > > > > > Query 1:
> > > > > > > >
> > > > > > > > SELECT MIN(q.description) as description, MIN(si.description)
> > as
> > > > > smpl,
> > > > > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > > > > MIN(oo.firstName)
> > > > > > as
> > > > > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > > > > CONCAT('<a href=\'supervisor.php?case_id=', c.case_id,
> '\'>',
> > > > > > c.case_id,
> > > > > > > > '</a>') as case_id,
> > > > > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > > > > text-danger\'
> > > > > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > > > > data-placement=\'left\'
> > > > > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;'))
> as
> > > > link,
> > > > > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > > > > '&amp;appointment_id=',
> > > > > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o
> fa-lg\'
> > > > > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> > > > operator'))
> > > > > as
> > > > > > > > witho
> > > > > > > > FROM appointment as a
> > > > > > > > JOIN (`case` as c, respondent as r, questionnaire as q,
> > operator
> > > as
> > > > > oo,
> > > > > > > > call_attempt as cc, operator as co, `sample` as s,
> > sample_import
> > > as
> > > > > si)
> > > > > > > on
> > > > > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > > > > a.respondent_id =
> > > > > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id
> and
> > > > > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > > > > oo.operator_id
> > > > > > > > and si.sample_import_id = s.import_id)
> > > > > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > > > > (ca.call_id =
> > > > > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > > > > ca.operator_id
> > > > > > > =
> > > > > > > > ooo.operator_id)
> > > > > > > > LEFT JOIN operator AS ao ON ao.operator_id =
> > > a.require_operator_id
> > > > > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id
> > =
> > > > > > > > qsq.sample_import_id and c.questionnaire_id =
> > > qsq.questionnaire_id)
> > > > > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> > > > (s.import_id =
> > > > > > > > qsqr.sample_import_id and c.questionnaire_id =
> > > > > qsqr.questionnaire_id)
> > > > > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > > > > AND co.operator_id = '1'
> > > > > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > > > > >
> > > > > > > >
> > > > > > > > Query 2:
> > > > > > > >
> > > > > > > > SELECT MIN(q.description) as description, MIN(si.description)
> > as
> > > > > smpl,
> > > > > > > > MIN(CONVERT_TZ(a.start,'UTC',co.Time_zone_name)) as start,
> > > > > > > > MIN(CONVERT_TZ(a.end,'UTC',co.Time_zone_name)) as
> > > > > > > > end,MIN(CONCAT(r.firstName, ' ', r.lastName)) as resp, MIN(
> > > > > > > > IFNULL(ou.description,'Not yet called')) as outcome,
> > > > > MIN(oo.firstName)
> > > > > > as
> > > > > > > > makerName, MIN(ooo.firstName) as callerName,
> > > > > > > > MIN(CONCAT('<a href=\'supervisor.php?case_id=', c.case_id,
> > > '\'>',
> > > > > > > > c.case_id, '</a>')) as case_id,
> > > > > > > > MIN(CONCAT('&emsp;<a href=\'\'><i class=\'fa fa-trash-o fa-lg
> > > > > > > text-danger\'
> > > > > > > > toggle=\'confirmation\' data-title=\'ARE YOU SURE?\'
> > > > > > > > data-btnOkLabel=\'Yes\' data-btnCancelLabel=\'No\'
> > > > > > > data-placement=\'left\'
> > > > > > > > data-href=\'?case_id=', c.case_id, '&amp;appointment_id=',
> > > > > > > > a.appointment_id, '&amp;delete=delete\' ></i></a>&emsp;'))
> as
> > > > link,
> > > > > > > > MIN(CONCAT('&emsp;<a href=\'?case_id=', c.case_id,
> > > > > > > '&amp;appointment_id=',
> > > > > > > > a.appointment_id, '\'><i class=\'fa fa-pencil-square-o
> fa-lg\'
> > > > > > > > ></i></a>&emsp;')) as edit,MIN(IFNULL(ao.firstName,'Any
> > > > operator'))
> > > > > as
> > > > > > > > witho
> > > > > > > > FROM appointment as a
> > > > > > > > JOIN (`case` as c, respondent as r, questionnaire as q,
> > operator
> > > as
> > > > > oo,
> > > > > > > > call_attempt as cc, operator as co, `sample` as s,
> > sample_import
> > > as
> > > > > si)
> > > > > > > on
> > > > > > > > (c.sample_id = s.sample_id and a.case_id = c.case_id and
> > > > > > > a.respondent_id =
> > > > > > > > r.respondent_id and q.questionnaire_id = c.questionnaire_id
> and
> > > > > > > > a.call_attempt_id = cc.call_attempt_id and cc.operator_id =
> > > > > > > oo.operator_id
> > > > > > > > and si.sample_import_id = s.import_id)
> > > > > > > > LEFT JOIN (`call` as ca, outcome as ou, operator as ooo) ON
> > > > > > (ca.call_id =
> > > > > > > > a.completed_call_id and ou.outcome_id = ca.outcome_id and
> > > > > > ca.operator_id
> > > > > > > =
> > > > > > > > ooo.operator_id)
> > > > > > > > LEFT JOIN operator AS ao ON ao.operator_id =
> > > a.require_operator_id
> > > > > > > > LEFT JOIN (questionnaire_sample_quota as qsq) on (s.import_id
> > =
> > > > > > > > qsq.sample_import_id and c.questionnaire_id =
> > > qsq.questionnaire_id)
> > > > > > > > LEFT JOIN (questionnaire_sample_quota_row as qsqr) on
> > > > (s.import_id =
> > > > > > > > qsqr.sample_import_id and c.questionnaire_id =
> > > > > qsqr.questionnaire_id)
> > > > > > > > WHERE q.enabled=1 AND si.enabled=1 AND a.end >=
> > > > > > > > CONVERT_TZ(NOW(),'System','UTC')
> > > > > > > > AND (qsq.quota_reached IS NULL OR qsq.quota_reached != 1)
> > > > > > > > AND (qsqr.quota_reached IS NULL OR qsqr.quota_reached != 1)
> > > > > > > > AND co.operator_id = '1'
> > > > > > > > GROUP BY c.case_id ORDER BY a.start ASC
> > > > > > > >
> > > > > > > >
> > > > > > > > Thank you again for your assistance.
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > >
> > > > > > > > On 14 September 2016 at 21:37, Joost <question375015@answers.
> > > > > > > launchpad.net
> > > > > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > >
> > > > > > > > > Joost posted a new comment:
> > > > > > > > > Hi Adam,
> > > > > > > > >
> > > > > > > > > I replaced admin/displayappointments.php and confirmed that
> > the
> > > > > > logged
> > > > > > > in
> > > > > > > > > user has a valid timezone, but the appointments still do
> not
> > > show
> > > > > up.
> > > > > > > > > Adding "die($sql);" after line 310 results in:
> > > > > > > > > https://s12.postimg.org/5vekydch9/mysql_die.png .
> > > > > > > > >
> > > > > > > > > In the administration panel admin/displayappointments.php
> > shows
> > > > "no
> > > > > > > > future
> > > > > > > > > appointments". I looked that part up in the code and I
> think
> > > that
> > > > > > line
> > > > > > > is
> > > > > > > > > showing when the query turns out to be empty? ("if
> > > > (!empty($rs))" a
> > > > > > > > > xhtml_table function is called and "else print "[...] No
> > future
> > > > > > > > > appointments")
> > > > > > > > >
> > > > > > > > > I compared admin/supervisor.php (which is working) and
> > > > > > > > > admin/displayappointments.php and found out that somewhere
> in
> > > the
> > > > > > code
> > > > > > > > > there is a part that seem to be alike, but is different in
> > one
> > > of
> > > > > the
> > > > > > > > > lines. In supervisor.php there is "MIN(CONCAT" while in
> > > > > > > > > displayappointments.php there is only "CONCAT" (see:
> > > > > > > > > https://s15.postimg.org/w6cftv0uz/supervisor_versus_
> > > > > > > > > displayappointments.png).
> > > > > > > > > Could this be (part of) the problem? I'm certainly no
> > > programmer,
> > > > > my
> > > > > > > > > knowledge of coding is not very strong, so I'm not sure
> what
> > to
> > > > do
> > > > > > > next.
> > > > > > > > >
> > > > > > > > > Kind regards,
> > > > > > > > > Joost
> > > > > > > > >
> > > > > > > > > On Wed, Sep 14, 2016 at 3:37 AM, Adam Zammit <
> > > > > > > > > <email address hidden>> wrote:
> > > > > > > > >
> > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > >
> > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > The important file to replace is
> > > admin/displayappointments.php
> > > > > from
> > > > > > > > > > here:
> > > > > > > > > >
> > > > > > > > > > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > > > > > > > > > download/head:/5%40fd4a0071-7450-0410
> > > > > > > > > > -a91b-
> > > > > > > > > > 842f6942ebe7:trunk%252Fadmin%
> 252Fdisplayappointments.php/
> > > > > > > > > > displayappointments.php
> > > > > > > > > >
> > > > > > > > > > If appointments still are not showing up - please confirm
> > > that
> > > > > you
> > > > > > > have
> > > > > > > > > > assigned the logged in user a valid timezone (edit the
> user
> > > > > > settings
> > > > > > > to
> > > > > > > > > > check).
> > > > > > > > > >
> > > > > > > > > > Otherwise if you could please attempt to run the SQL
> query
> > > > > directly
> > > > > > > by
> > > > > > > > > > adding the following line to displayappointments.php:
> > > > > > > > > >
> > > > > > > > > > die($sql);
> > > > > > > > > >
> > > > > > > > > > after line 310 which says:
> > > > > > > > > >
> > > > > > > > > > $rs = $db->GetAll($sql);
> > > > > > > > > >
> > > > > > > > > > And then checking for appointments again - the web page
> > will
> > > > have
> > > > > > the
> > > > > > > > SQL
> > > > > > > > > > code printed instead and you can test it to see if an
> error
> > > is
> > > > > > > > produced.
> > > > > > > > > >
> > > > > > > > > > Thanks again for your patience with this testing.
> > > > > > > > > >
> > > > > > > > > > Adam
> > > > > > > > > >
> > > > > > > > > > On 13 September 2016 at 21:22, Joost
> > <question375015@answers.
> > > > > > > > > launchpad.net
> > > > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > >
> > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > I've created a new appointment with the operator 'Ake'
> (
> > > > > > > > > > > https://s22.postimg.org/rczfsw2ep/appointment_by_
> > > > operator.png
> > > > > ).
> > > > > > > This
> > > > > > > > > > > appointment came up in the case overview (
> > > > > > > > > > > https://s13.postimg.org/vd78aydiv/appointment_in_case_
> > > > > > overview.png
> > > > > > > ),
> > > > > > > > > but
> > > > > > > > > > > isn't showing up in the Administration Panel (
> > > > > > > > > > > https://s11.postimg.org/6hbmwxkoz/appointments_in_
> > > > > > > > > > administration_panel.png
> > > > > > > > > > > ).
> > > > > > > > > > >
> > > > > > > > > > > Kind Regards,
> > > > > > > > > > > Joost
> > > > > > > > > > >
> > > > > > > > > > > PS
> > > > > > > > > > > I just replaced the three files that were changed in
> this
> > > > > > revision
> > > > > > > > (the
> > > > > > > > > > > time before that I changed the 7 files from revision
> > 541).
> > > > Do I
> > > > > > > have
> > > > > > > > to
> > > > > > > > > > > replace all the files or restart something?
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Sep 13, 2016 at 5:02 AM, Adam Zammit <
> > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > https://answers.launchpad.net/quexs/+question/375015
> > > > > > > > > > > >
> > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > >
> > > > > > > > > > > > I am unable to replicate this after the update. Can
> you
> > > > > please
> > > > > > > try
> > > > > > > > > > > creating
> > > > > > > > > > > > new appointments and see if they now show up?
> > > > > > > > > > > >
> > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > >
> > > > > > > > > > > > On 13 September 2016 at 07:08, Joost
> > > > <question375015@answers.
> > > > > > > > > > > launchpad.net
> > > > > > > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > https://answers.launchpad.net/
> quexs/+question/375015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I replaced the files, but I'm still getting the
> same
> > > > > error...
> > > > > > > > (the
> > > > > > > > > > > > > appointments do not show up in the Administration
> > > Panel)
> > > > > > > > > > > > >
> > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > Joost
> > > > > > > > > > > > >
> > > > > > > > > > > > > Op 9 sep. 2016 2:47 a.m. schreef "Adam Zammit" <
> > > > > > > > > > > > > <email address hidden>>:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > https://answers.launchpad.net/
> > quexs/+question/375015
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks for your persistence!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Please try the files changed in the latest
> > revision:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > adamzammit/quexs/main/
> > > > > > > > revision/542
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 9 September 2016 at 00:22, Joost
> > > > > > <question375015@answers.
> > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > quexs/+question/375015
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > I still do not see appointments in the
> > > Administration
> > > > > > > Panel.
> > > > > > > > I
> > > > > > > > > > can
> > > > > > > > > > > > make
> > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > appointment in the user interface of the
> > operator (
> > > > > > > > > > > > > > > https://s16.postimg.org/
> > > > otwkf5zzp/appoint_operator.png
> > > > > )
> > > > > > or
> > > > > > > > in
> > > > > > > > > > the
> > > > > > > > > > > > > > > Administration Panel (
> > > > > > > > > > > > > > > https://s13.postimg.org/
> > > levymw75j/appoint_supervisor
> > > > .
> > > > > png
> > > > > > )
> > > > > > > > and
> > > > > > > > > > they
> > > > > > > > > > > > > show
> > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > in the case information (
> > https://s11.postimg.org/
> > > > > > > > > > > > > > > ru464rggz/appoint_case.png),
> > > > > > > > > > > > > > > but they do not show up in the Administration
> > > Panel (
> > > > > > > > > > > > > > > https://s10.postimg.org/
> > > 6nsjxmyg9/displayappoint.png
> > > > ).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Thu, Sep 8, 2016 at 4:27 AM, Adam Zammit <
> > > > > > > > > > > > > > > <email address hidden>> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > quexs/+question/375015
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > > Hi Joost,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks for reporting this bug.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I identified a few more issues - please
> replace
> > > the
> > > > > > files
> > > > > > > > > that
> > > > > > > > > > > have
> > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > fixed in the following revision:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > adamzammit/quexs/main/
> > > > > > > > > > revision/541
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Let me know if you notice anything else.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 7 September 2016 at 23:42, Joost
> > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > Nevermind my last e-mail. The timezone
> > problem
> > > is
> > > > > > > solved.
> > > > > > > > > > > > > > > > > But I still cannot see the made
> appointments
> > in
> > > > the
> > > > > > > > > > > > Administration
> > > > > > > > > > > > > > > Panel.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > Joost van der Horst
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:32 PM, Joost
> > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > Maybe I don't see the appointments
> because
> > > of a
> > > > > > > > timezone
> > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > In the default time shift settings I set
> > the
> > > > > times
> > > > > > in
> > > > > > > > the
> > > > > > > > > > > local
> > > > > > > > > > > > > > > > timezone
> > > > > > > > > > > > > > > > > (
> > > > > > > > > > > > > > > > > > https://s21.postimg.org/
> > > > o8t9ymw93/timezone1.png
> > > > > ),
> > > > > > > but
> > > > > > > > in
> > > > > > > > > > the
> > > > > > > > > > > > > user
> > > > > > > > > > > > > > > > > > interface
> > > > > > > > > > > > > > > > > > of the operators the time settings change
> > to
> > > > > other
> > > > > > > > times
> > > > > > > > > (
> > > > > > > > > > > > > > > > > > https://s12.postimg.org/
> > > > 5xfwm504t/timezone2.png
> > > > > ),
> > > > > > I
> > > > > > > > > guess
> > > > > > > > > > > > > because
> > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > another timezone setting? The "current
> > time"
> > > > > > however
> > > > > > > is
> > > > > > > > > in
> > > > > > > > > > my
> > > > > > > > > > > > own
> > > > > > > > > > > > > > > > > timezone,
> > > > > > > > > > > > > > > > > > leading to "no shifts available" and thus
> > no
> > > > > cases
> > > > > > > for
> > > > > > > > > the
> > > > > > > > > > > > > > operator.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Funny thing is that when I keep the user
> > > > > interface
> > > > > > > open
> > > > > > > > > in
> > > > > > > > > > my
> > > > > > > > > > > > > > browser
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > login to the Administration Panel in
> > another
> > > > tab
> > > > > > > > (causing
> > > > > > > > > > the
> > > > > > > > > > > > > > > operator
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > "log off"), the "current time" in the
> user
> > > > > > interface
> > > > > > > of
> > > > > > > > > the
> > > > > > > > > > > > > > operator
> > > > > > > > > > > > > > > > > > changes to the wrong timezone....
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 2:22 PM, Joost
> > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Your question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > Thanks Adam, I think that solved it!
> > > > > > > > > > > > > > > > > > > I ran a few tests and the user
> interface
> > > > works
> > > > > > > fine:
> > > > > > > > > > > > operators
> > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > call a
> > > > > > > > > > > > > > > > > > > respondent / case, complete a survey,
> > make
> > > an
> > > > > > > > > appointment
> > > > > > > > > > > or
> > > > > > > > > > > > > > choose
> > > > > > > > > > > > > > > > > > another
> > > > > > > > > > > > > > > > > > > outcome.
> > > > > > > > > > > > > > > > > > > When appointments are made, the
> operators
> > > see
> > > > > > those
> > > > > > > > > > > > > appointments
> > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > their
> > > > > > > > > > > > > > > > > > > display when the specific case is
> > selected
> > > > for
> > > > > > > them (
> > > > > > > > > > > > > > > > > > > https://s16.postimg.org/
> > > 8w3z0x545/case2.png
> > > > ).
> > > > > > > These
> > > > > > > > > > cases
> > > > > > > > > > > > are
> > > > > > > > > > > > > > > > selected
> > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > > > > > the operators on the right time (the
> time
> > > > slot
> > > > > in
> > > > > > > > which
> > > > > > > > > > > they
> > > > > > > > > > > > > > > planned
> > > > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > > > appointment).
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The appointments however are not shown
> in
> > > the
> > > > > > > > > > > Administration
> > > > > > > > > > > > > > Panel
> > > > > > > > > > > > > > > (
> > > > > > > > > > > > > > > > > > > https://s9.postimg.org/
> > > > > > 3p9ja8djj/appointments.png
> > > > > > > ),
> > > > > > > > > but
> > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > lookup
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > specific case, I do see the
> appointment (
> > > > > > > > > > > > > > > > > > > https://s15.postimg.org/
> > 6mb9c2yyz/case.png
> > > ).
> > > > > > (the
> > > > > > > > > > > > appointment
> > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > also
> > > > > > > > > > > > > > > > > > > shown
> > > > > > > > > > > > > > > > > > > in the user interface of the operators,
> > see
> > > > the
> > > > > > > first
> > > > > > > > > > > > > > screenshot).
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > It doesn't bother me much, because
> > > everything
> > > > > > seems
> > > > > > > > to
> > > > > > > > > be
> > > > > > > > > > > > > working
> > > > > > > > > > > > > > > > fine
> > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > I have taken a lot of your time
> already,
> > > but
> > > > > > since
> > > > > > > > you
> > > > > > > > > > > asked
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > keep
> > > > > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > > > > informed about related issues: maybe
> this
> > > is
> > > > > one.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks again for all the help!
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Wed, Sep 7, 2016 at 3:42 AM, Adam
> > > Zammit <
> > > > > > > > > > > > > > > > > > > <email address hidden>>
> > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> changed:
> > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Adam Zammit posted a new comment:
> > > > > > > > > > > > > > > > > > > > Another related bug - please replace
> > the
> > > > > file:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > admin/addshift.php
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > with:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > https://bazaar.launchpad.net/~
> > > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > > download/adam.zammit%40acspri.
> > > > > > > > org.au-20160907013554-
> > > > > > > > > > > > > > > > > > > > 7a3vn1qprn1x8a35/5%40fd4a0071-
> > 7450-0410
> > > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > 252Fadmin%252Faddshift.php/
> > > > > > > > > > > > > > addshift.php
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 6 September 2016 at 23:52, Joost
> > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Question #375015 on queXS changed:
> > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > > PS
> > > > > > > > > > > > > > > > > > > > > According to the manual the default
> > > shift
> > > > > > times
> > > > > > > > > > should
> > > > > > > > > > > > show
> > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > > > > management panel (
> > > > > https://www.acspri.org.au/
> > > > > > > > > node/669
> > > > > > > > > > ).
> > > > > > > > > > > I
> > > > > > > > > > > > > > have
> > > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > > > shift
> > > > > > > > > > > > > > > > > > > > > times set (
> https://s14.postimg.org/
> > > > > > > > > > > a6un18k2p/default.png
> > > > > > > > > > > > ),
> > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > they
> > > > > > > > > > > > > > > > > > do
> > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > show up (https://s15.postimg.io/
> > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > ).
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 3:32 PM,
> Joost
> > > > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > > changed:
> > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I don't know if it is related
> but I
> > > > > cannot
> > > > > > > add
> > > > > > > > > > shifts
> > > > > > > > > > > > in
> > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > timezone.
> > > > > > > > > > > > > > > > > > > > > > I've made a survey in the
> > > > > queXS-integrated
> > > > > > > > > > > Limesurvey,
> > > > > > > > > > > > > > > imported
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > added a
> > > > > > > > > > > > > > > > > > > > > > sample to it, assigned an
> operator
> > to
> > > > it,
> > > > > > but
> > > > > > > > the
> > > > > > > > > > > > > operator
> > > > > > > > > > > > > > > gets
> > > > > > > > > > > > > > > > > an
> > > > > > > > > > > > > > > > > > > > error
> > > > > > > > > > > > > > > > > > > > > > "no shifts available".
> > > > > > > > > > > > > > > > > > > > > > I've made a screenshot:
> > > > > > > > https://s15.postimg.org/
> > > > > > > > > > > > > > > > > > gzkkipdpn/shifts.png
> > > > > > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > > > > > > Is
> > > > > > > > > > > > > > > > > > > > > > this somehow related to my mysql
> > > > version?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 9:43 AM,
> > Joost
> > > > > > > > > > > > > > > <question375015@answers.
> > > > > > > > > > > > > > > > > > > > > > launchpad.net>
> > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Your question #375015 on queXS
> > > > changed:
> > > > > > > > > > > > > > > > > > > > > > > https://answers.launchpad.net/
> > > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Joost posted a new comment:
> > > > > > > > > > > > > > > > > > > > > > > Hi Adam,
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > YAAAY! Thank you for the fix,
> > it's
> > > > > > working
> > > > > > > > > like a
> > > > > > > > > > > > charm
> > > > > > > > > > > > > > > now!
> > > > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Kind Regards,
> > > > > > > > > > > > > > > > > > > > > > > Joost
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Tue, Sep 6, 2016 at 1:57 AM,
> > > Adam
> > > > > > > Zammit <
> > > > > > > > > > > > > > > > > > > > > > > question375015@answers.
> > > launchpad.net
> > > > >
> > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Your question #375015 on
> queXS
> > > > > changed:
> > > > > > > > > > > > > > > > > > > > > > > >
> https://answers.launchpad.net/
> > > > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Status: Open => Answered
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Adam Zammit proposed the
> > > following
> > > > > > > answer:
> > > > > > > > > > > > > > > > > > > > > > > > Thanks for your help Joost.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Looks like the query isn't
> > > > compatible
> > > > > > > with
> > > > > > > > > the
> > > > > > > > > > > SQL
> > > > > > > > > > > > > mode
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > > your copy of MySQL.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > I have made a fix - please
> > > replace
> > > > > the
> > > > > > > file
> > > > > > > > > > > > > > admin/new.php
> > > > > > > > > > > > > > > > > with
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> https://bazaar.launchpad.net/~
> > > > > > > > > > > > adamzammit/quexs/main/
> > > > > > > > > > > > > > > > > > > > > > > >
> download/adam.zammit%40acspri.
> > > > > > > > > > > > org.au-20160905234404-
> > > > > > > > > > > > > > > > > > > > > > > >
> b3n5st5d0yx8os0d/5%40fd4a0071-
> > > > > > 7450-0410
> > > > > > > > > > > > > > > > > > > > > > > > -a91b-842f6942ebe7:trunk%
> > > > > > > > > > > > > 252Fadmin%252Fnew.php/new.php
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Also please let me know if
> you
> > > find
> > > > > any
> > > > > > > > > related
> > > > > > > > > > > > > issues
> > > > > > > > > > > > > > -
> > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > > > > tested queXS with this mode.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Adam
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > If this answers your
> question,
> > > > please
> > > > > > go
> > > > > > > to
> > > > > > > > > the
> > > > > > > > > > > > > > following
> > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > let
> > > > > > > > > > > > > > > > > > > > > > us
> > > > > > > > > > > > > > > > > > > > > > > > know that it is solved:
> > > > > > > > > > > > > > > > > > > > > > > >
> https://answers.launchpad.net/
> > > > > > > > > > > > > quexs/+question/375015/+
> > > > > > > > > > > > > > > > > > > > > > > confirm?answer_id=5
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > If you still need help, you
> can
> > > > reply
> > > > > > to
> > > > > > > > this
> > > > > > > > > > > email
> > > > > > > > > > > > > or
> > > > > > > > > > > > > > go
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > following page to enter your
> > > > > feedback:
> > > > > > > > > > > > > > > > > > > > > > > >
> https://answers.launchpad.net/
> > > > > > > > > > > > quexs/+question/375015
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > You received this question
> > > > > notification
> > > > > > > > > because
> > > > > > > > > > > you
> > > > > > > > > > > > > > asked
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > You received this question
> > > > notification
> > > > > > > > because
> > > > > > > > > > you
> > > > > > > > > > > > > asked
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > You received this question
> > > notification
> > > > > > > because
> > > > > > > > > you
> > > > > > > > > > > > asked
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > You received this question
> > notification
> > > > > > because
> > > > > > > > you
> > > > > > > > > > are
> > > > > > > > > > > > an
> > > > > > > > > > > > > > > answer
> > > > > > > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > > > > > > Research and Development Officer,
> > Survey
> > > > > > > > Methodology
> > > > > > > > > > > > > > > > > > > > Australian Consortium for Social and
> > > > > Political
> > > > > > > > > Research
> > > > > > > > > > > > Inc.
> > > > > > > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > You received this question
> notification
> > > > > because
> > > > > > > you
> > > > > > > > > > asked
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > You received this question notification
> > > > because
> > > > > > you
> > > > > > > > > asked
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > You received this question notification
> > > because
> > > > > you
> > > > > > > > asked
> > > > > > > > > > the
> > > > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > You received this question notification
> > because
> > > > you
> > > > > > are
> > > > > > > > an
> > > > > > > > > > > answer
> > > > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > > > Research and Development Officer, Survey
> > > > Methodology
> > > > > > > > > > > > > > > > Australian Consortium for Social and
> Political
> > > > > Research
> > > > > > > > Inc.
> > > > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You received this question notification
> because
> > > you
> > > > > > asked
> > > > > > > > the
> > > > > > > > > > > > > question.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > You received this question notification because
> > you
> > > > are
> > > > > > an
> > > > > > > > > answer
> > > > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > > > Research and Development Officer, Survey
> > Methodology
> > > > > > > > > > > > > > Australian Consortium for Social and Political
> > > Research
> > > > > > Inc.
> > > > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You received this question notification because
> you
> > > > asked
> > > > > > the
> > > > > > > > > > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > You received this question notification because you
> > are
> > > > an
> > > > > > > answer
> > > > > > > > > > > > > contact for queXS.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Adam Zammit
> > > > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > > > Australian Consortium for Social and Political
> Research
> > > > Inc.
> > > > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > > > >
> > > > > > > > > > > > You received this question notification because you
> > asked
> > > > the
> > > > > > > > > question.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > You received this question notification because you are
> > an
> > > > > answer
> > > > > > > > > > > contact for queXS.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Adam Zammit
> > > > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > > > Australian Consortium for Social and Political Research
> > Inc.
> > > > > > > > > > +61 3 9013 9653
> > > > > > > > > > http://www.acspri.org.au/
> > > > > > > > > >
> > > > > > > > > > You received this question notification because you asked
> > the
> > > > > > > question.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > You received this question notification because you are an
> > > answer
> > > > > > > > > contact for queXS.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Adam Zammit
> > > > > > > > Research and Development Officer, Survey Methodology
> > > > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > > > +61 3 9013 9653
> > > > > > > > http://www.acspri.org.au/
> > > > > > > >
> > > > > > > > You received this question notification because you asked the
> > > > > question.
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > You received this question notification because you are an
> answer
> > > > > > > contact for queXS.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Adam Zammit
> > > > > > Research and Development Officer, Survey Methodology
> > > > > > Australian Consortium for Social and Political Research Inc.
> > > > > > +61 3 9013 9653
> > > > > > http://www.acspri.org.au/
> > > > > >
> > > > > > You received this question notification because you asked the
> > > question.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this question notification because you asked the
> > question.
> > > > >
> > > >
> > > > --
> > > > You received this question notification because you are an answer
> > > > contact for queXS.
> > > >
> > >
> > >
> > > --
> > > Adam Zammit
> > > Research and Development Officer, Survey Methodology
> > > Australian Consortium for Social and Political Research Inc.
> > > +61 3 9013 9653
> > > http://www.acspri.org.au/
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you are an answer
> > contact for queXS.
> >
>
>
> --
> Adam Zammit
> Research and Development Officer, Survey Methodology
> Australian Consortium for Social and Political Research Inc.
> +61 3 9013 9653
> http://www.acspri.org.au/
>
> You received this question notification because you asked the question.
>

Adam Zammit (adamzammit) said : #32

Good to hear Joost.

Regarding translations - yes please update them here:

https://translations.launchpad.net/quexs/main/+pots/quexs/nl/+translate

Adam

On 28 September 2016 at 19:08, Joost <email address hidden>
wrote:

> Question #375015 on queXS changed:
> https://answers.launchpad.net/quexs/+question/375015
>
> Joost posted a new comment:
> Hi Adam,
>
> Thank you so much, it is working now!
>
> Kind regards,
> Joost
>
> PS
> By the way, I changed some words in ./quexs/locale/nl/LC_MESSAGES/nl.po
> and
> compiled it to the mo file with msgfmt. " Bel geschiendenis" should be "Bel
> geschiedenis" and "Afpraken" should be "Afspraken" (
> https://s21.postimg.org/rucky10o7/language.png). No big changes at all,
> but
> maybe I can upload the new nl.po file?
>
> On Wed, Sep 28, 2016 at 2:17 AM, Adam Zammit <
> <email address hidden>> wrote:
>
> > Your question #375015 on queXS changed:
> > https://answers.launchpad.net/quexs/+question/375015
> >
> > Adam Zammit posted a new comment:
> > Hello Joost,
> >
> > Thanks I have found the issue.
> >
> > Please replace admin/set_outcomes.php with:
> >
> > https://bazaar.launchpad.net/~adamzammit/quexs/main/
> > download/adam.zammit%40acspri.org.au-20160928001230-
> > 8d871syn1gchhx55/set_outcomes.php-20150908101300-vum6avvkyu81j6di-1/set_
> > outcomes.php
> >
> > And also run the following SQL code on the database:
> >
> > ALTER TABLE `outcome` AUTO_INCREMENT = 100;
> >
> > Adam
> >
> > On 27 September 2016 at 18:47, Joost <question375015@answers.
> launchpad.net
> > >
> > wrote:
> >
> > > Question #375015 on queXS changed:
> > > https://answers.launchpad.net/quexs/+question/375015
> > >
> > > Joost posted a new comment:
> > > Hi Adam,
> > >
> > > I didn't know what to enter in the AAPOR ID and calculation fields.
> Your
> > > website (