Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't go into folders in file manager


ridesign

Recommended Posts

Posted

I have installed the ms2 version, and everything seems to work fine but when you go to file_manager.php through admin, and click to go into a folder it won't let you, i have tried changing folder permission but it doesn't seem to help.

 

Can someone help me.

 

Thank you

  • 4 weeks later...
Posted

I have been working on this - now works.

 

Problem is it is on a WINDOWS machine running IIS (don't know if Apache on Windows does it too) try to open the files as:

 

C:(your web path)/.....

 

which is invalid.

 

S/B

C:(your web path)/.....

 

 

Further hacking provided adminconfigure.php has showen a problem with $DOCUMENT_ROOT variable as specified on about line 20.

 

...

 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

...

 

Change to:

  define('DIR_FS_DOCUMENT_ROOT', "C:/(your web site path)"); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

 

Now where $DOCUMENT_ROOT gets the incorrect PATH I am not sure - is it a PHP variable and is passed from the OS????

 

Any way - it now works

Posted

Jason was right on the ball here.

 

I found that the issue was in the configure.php file.

 

I needed to remove the trailing backslash after /catalog on 18 that Jason refers to. Once I did that everything was working like clockwork.

 

Thanks Jason.... I was leaning in that direction and your posting was just what I needed to know I was on the right track.

 

Chris

Helping Others Achieve Success Online,

 

 

Christopher A. Pearsall

Archived

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

×
×
  • Create New...