• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

7.5.3 OSCommerce more problems! - file(): URL file-access is disabled

D

djround

Guest
Hi All,

Ive got a brand new 7.5.3 with just a few domains installed. I've just upgraded to this latest version and now OS Commerce is misbehaving... Ive already posted and had resolved the first issue concerning Warning: file_exists(): for more info on that solution follow:

http://forum.plesk.com/showthread.php?s=&threadid=24657

However my problem is this.. FINALLY got OSCommerce working, logged into the backend admin account, went into Localization -> Currencies and clicked update currencies.

13 errors reported including the following:
Warning: file(): URL file-access is disabled in the server configuration
Warning: file(http://www.oanda.com/convert/fxdaily?
Warning: implode(): Bad arguments.
Warning: file(): URL file-access is disabled in the server configuration
Warning: file(http://www.xe.net/ucc/convert.cgi?Amount=1&From=USD&To=USD): failed to open stream: no suitable wrapper could be found in

etc... etc... etc...

HEELLLPPPPP :)
 
Make sure that you have register_globals enabled in /etc/php.ini and restart apache.
 
Err,

You mean url_fopens don't you? ;)

Personally, I make default policy:

safe_mode On
register_globals Off
allow_url_fopen Off

Then manually enable it on a domain by domain basis.

Stuart
 
Back
Top