Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

File manager trouble.


blueline

Recommended Posts

Posted

ok here goes. I am somewhat new to osCommerce. I have been reading the code, and learning as I go. Up until recently I have been using the file manager that is provided with the hosting company, but it would be nice if I can use the file manager provided in the Tools section of Admin. I do know a little PHP and am reading stacks of books, and tons of code to try and learn more, but I don't know why I am getting the error I'm getting when trying to log into file manager.

 

I would really appreciate help from anyone willing to lend it. Below is the error that I am getting.

 

Thanks,

Chris

 

Warning: OpenDir: Permission denied (errno 13) in /home/blueline/bluelinehifi-www/catalog/admin/file_manager.php on line 187

 

Fatal error: Call to a member function on a non-object in /home/blueline/bluelinehifi-www/catalog/admin/file_manager.php on line 188

Chris Sullivan

Posted

Chris,

The permissions for the directory would need to be changed to allow this feature of the osCommerce to work. You open up the directory to others but you can do this by changing the directory permissions to 777.

 

Al Smith

Let me know if I can help.

  • 1 month later...
Posted

If you get the manual for installation and modification at www.oscdox.com it will tell you what files and directories to chmod

 

HTH

Regards

  • 1 month later...
Posted

WHY ON EARTH would you set your entire site to 777 in order to use the included file manager utility???? THAT MAKES NO SENSE and quite frankly is about the dumbest thing I have ever heard for an e-commerce site tool. Isn't there ANY WAY to use this tool without 777 and without getting:

 

Warning: OpenDir: Permission denied (errno 13) in /home/solvers1/isaiah54-www/catalog/admin/file_manager.php on line 187

 

Fatal error: Call to a member function on a non-object in /home/solvers1/isaiah54-www/catalog/admin/file_manager.php on line 188

 

I appreciate a WISE answer from the GURUS!

Thanks.

Posted

The first error is something to do with PHP safe mode. Now a dumb question, Does your cache work?

 

And your right the first answer is wrong. The only dir I have set to 777 is images, backups, and /tmp/

Steve

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

Posted

Oh, and one more thing, when I try and edit files in the OSC file manager I get an message saying that it can't write to this file. I haven't played with the permissions yet, but at least owner is going to have to have write permissions in order for it to work and I think that is a security risk I;m not willing to take and keep changing permissions back and forth is for the birds.

Steve

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

Posted

Here is a fix I found on the forum.

Just add admin to the end.

in admin/includes/configure.php

Change your:

 

define('DIR_FS_DOCUMENT_ROOT','/home/usr/public_html/admin/')

Steve

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

Archived

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

×
×
  • Create New...