Hi everybody,
This is way over my head I’m afraid so I have to, once again, beg your help.
I am trying to run a script (Snippetmaster, a very simple CMS for dummies) which I have run on other servers without a problem but it won’t run on this box. It uses IonCube.
I have contacted the authors who have dug around some and replied with the following :-
The problem is that Snippetmaster uses the PHP standard "$_SERVER["SCRIPT_FILENAME"]" variable to determine what is the file path to the script currently being executed. Go to http://www.the-domain.co.uk/includes/diag/phpinfo.phpIf you do a search on the phpinfo page above for "_SERVER[“SCRIPT_FILENAME”] " and you’ll see there is no value. This is very unusual, because according to PHP documentation, this variable should always be set to something, since a script is always being run in order to produce the output you see. (ie. In the case of the phpinfo.php script above, the variable should contain the
path to the phpinfo.php script.)
So according to my PHP developer admins, the PHP config on your server is screwy because this value should never be empty. I’m not sure what to suggest, as I (or my admins) have no idea why this would be empty variable on your server… maybe contact your hosting admin and see if they have any suggestions?
Err - Umm - Right …
Where do I go from here?
CentOS Linux 5.5
Webmin version 1.530
Virtualmin version 3.83 Pro
Can anyone offer any smattering of advice please.
Thanks for reading,
Tim
PS. Apologies for all the individual quotes above, I couldn’t get them to work all in one.