Danny Diablo Posted April 13, 2006 Report Share Posted April 13, 2006 Hallo, Folgendes Problemchen hab ich festgestellt. Ich hab mir den Onlineshop Script ma runtergeladen, und azuf dem Server hochgeschoben. Nun bekomme ich diverse Meldungen die so Aussehn. Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 92 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 92 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 92 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 92 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 93 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 93 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 93 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of sscanf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/web523/html/xtc_installer/includes/application.php on line 93 Hat wer nen Rat? mgf Link to comment Share on other sites More sharing options...
Troubleshooter Posted April 13, 2006 Report Share Posted April 13, 2006 sieht so aus als w?rde der Vergleich der PHP-Versionen ergebn, dass du eine ?ltere PHP Version auf deinem Server hast, als es xt-commerce verlangt... Link to comment Share on other sites More sharing options...
Troubleshooter Posted April 13, 2006 Report Share Posted April 13, 2006 schreib dir mal ne php_info und schau nach welche php-Version auf deinem Server ist... xt verlangt die: ab PHP 4.1.3 script: <?php echo php_info(); ?> + als php_info.php abspeichern + in Browserzeile eingeben: www.deinedomian.de/php_info.php + guckst du... Link to comment Share on other sites More sharing options...
Danny Diablo Posted April 13, 2006 Author Report Share Posted April 13, 2006 Es ist die php version 5.0.4 mfg Link to comment Share on other sites More sharing options...
Troubleshooter Posted April 13, 2006 Report Share Posted April 13, 2006 naja zur Kompatibilit?t zu PHP5 kann ich nix sagen ich w?rd folgendes probieren: editiere mal die xtc_installer/includes/application.php Zeile 89: function xtc_check_version($mini='4.1.2') ?ndern in: function xtc_check_version($mini='5.0.4') teste mal... Link to comment Share on other sites More sharing options...
Troubleshooter Posted April 13, 2006 Report Share Posted April 13, 2006 dann Inst. neu starten... Link to comment Share on other sites More sharing options...
Danny Diablo Posted April 13, 2006 Author Report Share Posted April 13, 2006 es hat nix gebracht. ist der gleiche effekt wie vorher Link to comment Share on other sites More sharing options...
Danny Diablo Posted April 13, 2006 Author Report Share Posted April 13, 2006 ich hab jetz einfach ma die Zeilen gel?scht. 92: sscanf($dummy,"%d.%d.%d%s",&$v1,&$v2,&$v3,&$v4); 93: sscanf($mini,"%d.%d.%d%s",&$m1,&$m2,&$m3,&$m4); jedenfall ist jetz das wech! mfg Link to comment Share on other sites More sharing options...
Troubleshooter Posted April 13, 2006 Report Share Posted April 13, 2006 kommentier doch einfach mal die gesamte Fuktion aus: das hier: function xtc_check_version($mini='4.1.2') { $dummy=phpversion(); sscanf($dummy,"%d.%d.%d%s",&$v1,&$v2,&$v3,&$v4); sscanf($mini,"%d.%d.%d%s",&$m1,&$m2,&$m3,&$m4); if($v1>$m1) return(1); elseif($v1<$m1) return(0); if($v2>$m2) return(1); elseif($v2<$m2) return(0); if($v3>$m3) return(1); elseif($v3<$m3) return(0); if((!$v4)&&(!$m4)) return(1); if(($v4)&&(!$m4)) { $dummy=strpos($v4,"pl"); if(is_integer($dummy)) return(1); return(0); } elseif((!$v4)&&($m4)) { $dummy=strpos($m4,"rc"); if(is_integer($dummy)) return(1); return(0); } return(0); } in das ?ndern: /* function xtc_check_version($mini='4.1.2') { $dummy=phpversion(); sscanf($dummy,"%d.%d.%d%s",&$v1,&$v2,&$v3,&$v4); sscanf($mini,"%d.%d.%d%s",&$m1,&$m2,&$m3,&$m4); if($v1>$m1) return(1); elseif($v1<$m1) return(0); if($v2>$m2) return(1); elseif($v2<$m2) return(0); if($v3>$m3) return(1); elseif($v3<$m3) return(0); if((!$v4)&&(!$m4)) return(1); if(($v4)&&(!$m4)) { $dummy=strpos($v4,"pl"); if(is_integer($dummy)) return(1); return(0); } elseif((!$v4)&&($m4)) { $dummy=strpos($m4,"rc"); if(is_integer($dummy)) return(1); return(0); } return(0); } */ test mal... Link to comment Share on other sites More sharing options...
Danny Diablo Posted April 13, 2006 Author Report Share Posted April 13, 2006 Originally posted by Troubleshooter@Apr 13 2006, 07:23 PM kommentier doch einfach mal die gesamte Fuktion aus: das hier: in das ?ndern: test mal... Quoted post hab es ma so auskommentiert, jedenfall besser. als ein paar zeilen l?schen Link to comment Share on other sites More sharing options...
Troubleshooter Posted April 13, 2006 Report Share Posted April 13, 2006 eben... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.