Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin File manager


Guest

Recommended Posts

Posted

Hello,

I have a few warnings and erros in my admin file manger. I noticed that the paths may be the cause of these errors (moanagifts.com opposed to www.moanagifts.com). Can someone show me how I can fix the paths?

Thanks for the support!

 

Warning: dir(): open_basedir restriction in effect. File(/usr/local/psa/home/vhosts/www.moanagifts.com/httpdocs) is not within the allowed path(s): (/usr/local/psa/home/vhosts/moanagifts.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/moanagifts.com/httpdocs/admin/file_manager.php on line 178

 

Warning: dir(/usr/local/psa/home/vhosts/www.moanagifts.com/httpdocs): failed to open dir: Operation not permitted in /usr/local/psa/home/vhosts/moanagifts.com/httpdocs/admin/file_manager.php on line 178

 

Fatal error: Call to a member function on a non-object in /usr/local/psa/home/vhosts/moanagifts.com/httpdocs/admin/file_manager.php on line 179

Posted

Change the last line of both configure.php files to read:

 

define('STORE_SESSIONS', 'mysql');

 

That will get rid of the first error, and probably sort out the others too.

 

Vger

Posted

Thanks Rhea for the advice. I did what you said and it is still not working. Any other advice?

Thanks again.

 

 

Change the last line of both configure.php files to read:

 

define('STORE_SESSIONS', 'mysql');

 

That will get rid of the first error, and probably sort out the others too.

 

Vger

Posted

are you still having exactly the same error messages?

 

FWIW, don't edit files in that file manager. It's a known mangler.

 

-jared

Posted

Jared,

 

I just ftp the files. What does the FWIW stand for and what would be the best way to fix my original files before I end up restoreing complete website?

 

Thanks for your support

 

 

are you still having exactly the same error messages?

 

FWIW, don't edit files in that file manager.  It's a known mangler.

 

-jared

Posted

Okay, did you install this osCommerce from a control panel, like a Fantastico or Ensim installation, because this error relates to permissions and to user group and user name in particular.

 

You can try going to your web hosting control panel, setting up a user group, adding a user to that group, and then use the Password Protect feature to password protect the 'admin' directory, using the group and user for that group. This may get rid of the permissions error. I say 'may'.

 

Vger

Archived

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

×
×
  • Create New...