jloyzaga Posted March 18, 2004 Share Posted March 18, 2004 Parse error: parse error, expecting `','' or `';'' in c:\phpdev\www\blokey\catalog\admin\easypopulate.php on line 659 code is... line 659 highlighted in blue if ($localfile){ // move the file to where we can work with it $file = tep_get_uploaded_file('usrfl'); $attribute_options_query = "select distinct products_options_id from " . TABLE_PRODUCTS_OPTIONS . " order by products_options_id"; $attribute_options_values = tep_db_query($attribute_options_query); $attribute_options_count = 1; //while ($attribute_options = tep_db_fetch_array($attribute_options_values)){ if (is_uploaded_file($file['tmp_name'])) { tep_copy_uploaded_file($file, DIR_FS_DOCUMENT_ROOT . $tempdir); } echo "<p class=smallText>"; echo FILENAME ': ' . $localfile . "<br>"; // get the entire file into an array $readed = file(DIR_FS_DOCUMENT_ROOT . $tempdir . $localfile); } // now we string the entire thing together in case there were carriage returns in the data $newreaded = ""; foreach ($readed as $read){ $newreaded .= $read; } // now newreaded has the entire file together without the carriage returns. Link to comment Share on other sites More sharing options...
jloyzaga Posted March 18, 2004 Author Share Posted March 18, 2004 fixed that and got Fatal error: Cannot redeclare tep_get_tax_class_title() (previously declared in c:\phpdev\www\blokey\catalog\admin\includes\functions\general.php:1187) in c:\phpdev\www\blokey\catalog\admin\easypopulate_functions.php on line 34 line 34 in easypopulate is //$maxrecs = 4; // for testing Just trying to upgrade from 2.62 easypopulate to 2.72 Any assistance? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.