Jump to content

trianglehead

Members
  • Content count

    16
  • Joined

  • Last visited

  1. trianglehead

    Greek Zones contribution

    Hi all I'm trying to install the greek zones contribution: greek contr Not knowing much about Mysql I'm a little stuck with the import as it's throwing up the error: Error SQL query: CREATE TABLE `countries` ( `countries_id` int( 11 ) NOT NULL AUTO_INCREMENT , `countries_name` varchar( 64 ) NOT NULL default '', `countries_iso_code_2` char( 2 ) NOT NULL default '', `countries_iso_code_3` char( 3 ) NOT NULL default '', `address_format_id` int( 11 ) NOT NULL default '0', PRIMARY KEY ( `countries_id` ) , KEY `IDX_COUNTRIES_NAME` ( `countries_name` ) ) TYPE = MYISAM ; MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9 My Mysql verion is 5.0.7 What is it that I need to correct in order for it to import successfully? Simon
  2. trianglehead

    OSC to CSS v2

    Well, I've now used both your code above and also tried downloading the files. Neither of them seem to work. I've resigned mysekf to the fact that it's not going to work so have commented out the 'add to cart' button and reinstated the original one. I don't however know what the original code for the buy now button was. Am I able to copy and paste it straight out of the original osc 2.2 files?
  3. trianglehead

    OSC to CSS v2

    Yes connected to the internet. Will download and save them to the directory to see if this helps although, I can't see this making any difference.
  4. trianglehead

    OSC to CSS v2

    Hi guys. What a breath of fresh air this conversion is! I've just installed it along with the 'securityPro' contribution. I've found though that both the 'buy now' and 'add to cart' buttons do not seem to do anything. They do not add anything to the cart nor does the json cart pop up. I'm not able to post a link as I'm working on localhost. Does anyone have any ideas as to what's going wrong?
  5. Hi all Vast improvement on the out of the box product listing. I'm having a problem though with TD widths. I've got it set up to display 4 products per row.(this will never change) I've run through product_listing.php and can see that theres a few lines of code thoughout like ' width="'.(PRODUCTS_PER_ROW ? (int)(100/PRODUCTS_PER_ROW) : '').'%" valign="top"', I need to make the TD's a specific size as in the site design. I've tried deleting the width equation and setting the width with CSS but nothing changes. Is this the code that needs changing or is it hidden somwhere else? If someone could please please help me out it would stop me going insane and just staring at the screen!
  6. trianglehead

    ultrapics duplicate DB key

    Hi all I've got 'headertags v3' and 'Product Listing Enhancements, Thumbnails & Manufacturer Headings V2.8' installed. I've just come to install 'ultrapics'. At the point of importing the sql file I'm given an error: SQL query: 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 ( '', 'Additional Thumb Width', 'ULT_THUMB_IMAGE_WIDTH', '140', 'The pixel width of additional thumb images', 4, 11, now( ) , now( ) , NULL , NULL ); MySQL said: Documentation #1062 - Duplicate entry '0' for key 'PRIMARY' as I'm totally inept at mysql I have no idea how to resolve this! Do any of you out there know where the duplicate occurs and how I can resolve this? Cheers Simon
×