Pretty much, this script shouldn't be too difficulty. Before you talk about problems with the script, please make a note about the Known Issue noted above and in the readme file. I will come back for this in a later update but I wanted to release it now while I figure out how to make the script lap around.Code:Features ======== Scans your database and images folder for any missing images and reports on them. Version Date ============== v1.0 2014-07-16 02:37 * Initial release Author ====== Paul Williams ([email protected]) Known Issues ============ * People on shared servers or those without the ability to turn Safe Mode off will experience more time outs on larger databases. This is because I cannot force the script to essentially reset the execution_timer. This will be worked on in a later version. You can try to edit the script on line 121 or line 145 and change the SQL query a little bit. If you do, you may end up having to run this script a couple of times. Description =========== This script will run through your ZenCart database, provided by you in the connection information of the script, and then retrieve all images from products table of ZenCart. Then, the script will run through each of those images making sure that the image exists and is saved in the correct format. (For example, a .gif is actually a GIF.) This is useful if you use a batch product uploader like easyPopulate and you don't know which of your images are missing. GitHub ====== https://github.com/retched/missing-images-zen
Bookmarks