|
|||
|
Guten Tag!
Vielleich kennt ja jemand mein Problem/ evantuell wie man es lösen kann. In Adminbereich, module, XT-module habe ich XT-Imageprocessing-New - Variante B ( EMPFOHLEN ) um die bilder gut anzupassen, leider sobald ich auf start und dann auf ok drücke kommt ein fehler meldung: Warning: Missing argument 2 for process() in /home/www/ph14s313/html/admin/includes/modules/export/image_processing_step.php on line 58 Warning: getimagesize() [function.getimagesize]: Read error! in /home/www/ph14s313/html/admin/includes/classes/image_manipulator_GD2.php on line 39 Warning: getimagesize() [function.getimagesize]: Read error! in /home/www/ph14s313/html/admin/includes/classes/image_manipulator_GD2.php on line 39 Warning: getimagesize() [function.getimagesize]: Read error! in /home/www/ph14s313/html/admin/includes/classes/image_manipulator_GD2.php on line 39 Warning: getimagesize() [function.getimagesize]: Read error! in /home/www/ph14s313/html/admin/includes/classes/image_manipulator_GD2.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /home/www/ph14s313/html/admin/includes/modules/export/image_processing_step.php:48) in /home/www/ph14s313/html/admin/includes/functions/general.php on line 130 was kann das wohl zu bedeuten? Kann mir jemand dabei helfen? Mfg denis82 Geändert von denis82 (06.05.2009 um 22:14 Uhr) |
|
|||
|
Hier ist die datei ich schetze mal das es an argumenten liegt aber wo?
<?php /* ----------------------------------------------------------------------------------------- $Id: image_processing_step.php 950 2005-05-14 16:45:21Z mz $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright (c) 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: (c) 2000-2001 The Exchange Project (earlier name of osCommerce) (c) 2002-2003 osCommerce(cod.php,v 1.28 2003/02/14); www.oscommerce.com (c) 2003 nextcommerce (invoice.php,v 1.6 2003/08/24); www.nextcommerce.org -------------------------------------------------------------- Contribution image_processing_step (step-by-step Variante B) by INSEH 2008-03-26 Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ defined( '_VALID_XTC' ) or die( 'Direct Access to this location is not allowed.' ); define('MODULE_STEP_IMAGE_PROCESS_TEXT_DESCRIPTION ', 'XT-Commerce Imageprocessing - Stapelverarbeitung step-by-step Variante B'); define('MODULE_STEP_IMAGE_PROCESS_TEXT_TITLE', 'XT-Imageprocessing-New (step-by-step Variante B)'); define('MODULE_STEP_IMAGE_PROCESS_STATUS_DESC','Mo dulstatus'); define('MODULE_STEP_IMAGE_PROCESS_STATUS_TITLE','S tatus'); define('IMAGE_EXPORT','Drücken Sie Ok um die Stapelverarbeitung zu starten, dieser Vorgang kann einige Zeit dauern, auf keinen Fall unterbrechen!.'); define('IMAGE_EXPORT_TYPE','<hr noshade><b>Stapelverarbeitung:</b>'); class image_processing_step { var $code, $title, $description, $enabled; function image_processing_step() { global $order; $this->code = 'image_processing_step'; $this->title = MODULE_STEP_IMAGE_PROCESS_TEXT_TITLE; $this->description = MODULE_STEP_IMAGE_PROCESS_TEXT_DESCRIPTION; $this->sort_order = MODULE_STEP_IMAGE_PROCESS_SORT_ORDER; $this->enabled = ((MODULE_STEP_IMAGE_PROCESS_STATUS == 'True') ? true : false); } // <neu> function process($file, $offset) { // </neu> include ('includes/classes/'.FILENAME_IMAGEMANIPULATOR); @xtc_set_time_limit(0); $files=array(); if ($dir= opendir(DIR_FS_CATALOG_ORIGINAL_IMAGES)){ while ($file = readdir($dir)) { if (is_file(DIR_FS_CATALOG_ORIGINAL_IMAGES.$file) and ($file !="index.html") and (strtolower($file) != "thumbs.db")){ $files[]=array( 'id' => $file, 'text' =>$file); } } closedir($dir); } // <neu> hier Bilderanzahl pro Durchgang $step = 10; $max_files = sizeof($files); $limit = $offset + $step; for ($i=$offset; $i<$limit; $i++) { if ($i >= $max_files) xtc_redirect(xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=image_processing_step')); $products_image_name = $files[$i]['text']; if ($files[$i]['text'] != 'Thumbs.db' && $files[$i]['text'] != 'Index.html') { require(DIR_WS_INCLUDES . 'product_thumbnail_images.php'); require(DIR_WS_INCLUDES . 'product_info_images.php'); require(DIR_WS_INCLUDES . 'product_popup_images.php'); } } xtc_redirect(xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&action=save&module=image_processing_step&start =' . $limit)); // </neu> } function display() { return array('text' => IMAGE_EXPORT_TYPE.'<br>'. IMAGE_EXPORT.'<br>'. '<br>' . xtc_button(BUTTON_REVIEW_APPROVE) . ' ' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=image_processing_step'))); } function check() { if (!isset($this->_check)) { $check_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_STEP_IMAGE_PROCESS_STATUS'"); $this->_check = xtc_db_num_rows($check_query); } return $this->_check; } function install() { xtc_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_key, configuration_value, configuration_group_id, sort_order, set_function, date_added) values ('MODULE_STEP_IMAGE_PROCESS_STATUS', 'True', '6', '1', 'xtc_cfg_select_option(array(\'True\', \'False\'), ', now())"); } function remove() { xtc_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_STEP_IMAGE_PROCESS_STATUS'); } } ?> |
![]() |
| Lesezeichen |
| Stichworte |
| problem |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Session Problem!!! HILFE | arnie83 | Installation und Konfiguration | 2 | 11.04.2007 07:36 |
| Browserkompatibilit?ts Problem >Firefox>Netzcape | TobiasNYSE | Template System | 4 | 27.10.2005 20:54 |
| Smarty Error: Problem Writing Temporary File | unique | Installation und Konfiguration | 3 | 10.11.2003 20:08 |