forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › SJA from php
- This topic is empty.
-
AuthorPosts
-
-
June 8, 2005 at 1:58 pm #9044MicMember
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?
-
June 8, 2005 at 2:53 pm #18131RiteshMember
Thats very strange.
Are you using the same version of SJA?
-
June 8, 2005 at 7:27 pm #18132MicMember
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).
-
June 10, 2005 at 4:13 am #18133peterlaursenParticipant
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 ?
-
June 10, 2005 at 6:18 am #18134
-
June 12, 2005 at 7:00 pm #18135MicMember
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).
-
-
AuthorPosts
- You must be logged in to reply to this topic.