Jump to content

Please check php/sql script for errors


huron

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
Link to comment
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)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.