Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting some strange messages and strings


Guest

Recommended Posts

Posted

Hey All,

 

Hope this finds everyone doing well.

 

I'm getting some strange strings and messages,

 

It starts in the admin panel under modules.

At the bottom of the main center box underneath the selections I get the following string

 

Module Directory: /home/crispyco/crispyco-www/includes/modules/payment/

this continues throughout the modules menu

 

I'm also getting a similar message in the Tools directory under the cache menu

 

Cache Directory: /tmp

 

Then the last one, I'm also getting the following error message when I try to open my File Manager

 

Warning: OpenDir: No such file or directory (errno 2) in /home/crispyco/crispyco-www/trinity/file_manager.php on line 187

 

Fatal error: Call to a member function on a non-object in /home/crispyco/crispyco-www/trinity/file_manager.php on line 188

 

If anyone can help with this I would certainly appreciate it.

Posted

The display of the pathing for the modules, backup, cache, and sessions is normal and is merely to show you where the application is looking for the items.

 

In regards to the last item with the file manager, verify that the file_manager.php file exists and has the appropriate permissions and ownership.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Hey Thanks Jim,

 

I thought maybe I had a problem with my config file.

 

What should the permission be for filemanager.php?

Posted

Glad to help :)

 

644 should be adequate permissions.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Thanks Jim, I'll check it out.

 

Vince

Posted

Hey Jim,

 

The file_manager.php file is there in the main admin dir, and the perm is 644 but I still get the same error.

 

Can you think of anything else it might be?

 

Vince

Posted

I am an idiot and I must apologize for not reading your original post properly.

 

Take a look in your admin/file_manager.php file and could you post lines 180 - 195 here?

 

Again, I apologize for the mistake. :oops:

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Don't be so harsh bro........man that was funny when I opened that post.

 

Hey here's line 180-198

 

</tr>

</table></td>

</form></tr>

<?php

} else {

$showuser = (function_exists('posix_getpwuid') ? true : false);

$contents = array();

$dir = dir($current_path);

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

if ( ($file != '.') && ($file != 'CVS') && ( ($file != '..') || ($current_path != DIR_FS_DOCUMENT_ROOT) ) ) {

$file_size = number_format(filesize($current_path . '/' . $file)) . ' bytes';

 

$permissions = tep_get_file_permissions(fileperms($current_path . '/' . $file));

if ($showuser) {

$user = @posix_getpwuid(fileowner($current_path . '/' . $file));

$group = @posix_getgrgid(filegroup($current_path . '/' . $file));

} else {

$user = $group = array();

}

 

 

Thanks for your help Jim.

 

Vince

Archived

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

×
×
  • Create New...