Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / shipping error plz help

shipping error plz help

Locked

Views: 7,106

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Feb 2009, 9:35 AM
#1
nathan66 avatar

nathan66

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

shipping error plz help

hi every 1 im a noob here and i need a little help im getting this error in the admin side of zen in the shipping section can any 1 enlighten me:bigups:

Shipping Modules

Warning: include(/home/nathan66/public_html/includes/languages/english/modules/shipping/product.php) [function.include]: failed to open stream: No such file or directory in /home/nathan66/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/nathan66/public_html/includes/languages/english/modules/shipping/product.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nathan66/public_html/admin/modules.php on line 173

17 Feb 2009, 9:09 AM
#2
nathan66 avatar

nathan66

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: shipping error plz help

hi guys im new here and wondering if any 1 can help me
the error is

Shipping Modules

Warning: include(/home/nathan66/public_html/includes/languages/english/modules/shipping/product.php) [function.include]: failed to open stream: No such file or directory in /home/nathan66/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/nathan66/public_html/includes/languages/english/modules/shipping/product.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nathan66/public_html/admin/modules.php on line 173 :yuck:

17 Feb 2009, 9:35 AM
#3
nathan66 avatar

nathan66

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: shipping error plz help

hey guys <?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];
this is line 173 and theres ment to be an error here include(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/modules/' . $module_type . '/' . $file);line 173 finnished
include($module_directory . $file);
$class = substr($file, 0, strrpos($file, '.'));
if (zen_class_exists($class)) {
$module = new $class;
if ($module->check() > 0) {
if ($module->sort_order > 0) {
if ($installed_modules[$module->sort_order] != '') {
$zc_valid = false;
}
$installed_modules[$module->sort_order] = $file;
} else {
$installed_modules[] = $file;

thanks in advance guys

17 Feb 2009, 9:45 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: shipping error plz help

Actually, it's quite simple ... you've got a misplaced file in your /includes/modules/shipping/ folder (namely product.php) and the system is unsuccessful in finding a matching language file for that module in the normal location for language files for shipping modules.

18 Feb 2009, 8:00 AM
#5
nathan66 avatar

nathan66

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: shipping error plz help

hey tanks for helping but product.php is in includes/module/shipping ?
so im now more confused

18 Feb 2009, 9:19 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: shipping error plz help

That's my point.
Zen Cart doesn't have an /includes/modules/shipping/product.php file.
I don't know how yours got there, but if you remove it your error message should go away.

23 Feb 2009, 9:06 AM
#7
nathan66 avatar

nathan66

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: shipping error plz help

thank for ur help all is sorted