Matreco

Does the issue occur in English? I’m unable to replicate this issue.

Cheers.

The same error happens when the system is in English.

Thanks


Matreco

Something on the page is borking or you are having JS/AJAX issues. Check the page HTML to see where is breaking at.

Ajax happens in the background, your browser shouldn’t navigate to that URL directly.

Cheers.

Matreco

Did you by chance modify the codebase or something? The URL is missing a “t” for “tickets”.

I would retest using a fresh install to see. If a fresh install works then you need to try replacing your codebase with the latest and retest.

Cheers.

I didn't change any code.

Is missing the t but also /scp/ajax.php/ickets.php.
ajax.php is a file and not directory.

The error happens when you first click on the task screen. I think is a bug code.

I'm going to keep trying to work this out. I'm almost putting in a client to run in production.

Thanks

    Matreco

    I think you have a deeper issue. Do you run your own server or is it a shared host? You may need to look into your security logs on the server to see if there are any rules (ModSecurity rules for example) that are blocking content. This sometimes leads to malformed links, pages, etc.

    Reviewing the code for this particular ticket-relations table (and just knowledge of how this is supposed to work; and does work), I can see it’s supposed to be a direct link to the ticket (ie. just tickets.php?id=ID) so ajax.php should not be there at all in the <a> tag's href. This is why I believe something in your instance is malformed or being messed with by something (who knows yet) and as a result causes that link to be malformed.

    You can go into the code and try var_dump() the various values being supplied to the sprintf() and the full result of the sprintf() to see what part is causing it to be malformed.

    Cheers.

    5 days later

    I was the one who installed the Linux Apache and Mysql server. Mod_security is not enabled

    The error happens when I first click on the tasks tab and then go to the related ticket tab.
    Now, when I don't go through the task tab, the error doesn't happen.

    I did other tests but the error really exists.

    I don't have that much programming knowledge but I'll keep trying.

    I need to be able to resolve this issue to deploy the sticket to a client.

    I did a lot of tests and everything else seems to be ok.

    Thank you

      Matreco

      I just tested this to be 100% sure and even when I click on Related Tickets then click on the Tasks tab I'm able to click a Task and load it without issues. So definitely seems to be something in your setup/environment.

      Cheers.

      You could test it like this:

      Merge 2 calls, then enter the Parent call, then click on the tasks tab, then go to the calls tab
      related and try to open the child ticket.

      Can I attach a video here?

      I'm waiting please....thanks a lot

        Matreco

        What do you mean by "calls tab"? We don't have such a thing in osTicket.

        Cheers.

        Matreco

        AHA! That did it. We will eventually look into this. There is no telling when we will get to this. In the meantime you can take a crack at it!

        Cheers.

        You need to click on the task tab first, then click on the related tickets tab, and try to view the child ticket

        Did the error happen to you too?

        Sorry my Eglish is not good.

          Yes very very good, it solved the problem.

          Thank you very much Kevin

          Write a Reply...