Database Optimizer
#41
Posted 04 January 2012, 23:02
#1060 - Duplicate column name 'customers_old_last_update'
Kool Kat Jazz Records
#42
Posted 04 January 2012, 23:31
HTH
G
Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.
For links mentioned in old answers that are no longer here follow this link Useful Threads.
If this post was useful, click the Like This button over there ======>>>>>.
#43
Posted 05 January 2012, 10:13
I have just tried adding the sql file in the 2.2 update section and get the following error in phpmyadmin
MySQL said:
#1048 - Column 'set_function' cannot be null
Have you come across this before
I am not a coder. OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
#44
Posted 05 January 2012, 10:23
HTH
G
Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.
For links mentioned in old answers that are no longer here follow this link Useful Threads.
If this post was useful, click the Like This button over there ======>>>>>.
#45
Posted 05 January 2012, 10:47
I am not a coder. OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
#46
Posted 05 January 2012, 12:14
Just spent some time converting an rc2a shop db to 2.3.1 format, loads of error like that.
[img]http://forums.oscommerce.com//public/style_emoticons/default/whistling.gif[/img]
G
Edited by geoffreywalton, 05 January 2012, 12:15.
Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.
For links mentioned in old answers that are no longer here follow this link Useful Threads.
If this post was useful, click the Like This button over there ======>>>>>.
#47
Posted 18 January 2012, 20:19
Fatal error: Class 'aUri_Modules' not found in /home/wihirt/public_html/catalog/includes/modules/ultimate_seo_urls5/uri_modules/path_standard.php on line 25
Does this contribution not like ulitimate seo urls5 ?
Cheers
Kool Kat Jazz Records
#48
Posted 19 January 2012, 00:32
pederb, on 18 January 2012, 20:19, said:
Fatal error: Class 'aUri_Modules' not found in /home/wihirt/public_html/catalog/includes/modules/ultimate_seo_urls5/uri_modules/path_standard.php on line 25
Does this contribution not like ulitimate seo urls5 ?
Cheers
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#49
Posted 19 January 2012, 23:40
What is the best way checking if SEO Pro works?
Checking the url or?
Kool Kat Jazz Records
#50
Posted 19 January 2012, 23:46
pederb, on 19 January 2012, 23:40, said:
What is the best way checking if SEO Pro works?
Checking the url or?
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#51
Posted 01 February 2012, 16:13
Edited by mr_absinthe, 01 February 2012, 16:16.
#52
Posted 01 February 2012, 17:28
mr_absinthe, on 01 February 2012, 16:13, said:
mysql_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " WHERE (`products_id`, `customers_id`) in (select `products_id`, `customers_id` from " . TABLE_CUSTOMERS_BASKET . " where customers_basket_date_added > " . $dateCustomers . ")");
mysql_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_basket_date_added > '" . $dateCustomers . "'"); //clear the customers basket table of entries greater than one month old
and replace it with
mysql_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " WHERE (`products_id`, `customers_id`) in (select `products_id`, `customers_id` from " . TABLE_CUSTOMERS_BASKET . " where customers_basket_date_added < '" . $dateCustomers . "')");
mysql_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_basket_date_added < '" . $dateCustomers . "'"); //clear the customers basket table of entries greater than one month old
Edited by Jack_mcs, 01 February 2012, 17:29.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#53
Posted 02 February 2012, 15:11
#54
Posted 02 February 2012, 17:51
mr_absinthe, on 02 February 2012, 15:11, said:
mysql_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " WHERE (`products_id`, `customers_id`) in (select `products_id`, `customers_id` from " . TABLE_CUSTOMERS_BASKET . " where customers_basket_date_added < '" . $dateCustomers . "')");
and place this line above itecho "delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " WHERE (`products_id`, `customers_id`) in (select `products_id`, `customers_id` from " . TABLE_CUSTOMERS_BASKET . " where customers_basket_date_added < '" . $dateCustomers . "')";Then go to tools->Database Optimizer, check the "Remove Customer Sessions" box and update. The mysql command should be displayed on the page. The date will be at the end of the line in the form of yyyymmdd. It should be todays date minus the offset (30 days). Is it?
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#55
Posted 03 February 2012, 10:07
delete from customers_basket_attributes WHERE (`products_id`, `customers_id`) in (select `products_id`, `customers_id` from customers_basket where customers_basket_date_added < '20120104')
#56
Posted 03 February 2012, 13:06
mr_absinthe, on 03 February 2012, 10:07, said:
delete from customers_basket_attributes WHERE (`products_id`, `customers_id`) in (select `products_id`, `customers_id` from customers_basket where customers_basket_date_added < '20120104')
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#57
Posted 03 February 2012, 14:40
Store database has been optimized.
Customers tables were trimmed.
Initial size was 49209454.
Final, optimized, size is 49209454.
With about five years data the initial figure should be higher I guess.
#58
Posted 03 February 2012, 14:55
mr_absinthe, on 03 February 2012, 14:40, said:
Store database has been optimized.
Customers tables were trimmed.
Initial size was 49209454.
Final, optimized, size is 49209454.
With about five years data the initial figure should be higher I guess.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#59
Posted 05 February 2012, 14:15
I have the same problem as Lioelx and martin67, has a resolution it you it, I am on a waiter devoted with osc2.1.3.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxx/public_html/shop/back_ans/includes/modules/database_optimizer.php on line 44
Warning: mktime() expects parameter 6 to be long, string given in /home/xxxx/public_html/shop/admin/includes/modules/database_optimizer.php on line 46
thk's
#60
Posted 05 February 2012, 15:23
mamegaga, on 05 February 2012, 14:15, said:
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking














