Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Joey_330ci

Archived
  • Posts

    22
  • Joined

  • Last visited

Profile Information

  • Real Name
    Joey Collins

Joey_330ci's Achievements

  1. Found the problem, and it was simple as I thought. This line: echo FILENAME ': ' . $localfile . "<br>";; was missing a '.' after 'FILENAME', so it should have been: echo FILENAME . ': ' . $localfile . "<br>";; Heads up for anyone installing this contribution.
  2. I installed this contribution today, tried it twice and anytime I click EasyPopulate from Catalog I get: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /../html/catalog/admin/easypopulate.php on line 659 Ive gone over the code, and with what little knowledge I have, I couldnt find anything wrong. This is lines 646-674: 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. // if for some reason excel put qoutes around our EOREOR, remove them then split into rows $newreaded = str_replace('"EOREOR"', 'EOREOR', $newreaded); $readed = explode( $separator . 'EOREOR',$newreaded);
  3. I installed this contribution today, tried it twice and anytime I click EasyPopulate from Catalog I get: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /../html/catalog/admin/easypopulate.php on line 659 Ive gone over the code, and with what little knowledge I have, I couldnt find anything wrong. This is lines 646-674: 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. // if for some reason excel put qoutes around our EOREOR, remove them then split into rows $newreaded = str_replace('"EOREOR"', 'EOREOR', $newreaded); $readed = explode( $separator . 'EOREOR',$newreaded);
  4. Reinstalled the FedEx module, and when I checkout, I get the following error: 1054 - Unknown column 'products_ship_sep' in 'where clause' select products_id, products_price, products_tax_class_id, products_weight from products where products_id = '42' and products_ship_sep = '0' [TEP STOP]
  5. Ill try and make this as short as possible, as the title says, Ive tried all the shipping modules and am unable to get any of them to work properly. My first problem was I couldnt get the modules to save my information such as usernames and passwords for accounts, but I searched and found THIS which solved that problem. Ive registered an account with USPS, UPS, and FedEx in attempts to get SOMETHING to work but to no avail. When I get to the checkout portion of an order, I get the error about "XXXXX shipping module is not properly configured, contact store owner for XXXXX shipping". For the USPS module's username, Ive tried both the text version of my USPS account username, as well as my account number because I wasnt sure which to use, neither work. I would prefer using this or FedEx. Im hosting with GoDaddy and have applied the FedEx patch but I get the same error as with USPS. Anyone have any ideas or helpful advice? This is the last thing keeping me from getting up and running. Thanks!
  6. Tried the UPS module, same thing happened, edited the module, hit Update, and nothing changed. When I tried to complete an order though just for the hell of it, I got a white screen when I should have went to teh shipping screen. I just did a restore to get rid of both modules until I can get a little help from someone.
  7. Installed the FedEx shipping module without a hitch. Went into the admin panel to set everything up, entered my account number and all other relevant information, but when I hit "Update", none of my changes are saved. Account number, address, phone number, everything says "NONE" again, as if I never made any changes. When I place a test order and get to the shipping portion, of course I get an "You forgot to set up your Fedex account number, this can be set up in Admin -> Modules -> Shipping" error. Im hosting with GoDaddy, and have already applied the patch thats out for it, although at this point that shouldnt make a difference anyways. Anyone have any ideas to what I may or my not have done? Thanks! -Joey
×
×
  • Create New...