Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

File Manager


Guest

Recommended Posts

Posted

I am getting this error on the filemanager, in the tools menu, when I am logged in as admin..

 

Its the fastest way to make alterations, rather than down load and upload the file again.. I assume its poermissions based.??

 

Warning: dir(/var/www/root/) [function.dir]: failed to open dir: Permission denied in /var/www/root/admin/file_manager.php on line 184

Fatal error: Call to a member function read() on a non-object in /var/www/root/admin/file_manager.php on line 185

 

Any one got any ideas??

Posted

In my opinion not only should you not use file manager, you should delete the file and remove the link from the tools section. You don’t want other people to gain access to your admin and have control over your files.

Posted
I am getting this error on the filemanager, in the tools menu, when I am logged in as admin..

 

Its the fastest way to make alterations, rather than down load and upload the file again.. I assume its poermissions based.??

 

Warning: dir(/var/www/root/) [function.dir]: failed to open dir: Permission denied in /var/www/root/admin/file_manager.php on line 184

Fatal error: Call to a member function read() on a non-object in /var/www/root/admin/file_manager.php on line 185

 

Any one got any ideas??

My main idea is that you are very lucky to have an error. Do not use the admin filemanager at all under any circumstances whatsoever. Just hope that you have not produced enough errors that you have to reinstall.

 

Use an ftp program to down load and upload the file again.

 

Oh, you assume that it is permissions, but you do not say what they are.

  • 2 months later...
Posted

They are referring to deleting the file in catalog/admin/ named file_manager.php and deleting the link from your tools menu. Deleting that file will not affect any other files. And will force you to do things the proper way through FTP and make it harder for anyone to hack at your files if they were to gain access to your admin login.

Posted
They are referring to deleting the file in catalog/admin/ named file_manager.php and deleting the link from your tools menu. Deleting that file will not affect any other files. And will force you to do things the proper way through FTP and make it harder for anyone to hack at your files if they were to gain access to your admin login.

 

 

pedgette,

 

If you do not mind, can you show me the steps to make file manager link deleted ?

Can I simply rename file_manager.php ?

 

At the first time there was a "File Manager" button on the right side (the body of the admin panel) with a list of a few php files. As I was curious to see what that "file manager" button does and then clicked over it. I saw the whole bunch of osc files. Now I can no more see the file manager button. Every time I click at the File manager link, under the tools menu, I see the whole files (and of course folders) of osc. As you said, that is a risky stuff if somebody accesses the admin page and delete all those files - means all will be gone ...

 

So, I would appreciate if you can guide me to delete the file manager link. If I muddle through alone I may risk having problems that in turn would extend a pain to sort out and solve it.

Posted
pedgette,

 

If you do not mind, can you show me the steps to make file manager link deleted ?

Can I simply rename file_manager.php ?

 

At the first time there was a "File Manager" button on the right side (the body of the admin panel) with a list of a few php files. As I was curious to see what that "file manager" button does and then clicked over it. I saw the whole bunch of osc files. Now I can no more see the file manager button. Every time I click at the File manager link, under the tools menu, I see the whole files (and of course folders) of osc. As you said, that is a risky stuff if somebody accesses the admin page and delete all those files - means all will be gone ...

 

So, I would appreciate if you can guide me to delete the file manager link. If I muddle through alone I may risk having problems that in turn would extend a pain to sort out and solve it.

 

The link is in admin/includes/boxes/tools.php

 

I would also rename your admin folder to something less guessable and make the two changes in the admin/includes/configure.php

Archived

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

×
×
  • Create New...