Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How come a fix to the file manager


wizardsandwars

Recommended Posts

A very high percentage of the problems that people are having with osC is that they try to edit php files with the file editor the osC provides them with. And, as many people know, the file manager the comes with osC doesn't work, at least not properly. It often strips the escape characters out of text.

 

I guess my problem is, if it's not going to be fixed, then there should either be a warning, or it should be removed.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

Also agree, I know someone that took a live site out because they didn't use it in test and just needed a quick low impact change on the fly. Until I just saw this post I thought it may have been their browser/osc version.

Link to comment
Share on other sites

And the fix to file_manager.php should be quite easy. (Not tested though).

 

line 50

 

fputs($fp, stripslashes($HTTP_POST_VARS['file_contents']));

 

should be

 

fputs($fp, $HTTP_POST_VARS['file_contents']);

 

Tom

Link to comment
Share on other sites

Is the backup feature also broken? or do I just need to create the directory?

 

No, I don't think so, my comment was alluding to the fact that I can go into phpAdmin, create a backup script and SFTP all my site files to a secure backup server in the time it takes most people to login to the admin app.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...