huron Posted February 19, 2006 Share Posted February 19, 2006 My problem is with this sql file(configuration_title, configuration_key, configuration_value,configuration_description, configuration_group_id, sort_order,set_function, date_added) VALUES ('Image Amplification','IMAGE_AMPLIFICATION', 'false', 'Enable to display image amplification andnot popup windows.Good for popup blockers.', '4', '9', 'tep_cfg_select_option(array(\'true\',\'false\'), ', now());(configuration_title, configuration_key, configuration_value,configuration_description, configuration_group_id, sort_order,date_added) VALUES ('Image Amplification Factor','IMAGE_AMPLIFICATION_FACTOR', '2.5', 'The image amplification factor to bigimage size devided bysmall image size', '4', '10', now());I blamed my provider (ISP) for it not working and they sent me the message below. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]After further review of your e-mail and talking to our System Administrationteam, it appears that there is a programming issue within your code.We recommend that you review your script, contact the author of the script,or contact a programmer who will be able to debug your script for you andmake any necessary changes.[/quote]Can anyone in the forum correct the file it is not correct.Thanks forany help offered.de Link to comment https://forums.phpfreaks.com/topic/3484-please-check-phpsql-script-for-errors/ Share on other sites More sharing options...
fenway Posted February 19, 2006 Share Posted February 19, 2006 First, I don't see the words "INSERT INTO yourTable" anywhere. Second, 'tep_cfg_select_option(array(\'true\', \'false\') doesn't have a trailing quote (and what on earth does it store?). Hope that helps. Link to comment https://forums.phpfreaks.com/topic/3484-please-check-phpsql-script-for-errors/#findComment-11978 Share on other sites More sharing options...
huron Posted February 20, 2006 Author Share Posted February 20, 2006 [!--quoteo(post=347502:date=Feb 19 2006, 03:54 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Feb 19 2006, 03:54 PM) [snapback]347502[/snapback][/div][div class=\'quotemain\'][!--quotec--]First, I don't see the words "INSERT INTO yourTable" anywhere. Second, 'tep_cfg_select_option(array(\'true\', \'false\') doesn't have a trailing quote (and what on earth does it store?). Hope that helps.[/quote]Hey Toronto: (fenway)Thanks for the advise I will go back and correct the insert quote, and install the trailing quotes. This is supposed to install the required sql file to enact a zoom prgram to enable "increased size" in my oscommerce estore. I will also ensure I note the versions of the sever programs the next time I visit.I am a frustrated newby attempting to get a craft and hobby store active.Thanks again;DebbyLucknow ON. (Lake Huron area) Link to comment https://forums.phpfreaks.com/topic/3484-please-check-phpsql-script-for-errors/#findComment-11995 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.