Jump to content

Archived

This topic is now archived and is closed to further replies.

huron

Please check php/sql script for errors

Recommended Posts

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 and
not 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 big
image size devided by
small 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 Administration
team, 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 and
make any necessary changes.[/quote]
Can anyone in the forum correct the file it is not correct.

Thanks for
any help offered.
de

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
[!--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;
Debby
Lucknow ON. (Lake Huron area)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.