osCmax v2.5 User Manual
Results 1 to 4 of 4

Help! Host turning off allow_url_fopen

This is a discussion on Help! Host turning off allow_url_fopen within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; I need help with my current store installation (MAX 1.7 installed November 2004) because my host is making a change ...

      
  1. #1
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0


    Default Help! Host turning off allow_url_fopen

    I need help with my current store installation (MAX 1.7 installed November 2004) because my host is making a change which I think will break the functionality, namely, turning off allow_url_fopen. But I'm not sure.

    My understanding is that any variables or includes which begin with "http://" will no longer work. I think osCommerce relies on this. But I'm not a php jock. Just a fan. So I can customize my store to a degree, but not gut it or create a contribution.

    Am I right--that turning off allow_url_fopen will break my store? Can I easily fix this? Or should I be looking for a new host?

    Here is applicable section of the note from Dreamhost:
    The security issue for our servers is still severe and we will still be turning off the allow_url_fopen option soon, but anyone who is currently relying on it will have some time to make the necessary code changes.
    This will be your only announcement regarding this and you must make any necessary code changes before the deadline.

    The deadline for any PHP code changes is March 29, 2005. We will be turning off the allow_url_fopen option shortly after that date.

    If you are currently using this functionality in your PHP code, there is a more powerful and flexible option available. PHP provides excellent support for curl library and its associated functions.

    One of our own users has written a short article describing how it is used and that can be found here:
    http://blog.unitedheroes.net/archives/p/1630/
    At this point I'm kind of trying to decide whether or not to panic. I can't ramp up my php knowledge in that amount of time, because I have a full-time day job and support this site for my SO at night. I also really like dreamhost, but this has thrown me for a loop. I've a message into them, but they haven't been really good when it comes to truly technical topics lately.

    Any advice/help would be greatly appreciated.

    Thanks!
    Jane

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Help! Host turning off allow_url_fopen

    Jane,

    I just ran a test of this on our development shop, and it does not seem to break osCMax at all. I have not run complete tests, but superficially, it does not affect the overall function of the application. Of course, if you have made modifications to osCMax that require fopen wrappers, you will get error messages from php that tell you where the problem is, but again, it does not break the application.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0


    Default

    That is good news! Thanks for checking and keep me updated if you find any issues.

    The only "modification" I have was to the template and text . . . and to install an SSL certificate. I'm still wondering if it would be an issue to go from http: to https:

    Jane

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    This change (fopen = off) has nothing to do with ssl or switching between http or https. It has to do with allowing files to be called in html using full url's to the file instead of local relative paths. You will be fine.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. turning off other images for this product
    By lgreitzer in forum osCmax v2 Customization/Mods
    Replies: 8
    Last Post: 10-09-2006, 06:29 PM
  2. Turning off infoboxes
    By mcdanie1 in forum osCommerce 2.2 Modification Help
    Replies: 9
    Last Post: 03-03-2004, 02:33 PM
  3. Turning notification off?
    By mshaffer in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-16-2004, 01:49 PM
  4. Turning off the background images
    By mcdanie1 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-30-2003, 09:02 AM
  5. turning register_globals OFF
    By ippo in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-14-2003, 11:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •