Zen Follower
- Join Date:
- Aug 2006
- Location:
- North Carolina
- Posts:
- 280
- Plugin Contributions:
- 0
download_maxdays will not update only on certain products
Hey gang (and Ajeh - who I may need the most help from on this)
This past weekend I needed to modify certain products on my website that use download links. All has been well for the past 3 years, but I came upon this strange thing last night.
I use PHPmyadmin to upload a large group of items to mySQL. After I completed deleting my old items and uploaded the new ones (in which the ONLY change was the product model name and the new zip file name to match it), I wanted to change all my products_attributes_download/products_attributes_maxdays to 1000.
All the existing products updated correctly and so did the new products by applying 1000 to all the products in the products_attributes_download/products_attributes_maxdays row with a Query.
When I placed test orders for multiple downloadable products with existing and newly uploaded model numbers, the order completed correctly and I could download all the files for each one.
EXCEPT.... When I went and looked at the orders_products_download table, all the new product uploads from this today continued to stay with my original maxdays of 4 (which I used for year before last night), while all the other products correctly changed to 1000.
Here's what I modified:
1 - EVERY row in products_attributes_download/products_attributes_maxdays correctly says 1000 (existing and new uploaded products)
2 - The admin config was updated to 1000 (which I know doesn't matter in this instance)
3 - I keep running different SQLs changing the maxdays to different numbers, and the older products change when I run test orders, BUT the NEW product uploads never change from the original 'old' maxdays of 4 (ugh!).
4 - I optimized the database in every table
5 - I changed the field length in products_attributes_maxdays from 2 to 8 just in case it would help.... it didn't
I'm 'stumpified' !!! Does anyone have any ideas why the maxdays for these new product uploads will not change to the new amount of 1000??
Is there any other place in the tables where an original maxdays could be still 'stuck' at my old '4'?? Something I could flush out?
I would also be willing to reupload all of this data again in the table for the new products if one thing is configured wrong, but I just can't track it down.
Any help from the 'team' or members would be greatly appreciated.
thanks,
Jeff Michaels,
pres of Musical Creations Ltd.