Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

contribution messup!


henya

Recommended Posts

Posted

Anyone know how to undo a sql statement?

 

I added a contribution to solve the distorting images prob I had and not only did it not work but I now have all sorts of probs. After you click on an image to enlarge the text near the image goes weird - some letters on top of others and the language goes back to english each time a new page loads even when it was in another language and you have to switch back to the other lang.

 

This was the sql statement I did:

 

SQL Insert string for admin image config:

 

INSERT INTO configuration (

configuration_title,

configuration_key,

configuration_value,

configuration_description,

configuration_group_id,

sort_order,

date_added,

set_function)

 

VALUES (

'Constrain Proportions',

'IMAGE_CONSTRAIN_PROPORTIONS',

'true',

'Maintain image proportions when setting sizes',

4,

9,

now(),

'tep_cfg_select_option(array(\'true\', \'false\'),');

 

Any Suggestion?!

Posted

1) use phpmyadmin

2) select the Configuration table

3) browse

4) delete the particular record

 

That'll be easiest

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Archived

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

×
×
  • Create New...