osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-20-2005, 08:22 AM
New Member
 
Join Date: Oct 2004
Posts: 16
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
eyeofhorus
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:
Quote:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-20-2005, 08:50 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,247
Thanks: 66
Thanked 294 Times in 280 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-20-2005, 10:21 AM
New Member
 
Join Date: Oct 2004
Posts: 16
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
eyeofhorus
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-20-2005, 10:46 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,247
Thanks: 66
Thanked 294 Times in 280 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
turning off other images for this product lgreitzer osCMax v2 Customization/Mods 8 10-09-2006 06:29 PM
Turning off infoboxes mcdanie1 osCommerce 2.2 Modification Help 9 03-03-2004 03:33 PM
Turning notification off? mshaffer osCMax v1.7 Discussion 1 02-16-2004 02:49 PM
Turning off the background images mcdanie1 osCommerce 2.2 Modification Help 1 09-30-2003 09:02 AM
turning register_globals OFF ippo osCommerce 2.2 Modification Help 0 01-14-2003 12:34 PM


All times are GMT -8. The time now is 10:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax