Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Problem Shipping Module


Rowdy Roy

Recommended Posts

Posted

In Admin Dashboard when I click on "Shipping" I get the following warning.

 

Warning: main(/home/rowdyroy/public_html/2010aw957t_rr/includes/languages/english/modules/shipping/configure.php): failed to open stream: No such file or directory in home/rowdyroy/public_html/2010aw957t_rr/admin/modules.php on line 128

 

I find no "shipping/configure.php" in any of the versions. I am running osc 2.2 ms2 update 060812. Has anyone experienced this error? Thanks

Don Harbour

Rowdy Roy Seasoning

Maumelle, AR USA

Posted
In Admin Dashboard when I click on "Shipping" I get the following warning.

 

Warning: main(/home/rowdyroy/public_html/2010aw957t_rr/includes/languages/english/modules/shipping/configure.php): failed to open stream: No such file or directory in home/rowdyroy/public_html/2010aw957t_rr/admin/modules.php on line 128

 

I find no "shipping/configure.php" in any of the versions. I am running osc 2.2 ms2 update 060812. Has anyone experienced this error? Thanks

 

 

Line 128 of your catalog/admin/modules.php should say:

 

include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/' . $module_type . '/' . $file);

 

So it looks at all the files saved in catalog/includes/languages/english/modules/...

 

Double check again, you may have accidentally saved your configure php under the above folder, okay?

 

I'm thinking it's there and the module is not making sense of it or there is an error in your admin/modules.php that points to "$file". Line 109 to 140 should look like this:

 

 

<?php

$file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.'));

$directory_array = array();

if ($dir = @dir($module_directory)) {

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

if (!is_dir($module_directory . $file)) {

if (substr($file, strrpos($file, '.')) == $file_extension) {

$directory_array[] = $file;

}

}

}

sort($directory_array);

$dir->close();

}

 

$installed_modules = array();

for ($i=0, $n=sizeof($directory_array); $i<$n; $i++) {

$file = $directory_array[$i];

 

include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/' . $module_type . '/' . $file);

include($module_directory . $file);

 

$class = substr($file, 0, strrpos($file, '.'));

if (tep_class_exists($class)) {

$module = new $class;

if ($module->check() > 0) {

if ($module->sort_order > 0) {

$installed_modules[$module->sort_order] = $file;

} else {

$installed_modules[] = $file;

}

}

Posted
In Admin Dashboard when I click on "Shipping" I get the following warning.

 

Warning: main(/home/rowdyroy/public_html/2010aw957t_rr/includes/languages/english/modules/shipping/configure.php): failed to open stream: No such file or directory in home/rowdyroy/public_html/2010aw957t_rr/admin/modules.php on line 128

 

I find no "shipping/configure.php" in any of the versions. I am running osc 2.2 ms2 update 060812. Has anyone experienced this error? Thanks

 

 

Thanks for the reply Angela. I did not see the discrepancy in the code. However I pasted that which you sent to me. Still getting the same error.

Don Harbour

Rowdy Roy Seasoning

Maumelle, AR USA

Posted
Thanks for the reply Angela. I did not see the discrepancy in the code. However I pasted that which you sent to me. Still getting the same error.

 

Did you double check that you didn't accidentally upload your configure.php file under this folder:

catalog/includes/languages/english/modules/shipping/-there should not be configure.php here-

 

Make sure you check on the catalog side and not the admin side...

 

If not and it's still giving you the error, I'm sorry I don't know what's causing it...

Archived

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

×
×
  • Create New...