Jump to content

Recommended Posts

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

 

 

Link to comment
https://forums.phpfreaks.com/topic/155623-php-config-issue-mabey/
Share on other sites

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!!

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.

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.