I have downloaded the script from the following site:

I have tried the script FlexPHPDirectory. It worked well but the only problem I’m facing is of the pictures. I cannot able to upload the pictures and getting the following error in my log.

[09-Mar-2008 00:35:35] PHP Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

I have also tried the script with the register_globals=on but it didn’t worked well. Please advice how I can fix this bug. Thank you and look forward for your helpful reply.

Best Regards

Alfa … -compat-42:

session.bug_compat_42 boolean PHP versions 4.2.3 and lower have an undocumented feature/bug that allows you to initialize a session variable in the global scope, albeit register_globals is disabled. PHP 4.3.0 and later will warn you, if this feature is used, and if session.bug_compat_warn is also enabled. This feature/bug can be disabled by disabling this directive.

Your script relies on a bug that’s been squashed. The fact that it’s third-party means you’re supposed to consult them (, not us.

Hm, I think you might be better off using some modern link management system than this one with such old bugs.

Sponsor our Newsletter | Privacy Policy | Terms of Service