Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i cant see my files manager is that ok


brandom70

Recommended Posts

hi i just install the shopping cart but i cant see my file manager this is the message i get

 

Fatal error: Call to a member function on a non-object in /home/mysite/public_html/cart/admin/file_manager.php on line 188

 

 

File manager

 

please some body help me

Link to comment
Share on other sites

Yep same prob here too.

 

Call to a member function on a non-object in /home/mysite/public_html/commerce/admin/file_manager.php on line 188

 

Any advice would be apprciated.

 

Thanks

Link to comment
Share on other sites

What version of OSC are you using? Had you installed any contributions when this started appearing? Which ones? What does line 188 of file_manager.php say?

 

Good luck,

Matt

Link to comment
Share on other sites

What version of OSC are you using? Had you installed any contributions when this started appearing? Which ones? What does line 188 of file_manager.php say?

 

I am using 2.2 MS1 freshly installed from my hosting Cpanel, so no contributions are installed.

 

:arrow: Line 188 from file_manager.php says:

    while ($file = $dir->read()) {

 

I don't know if that helps anybody figure this out. :?: :?: :?:

Link to comment
Share on other sites

It might help if you added an echo $current_path; above the line that says $dir = dir($current_path); If that doesn't work, you might change it to die('Current path:' . $current_path . ':');

 

I'm wondering if perhaps your host doesn't support directory reading in PHP. You might ask them if they have an idea why this isn't working.

 

Good luck,

Matt

Link to comment
Share on other sites

  • 3 weeks later...

I was having the same problem.

 

The error message was correct.

 

It is asking the configure.php to have the FULL directory path to oscommerce on your site. For me on a linux system it was:

 

/home/clientname/public_html/shop/

 

Then it worked just fine. :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...