Finding out VERSION of phpGrid

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
cecilchampenois
Forum Commoner
Posts: 47
Joined: Thu Nov 06, 2014 10:29 am
Location: Gilbert, Arizona
Contact:

Finding out VERSION of phpGrid

Post by cecilchampenois »

ALREADY RESOLVED THIS WITH THE FOLLOWING LINE OF CODE:

$dg -> enable_debug(true);
=====================================================

I know that I need to use some sort of a DEBUG command to pull out the version for phpGrid in the CONF.PHP file, but I need help with this. I am new to PHP.

Our phpGrid broke when we copied our files over to a later version of Ubuntu (14.04.1) and which has Apache 2 Server. It works fine under Ubuntu 11.04 and Apache 1. The vendor in Hong Kong wants to know which version we have so they told me to use a debug command to get that info from the CONF.PHP file.
Cecil Champenois
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Finding out VERSION of phpGrid

Post by twinedev »

Just a heads up, I would recommend converting the code back over to raw PHP code. Not to circumvent any copyright/licensing (still respect the work of other), but there are like (in the "Lite" version) 6 files that they "protect" the code, and each of those files calls base64_decode() and eval() on themselves 6 times EACH, so if all 6 of those files are included for every call, that is 36 times eval is run each page call... eval is not a good thing in terms of processing times and resource use..
cecilchampenois
Forum Commoner
Posts: 47
Joined: Thu Nov 06, 2014 10:29 am
Location: Gilbert, Arizona
Contact:

Re: Finding out VERSION of phpGrid

Post by cecilchampenois »

It seems that our current website is using Apache 2, not Apache 1. I relied on what one of the other techs said he knew, but it isn't true. It's Apache 2. So, we are bewildered as to why the phpGrid classes would "break" now in the same version number of Apache. We don't know if we should buy a later version of phpGrid, or continue trying to resovle what could be a mere configuration issue. I am totally new to PHP, so I am not the best person to figure this out, but I am "it" by default as no one else knows anything about phpGrid, or PHP, or Apache here. Not a good situation for us to be in.
Cecil Champenois
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Finding out VERSION of phpGrid

Post by twinedev »

It would be less likely an issue with what version of Apache, and more of a issue with what version of PHP. Kinda hard to troubleshoot from remote without seeing what is going on on the server (what exactly is "breaking", are you getting error messages? )

Almost definitely would be something that is easy to fix, but if you are running a quite old version of the script, you would want to consider costs involved. ie, if i were to look at it, and it took me 2 hours to get working, and if you are just using the "Basic" version, considering they are offering 25% off right now, it would be cheaper to buy a new version.... (of course, if I was working on it, I would "decrypt" all the protected files so that you don't have the overhead of executing them.)
Post Reply