Jump to content

Zex

Members
  • Content count

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    John
  • Location
    Albany, NY
  • Website
  1. Excellent! Thanks Hobbs! Any Chance of getting a copy of Easy Populate that works with either version of 1.8? Thanks in advance! Zex
  2. I've seen so many posts on this error, with only one that contains a solution that worked. (For me at least) :thumbsup: Thanks to Mibble for all the help he/she has contributed to the group. My thoughts on this Topic, To become a nesting ground for all of the solutions that people have come across for Easy Populate. Once again Thanks everyone for all of your assistance. PS. Thanks wyaheg for reposting the below code. :sweating: You saved me a ton of time. :thumbsup: ==================================================================== The SYMPTON : When Uploading a data file, the first record is recognised and works correctly - all other records aren't recognised and the first 9 characters of each record are displayed as output. sample output (for file containing 12 update records): File uploaded. Temporary filename: /tmp/phpjwqOig User filename: EP2005Aug23-0012.txt Size: 617 | CARWC001 | Threads | Caron Coll | Watercolou Updated | CARWC002 | CARWL Thr | CARWF Thr | CARIS Thr | CARRA Thr | CARWC000 | DMC151 Th | DMC150 Th | DMCECRU T | DMCBLANC | DMCB5200 | all records have EOREOR fields ============================================== The PROBLEM : the problem is caused by an incomatibility with PHP5 ============================================== The SOLUTION : MODIFY /admin/easypopulate.php (approx line 712) FIND array_walk($readed, 'walk'); REPALCE WITH //array_walk($readed, 'walk'); foreach ($readed as $readed_record) { walk($readed_record); } ===============================================
  3. Zex

    [Contribution] Purchase Order V2.3

    I figured out what was wrong with mine, Hopefully it will work for you. Open up the file: admin\customers.php search for: tep_redirect(tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')))); break; default: $customers_query = tep_db_query("select c.customers_id, c.customers_gender, c.customers_firstname, c.customers_lastname, c.customers_dob, c.customers_email_address, a.entry_company, a.entry_street_address, a.entry_suburb, a.entry_postcode, a.entry_city, a.entry_state, a.entry_zone_id, a.entry_country_id, c.customers_telephone, c.customers_fax, c.customers_newsletter, c.customers_default_address_id from " . TABLE_CUSTOMERS . " c left join " . TABLE_ADDRESS_BOOK . " a on c.customers_default_address_id = a.address_book_id where a.customers_id = c.customers_id and c.customers_id = '" . (int)$HTTP_GET_VARS['cID'] . "'"); Add // to the front of the $customer_query line above Should look like this: //$customers_query = tep_db_query("select c.customers_id, c.customers_gender, c.customers_firstname, c.customers_lastname, c.customers_dob, c.customers_email_address, a.entry_company, a.entry_street_address, a.entry_suburb, a.entry_postcode, a.entry_city, a.entry_state, a.entry_zone_id, a.entry_country_id, c.customers_telephone, c.customers_fax, c.customers_newsletter, c.customers_default_address_id from " . TABLE_CUSTOMERS . " c left join " . TABLE_ADDRESS_BOOK . " a on c.customers_default_address_id = a.address_book_id where a.customers_id = c.customers_id and c.customers_id = '" . (int)$HTTP_GET_VARS['cID'] . "'"); Only do this for the line underneath " default: Refresh your admin screen and you will now see 0.00 in both the screen for Credit Limit and Available balance. One other thing i just figured out, to reduce the amount of the credit limit (Once it is set) all you need to do is put in a negative amout into the Increase Credit Limit: -1000.00 Good Luck, hope I saved someone a little time :)
  4. Zex

    [Contribution] Purchase Order V2.3

    I am having the same problem. Have you had any luck in getting this to work? If anyone could help us out with this, I would greatly appreciate it. Thanks in advance for the help. Zex
  5. Zex

    Wishlist 3.0 Support Thread

    :thumbsup: I figured out what the problem was. (At least it works now for me ;) ) This is in reference to Installation instruction STEP 3 - Edit catalog/product_info.php When I copied and pasted the code from the installation instructions, into my Product_Info.php file, it put all of the code on one line. //DISPLAY PRODUCT WAS ADDED TO WISHLIST IF WISHLIST REDIRECT IS ENABLED if(tep_session_is_registered('wishlist_id')) { ?> <tr> <td class="messageStackSuccess"><?php echo PRODUCT_ADDED_TO_WISHLIST; ?></td> </tr> <?php tep_session_unregister('wishlist_id'); } Like the above example^^ As you can see from the "//" it REM'd the entire line out. Solution: I broke up the code up so it was correctly layed out. (See Example below)vvvv //DISPLAY PRODUCT WAS ADDED TO WISHLIST IF WISHLIST REDIRECT IS ENABLED if(tep_session_is_registered('wishlist_id')) { ?> <tr> <td class="messageStackSuccess"><?php echo PRODUCT_ADDED_TO_WISHLIST; ?></td> </tr> <?php tep_session_unregister('wishlist_id'); } If your code is correctly layed out, then I would run another SQL Query on with the following code: (Pulled and copied from Wishlist 3d) You can grab it from the zip or use the below snip. # # Database table for `customers_wishlist` # CREATE TABLE `customers_wishlist` ( `products_id` tinytext NOT NULL, `customers_id` int(13) NOT NULL default '0' ) TYPE=MyISAM; # # Database table for `customers_wishlist_attributes` # CREATE TABLE `customers_wishlist_attributes` ( `customers_wishlist_attributes_id` int(11) NOT NULL auto_increment, `customers_id` int(11) NOT NULL default '0', `products_id` tinytext NOT NULL, `products_options_id` int(11) NOT NULL default '0', `products_options_value_id` int(11) NOT NULL default '0', PRIMARY KEY (`customers_wishlist_attributes_id`) ) TYPE=MyISAM; INSERT INTO `configuration_group` ( `configuration_group_id` , `configuration_group_title` , `configuration_group_description` , `sort_order` , `visible` ) VALUES ( '12954', 'Wish List Settings', 'Settings for your Wish List', '25', '1' ); INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ( '', 'Max Wish List', 'MAX_DISPLAY_WISHLIST_PRODUCTS', '12', 'How many wish list items to show per page on the main wishlist.php file', '12954', '', now(), now(), NULL , NULL ); INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ( '', 'Max Wish List Box', 'MAX_DISPLAY_WISHLIST_BOX', '4', 'How many wish list items to display in the infobox before it changes to a counter', '12954', '', now(), now(), NULL , NULL ); INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ( '', 'Display Emails', 'DISPLAY_WISHLIST_EMAILS', '10', 'How many emails to display when the customer emails their wishlist link', '12954', '', now(), now(), NULL , NULL ); INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ( '', 'Wishlist Redirect', 'WISHLIST_REDIRECT', 'No', 'Do you want to redirect back to the product_info.php page when a customer adds a product to their wishlist?', '12954', '', now(), now(), NULL , 'tep_cfg_select_option(array(\'Yes\', \'No\'),' ); Hope this helps you out. Good luck. John
×