karlenr Posted November 12, 2002 Posted November 12, 2002 Yes I've read the posts OK register-globals is on ! why then does english.php not work with english as a directory name in /admin/includes/languages I get a flex error and no page if I change the directory name from english to anybloodything my admin page comes up (without the stuff in the english dir of course) any ideas ? Give me 5 (volts) and a smoking soldering iron, I only program under duress !!
karlenr Posted November 12, 2002 Author Posted November 12, 2002 oh version osc v2.2 10nov02 btw putting $PHP_SELF = $_SERVER["PHP_SELF"]; in application_top.php does not fix it either maybe replacing $PHP_SELF with $SCRIPT_NAME in all files will work has anyone had the same probl Give me 5 (volts) and a smoking soldering iron, I only program under duress !!
karlenr Posted November 12, 2002 Author Posted November 12, 2002 hmmmm a feature or a bug ? my ISP sent me this "Also it seems that script makes use of $PHP_SELF I had a quick look and found PHP_SELF has been deprecated by the PHP developers in new versions of the command line PHP. All you should have to do is change any reference to $PHP_SELF and replace it with its equivalent which is $SCRIPT_NAME in all your scripts." in admin's application_top $PHP_SELF = $_SERVER["PHP_SELF"]; didn't work but replacing $PHP_SELF with $_SERVER got me further I'll let me know If I need any more help !!! must go back to my day job (skinning cats and reading smith charts) Thanks Karl That OK Karl thank you Give me 5 (volts) and a smoking soldering iron, I only program under duress !!
karlenr Posted November 13, 2002 Author Posted November 13, 2002 in a reply to that nice guy above ... its a BUG! Later versions of php require $PHP_SELF to be replaced by $SCRIPT_NAME in all php scripts !!! Thank you Martial Herbaut at server101.com (my web hosts) hope this helps others fixes flex scanner error in admin due to same script name as directory Unable to determine the page link when catalog tries to display the following date line on catalog page language box ditto currency box ditto Give me 5 (volts) and a smoking soldering iron, I only program under duress !!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.