Quote Originally Posted by mdo82 View Post
I am currently busy with my site to convert to 139, but I am getting an error when installing this script.

I am currently working in Xampp for my site to get right before I go live

What am I doing wrong?

I get also this error by installing a new version of the software.
And the SQL version of Xampp is 5.5.20

PHP Code:
1064 You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1
in
:
[
CREATE TABLE testimonials_manager testimonials_id int(11NOT NULL auto_incrementlanguage_id int(11NOT NULL default '1'testimonials_title varchar(64NOT NULL default ''testimonials_url VARCHAR255 NULL DEFAULT NULLtestimonials_name text NOT NULLtestimonials_image varchar(254NOT NULL default ''testimonials_html_text texttestimonials_mail text NOT NULLtestimonials_company VARCHAR255 NULL DEFAULT NULLtestimonials_city VARCHAR255 NULL DEFAULT NULLtestimonials_country VARCHAR255 NULL DEFAULT NULLtestimonials_show_email char(1) default '0'status int(1NOT NULL default '0'date_added datetime NOT NULL default '0000-00-00 00:00:00'last_update datetime NULL default NULLPRIMARY KEY (testimonials_id) ) TYPE=MyISAM ;]
If 
you were entering informationpress the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields
Please help!!
I am currently busy with my site to convert to 139, but I am getting an error when installing this script.
So you are installing testimonials manager on zen cart v1.3.9 correct?

The problem you are having is the engine type, TYPE=MyISAM.
in the install.sql. To correct this just remove the code
) TYPE=MyISAM ; to show );

Just copy this install.sql

PHP Code:
SELECT @t4:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title
'Testimonials Manager';

DELETE FROM configuration WHERE configuration_group_id = @t4;
DELETE FROM configuration_group WHERE configuration_group_id = @t4;
DELETE FROM configuration WHERE configuration_key 'DEFINE_TESTIMONIAL_STATUS';

INSERT INTO configuration_group VALUES (NULL'Testimonials Manager''Testimonials Manager Display Settings''1''1');
UPDATE configuration_group SET sort_order last_insert_id() WHERE configuration_group_id last_insert_id();

SELECT @t4:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title
'Testimonials Manager';

INSERT INTO configuration VALUES (NULL'Number Of Testimonials to display in Testimonials Sidebox''MAX_DISPLAY_TESTIMONIALS_MANAGER_TITLES''5''Set the number of testimonials to display in the Latest Testimonials box.', @t41NULLnow(), NULLNULL);
INSERT INTO configuration VALUES (NULL'Testimonial Title Minimum Length''ENTRY_TESTIMONIALS_TITLE_MIN_LENGTH''2''Minimum length of link title.', @t42NULLnow(), NULLNULL), (NULL'Testimonial Text Minimum Length''ENTRY_TESTIMONIALS_TEXT_MIN_LENGTH''10''Minimum length of Testimonial description.', @t43NULLnow(), NULLNULL), (NULL'Testimonial Text Maximum Length''ENTRY_TESTIMONIALS_TEXT_MAX_LENGTH''1000''Maximum length of Testimonial description.', @t43NULLnow(), NULLNULL), (NULL'Testimonial Contact Name Minimum Length''ENTRY_TESTIMONIALS_CONTACT_NAME_MIN_LENGTH''2''Minimum length of link contact name.', @t44NULLnow(), NULLNULL);
INSERT INTO configuration VALUES (NULL'Display Truncated Testimonials in Sidebox''DISPLAY_TESTIMONIALS_MANAGER_TRUNCATED_TEXT''true''Display truncated text in sidebox', @t45NULLnow(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Length of truncated testimonials to display''TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH''150''If Display Truncated Testimonials in Sidebox is true - set the amount of characters to display from the Testimonials in the Testimonials Manager sidebox.', @t46NULLnow(), NULLNULL);
INSERT INTO configuration VALUES (NULL'Number Of Testimonials to display on all testimonials page''MAX_DISPLAY_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS''5''Set the number of testimonials to display on the all testimonials page.', @t47NULLnow(), NULLNULL);
INSERT INTO configuration VALUES (NULL'Display Date Published on Testimonials page''DISPLAY_TESTIMONIALS_DATE_PUBLISHED''true''Display date published on testimonials page', @t48NULLnow(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Display View All Testimonials Link In Sidebox''DISPLAY_ALL_TESTIMONIALS_TESTIMONIALS_MANAGER_LINK''true''Display View All Testimonials Link In Sidebox', @t49NULLnow(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Display Add New Testimonial Link In Sidebox''DISPLAY_ADD_TESTIMONIAL_LINK''true''Display Add New Testimonial Link In Sidebox', @t410NULLNOW(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Testimonial Image Width''TESTIMONIAL_IMAGE_WIDTH''80''Set the Width of the Testimonial Image', @t411NULL'2007-08-21 12:04:10'NULLNULL);
INSERT INTO configuration VALUES (NULL'Testimonial Image Height''TESTIMONIAL_IMAGE_HEIGHT''80''Set the Height of the Testimonial Image', @t412NULL'2007-08-21 12:04:10'NULLNULL);
INSERT INTO configuration VALUES (NULL'Testimonial Image Directory''TESTIMONIAL_IMAGE_DIRECTORY''testimonials/''Set the Directory for the Testimonial Image', @t413NULL'2007-08-21 12:04:10'NULLNULL);
 
INSERT INTO configuration VALUES (NULL'Display Company Name field''TESTIMONIALS_COMPANY''true''Display Company Name field', @t414NULLNOW(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Display City field''TESTIMONIALS_CITY''true''Display City field', @t415NULLNOW(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Display Country field''TESTIMONIALS_COUNTRY''true''Display Country field', @t416NULLNOW(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Only registered customers may submit a testimonial''REGISTERED_TESTIMONIAL''true''Only registered customers may submit a testimonial', @t417NULLnow(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Display All Languages''TESTIMONIALS_DISPLAY_ALL_LANGUAGES''true''Display All Languages', @t418NULLNOW(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Testimonial - Show Store Name and Address''TESTIMONIAL_STORE_NAME_ADDRESS''true''Include Store Name and Address', @t419NULLnow(), NULL'zen_cfg_select_option(array(''true'', ''false''),');
INSERT INTO configuration VALUES (NULL'Define Testimonial Status''DEFINE_TESTIMONIAL_STATUS''1''Enable the Defined Testimonial Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', @t420NULLnow(), NULL'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
INSERT INTO configuration VALUES (NULL'Testimonial Manager Version''TM_VERSION''1.5.2''Testimonial Manager version', @t421NULLnow(), NULLNULL);

DROP TABLE IF EXISTS testimonials_manager;
CREATE TABLE testimonials_manager (
  
testimonials_id int(11NOT NULL auto_increment,
  
language_id int(11NOT NULL default '1',
  
testimonials_title varchar(64NOT NULL default '',
  
testimonials_url  VARCHAR255 NULL DEFAULT NULL,
  
testimonials_name text NOT NULL,
  
testimonials_image varchar(254NOT NULL default '',
  
testimonials_html_text text,
  
testimonials_mail text NOT NULL,
  
testimonials_company VARCHAR255 NULL DEFAULT NULL,
  
testimonials_city VARCHAR255 NULL DEFAULT NULL,
  
testimonials_country VARCHAR255 NULL DEFAULT NULL,
  
testimonials_show_email char(1) default '0',
  
status int(1NOT NULL default '0',
  
date_added datetime NOT NULL default '0000-00-00 00:00:00',
  
last_update datetime NULL default NULL,
  
PRIMARY KEY  (testimonials_id)
);

INSERT INTO testimonials_manager VALUES (11'Great''''Clyde Designs''''This is just a test submission to show you how it looks, great, eh?''[email protected]'NULLNULLNULL01now(), NULL);