tommyinnn Posted April 25, 2009 Share Posted April 25, 2009 I use a VPS server & have not had any problems with any php scripts installed, other than one - iHost http://www.ihostdev.com/ - which I love, but in the past couple weeks, it has been giving me a license error - it's very odd & only happens about 50% of the time... 1. iHost is encrypted, and in the admin part, it will first verify the license code is correct before allowing me to access the /admin folder - (the client view & order part do not have this issue, the developer did this on purpose just incase there is a problem with the license key - as in this case.... in other words, the customer have no clue there is a issue) 2. When you visit the /admin section, the script is directed to a outside server to confirm the license key - when this problem started, I suspected there was a problem with that (iHost's) outside server, several email later, the developer tells me the php configuration is broken 3. When I visit my iHost admin - like I said, sometimes it's fine, but after following a few links, it'll come up .. License validation failed: Licensing servers could not be reached but if I refresh several times - it'll be fine for a couple more clicks - then again, same problem - keep refreshing the page, it works again ===== so, I'm wondering if anyone knows what I could try to correct this, again, there do not seem to be any other problems, I have several other php scripts running, no problems at all. and yes, I do have root access, but am a beginner so any help anyone can give would be great!! here's the order url http://sitecreatorz.net/ihost/order/ - which ALWAYS works, it's just the /admin part agter I login Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/ Share on other sites More sharing options...
premiso Posted April 25, 2009 Share Posted April 25, 2009 Have you tried and asking the actual makers of the script? They would know better than we would. Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819102 Share on other sites More sharing options...
tommyinnn Posted April 25, 2009 Author Share Posted April 25, 2009 yes, .... #2 "I suspected there was a problem with that (iHost's) outside server, several email later, the developer tells me the php configuration is broken' Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819103 Share on other sites More sharing options...
Daniel0 Posted April 25, 2009 Share Posted April 25, 2009 You'll probably still have better luck speaking with their support department. They'll know how your server should be configured to work with their script. Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819104 Share on other sites More sharing options...
PFMaBiSmAd Posted April 25, 2009 Share Posted April 25, 2009 the developer tells me the php configuration is broken Yes but did he bother to tell you exactly what about the configuration was not correct? Because no one could possibly help you without knowing what the developer found. Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819108 Share on other sites More sharing options...
tommyinnn Posted April 25, 2009 Author Share Posted April 25, 2009 No, he didn't say - I just sent another support ticket - #12 !!! They keep telling me it's my php config - but I had never changed it, & it's such a odd problem, it works 50% of the time - yes, it's driving me CRrAzY! And if I had a problem with other scripts, I could understand..but there are no other issues at all, I have nearly 30 clients on Centova Cast, which is also a php script, zero problems. I was hoping someone else had run into a similar issue, but thanks for all the responses guys!! Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819116 Share on other sites More sharing options...
PFMaBiSmAd Posted April 25, 2009 Share Posted April 25, 2009 If the problem occurs randomly but at exactly the same page/url... then it is likely a time/timing/race condition (possibly session garbage collection deleting the session holding a variable that says the license is valid) or a database issue (connection lost, too many connections...) or even an Internet connectivity/DNS problem. Without seeing or knowing (which is why the developer should be the best source of help) what the code is that is responsible for the symptoms, no one can specifically help. One thing is for sure, the code does not have sufficient error checking and error reporting logic in it to check for what is happening and tell you or log what is happening so that you or anyone else can possibly find and fix the problem. Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819121 Share on other sites More sharing options...
tommyinnn Posted April 25, 2009 Author Share Posted April 25, 2009 They sent me a small script ... just keep refreshing until you get the test either fails or passes (sometimes it can take 20+ refreshes) http://sitecreatorz.net/testlicense.php Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819129 Share on other sites More sharing options...
Daniel0 Posted April 25, 2009 Share Posted April 25, 2009 I refreshed that one a few times and eventually I got this: Testing server 0 ... PHP cannot resolve www.ihostdev.com; DNS resolution appears to be broken Testing server 1 ... PHP cannot resolve license2.ihostdev.com; DNS resolution appears to be broken Licensing server communication error (DNS): PHP cannot resolve license2.ihostdev.com; DNS resolution appears to be broken Those two domain names are supposed to resolve to 208.89.220.190 and 72.233.17.134, respectively. You could perhaps try to add entries for those in your /etc/hosts file. Quote Link to comment https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/#findComment-819147 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.