Unsupported Screen Size: The viewport size is too small for the theme to render properly.

SJA from php

  • This topic is empty.
Viewing 5 reply threads
  • Author
    Posts
    • #9044
      Mic
      Member

      Hi,

      I try to start SJA from the web using the PhP command system(“sja config.xml”);

      It does not work. The error message says I do not have the license

      …but I had installed it and everything works well when I type”sja config.xml” at a command line.

      Everything runs under windows.

      Someone has an idea?

    • #18131
      Ritesh
      Member

      Thats very strange.

      Are you using the same version of SJA?

    • #18132
      Mic
      Member

      Yes, it is exactly the same version (only one) on the same computer!

      It just the way to call it that is different: from php or from a cmd prompt.

      The exact error message is:

      “SQLyog Job Agent Version 4.1

      Copyright © Webyog Softworks Pvt. Ltd.. All Rights Reserved.

      This version of SJA has expired. To register SJA you need to purchase SQLyog from…”

      I obtained this message during the trial period (before the end) and also after purchasing the license.

      Since only the environment from where the command is called is different, since the program is found (it replies with the error message), I could just imagine that the problem is linked with the “path” to the licens. Strange.

      Everything is the latest: XP SP1, PhP 5, Apache 2…

      Everything else works fine (especially other system commands).

    • #18133
      peterlaursen
      Participant

      @Mic

      If you paste in a short piece of working PHP-code, I can test. I have about the same setup (Apache version 2.0.54 and php-version 5.04 with WinXP SP2) running on my computer.

      I just don't know how to launch an external program from PHP … 🙁

      You didn't copy sja.exe to another location ?

    • #18134
      Ritesh
      Member

      @Mic: By any chance are you using sja in php as a different user?

    • #18135
      Mic
      Member

      That's it. Thanks a lot.

      I expect I should have read this somewhere.

      Now it works (even if I do not understand well why sja works only for a given administrator login account and not for the built in administrator account).

Viewing 5 reply threads
  • You must be logged in to reply to this topic.