Guest Posted February 27, 2007 Posted February 27, 2007 Hi! When I am in the adminpanel and click on the Freigh-button I get this error: Warning: include(/home/baneutst/public_html/nettbutikk/includes/languages/norwegian/modules/shipping/pickup.php) [function.include]: failed to open stream: No such file or directory in /home/baneutst/public_html/nettbutikk/admin/modules.php on line 128 Warning: include() [function.include]: Failed opening '/home/baneutst/public_html/nettbutikk/includes/languages/norwegian/modules/shipping/pickup.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/baneutst/public_html/nettbutikk/admin/modules.php on line 128 How can I remove this error, the file pickup.php does not exist and when I try to install an Freight module this error shows on my website for all. Ponytack
Guest Posted February 27, 2007 Posted February 27, 2007 Here is some more information... This is the file module.php (starts at line 120, the error is on line 128) 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; }
Jan Zonjee Posted February 27, 2007 Posted February 27, 2007 How can I remove this error, the file pickup.php does not exist and when I try to install an Freight module this error shows on my website for all. If the file is not there why have you installed that module? For every shipping module in includes/modules/shipping there is corresponding language file which is automatically loaded by the code. If it is not there either add it or remove the file pickup.php from includes/modules/shipping (or rename it to a .txt file or something else, as long as it does not end in .php).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.