xkatx21x Posted March 16, 2010 Share Posted March 16, 2010 Thanks Sam I have reloaded the file using ftp (used file manager last time), but now when I try it just thinks for ages and gives me a blank page, or Any suggestions?? not sure how but I fixed it Thanks anyway Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted March 21, 2010 Share Posted March 21, 2010 Hi Sam, Great contribution, works like a dream after a 5 min install (if that). One question: I also have your "Simple Multi Image add-on with fancybox pop-ups" installed on my site. When I run the remove unused images tool, it picks up all the additional images from the Simple multi.....add on. am I missing something here? are the additional images tored in another directory ? Thanks Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
spooks Posted March 21, 2010 Author Share Posted March 21, 2010 One question: I also have your "Simple Multi Image add-on with fancybox pop-ups" installed on my site. When I run the remove unused images tool, it picks up all the additional images from the Simple multi.....add on. This contrib needs updating to allow for that, Simple Multi Images stores the image filename data in a new form for efficiency & to allow an unlimited number, code has to be added to this so it can understand that. I will provide the code as soon as I`ve time. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Mort-lemur Posted March 21, 2010 Share Posted March 21, 2010 This contrib needs updating to allow for that, Simple Multi Images stores the image filename data in a new form for efficiency & to allow an unlimited number, code has to be added to this so it can understand that. I will provide the code as soon as I`ve time. Thanks Sam. Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
purplemartinart Posted March 30, 2010 Share Posted March 30, 2010 I have downloaded this contribution and am getting ready to try and install it. After reading the readme I am unclear on this portion of the instructions 6. Open the remove_unused_images.php and go to Line 110 (SETTINGS) - and replace enter your site details. $root_dir = the actual SERVER side address of your website eg: C:/serverinfo/yoursite/httpdocs/catalog $base_dir = this is the actual URL of your website catalog eg: http://www.yoursite.com/catalog Can you please explain this for an idiot such as myself, I find it easier to understand fully than to "forge ahead" and then really mess things up! :blush: Thank you ahead of time for your understanding and patience with me. Quote Thanks, Susan Proudly uses Oscommerce! Link to comment Share on other sites More sharing options...
Al Heppa Posted March 30, 2010 Share Posted March 30, 2010 Hi! first of all: many thanks for this contrib! I encountered the problem that the script wouldn't show all files. somehow it didn't include some jpg's. Turned out that the line: while(false!=($file=readdir($dp))) should be changed to while(false!==($file=readdir($dp))) maybe only for php5? Quote Link to comment Share on other sites More sharing options...
purplemartinart Posted March 30, 2010 Share Posted March 30, 2010 I have downloaded this contribution and am getting ready to try and install it. After reading the readme I am unclear on this portion of the instructions Can you please explain this for an idiot such as myself, I find it easier to understand fully than to "forge ahead" and then really mess things up! :blush: Thank you ahead of time for your understanding and patience with me. Well, I forged ahead and messed it up. Really wasn't sure what I was doing at that last bit of instructions. When I run the remove images I get this error: Parse error: syntax error, unexpected '/' in /var/www/html/admin/remove_unused_images.php on line 89 I entered on line 110 (I counted) as follows but I have a feeling it is absolutely wrong. $root_dir = /var/www/html/ $base_dir = http://purplemartins-r-us.com/ The directions : Open the remove_unused_images.php and go to Line 110 (SETTINGS) - and replace enter your site details. $root_dir = the actual SERVER side address of your website eg: C:/serverinfo/yoursite/httpdocs/catalog $base_dir = this is the actual URL of your website catalog eg: http://www.yoursite.com/catalog are not clear to me if anyone can help me I would appreciate it. Quote Thanks, Susan Proudly uses Oscommerce! Link to comment Share on other sites More sharing options...
spooks Posted March 31, 2010 Author Share Posted March 31, 2010 The directions : are not clear to me if anyone can help me I would appreciate it. Sorry, that instruction needs updating, its not needed anymore, in the current version it gets that info from your configure file, so unless u have a very non-standard site, you don't need to change anything. just run the file as given and it should work fine. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
purplemartinart Posted March 31, 2010 Share Posted March 31, 2010 (edited) Thanks Sam Edited March 31, 2010 by purplemartinart Quote Thanks, Susan Proudly uses Oscommerce! Link to comment Share on other sites More sharing options...
purplemartinart Posted April 11, 2010 Share Posted April 11, 2010 This contrib needs updating to allow for that, Simple Multi Images stores the image filename data in a new form for efficiency & to allow an unlimited number, code has to be added to this so it can understand that. I will provide the code as soon as I`ve time. I believe I need this too as many of the images it is saying can be removed are my pop-ups. I'll be keeping my eye out for this. Quote Thanks, Susan Proudly uses Oscommerce! Link to comment Share on other sites More sharing options...
WWI Posted April 16, 2010 Share Posted April 16, 2010 I installed this contrib. When I go to admin panel, it is blank. When I remove the code: '<a href="' . tep_href_link(FILENAME_REMOVE_IMAGES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TOOLS_REMOVE_IMAGES . '</a><br>' . The admin panel comes back. I'm not sure what the problem is. I am using the Mindsparx Admin contrib if that helps. Thanks! Quote Link to comment Share on other sites More sharing options...
spooks Posted April 20, 2010 Author Share Posted April 20, 2010 <br />I installed this contrib. When I go to admin panel, it is blank. When I remove the code: <br /><br />'<a href="' . tep_href_link(FILENAME_REMOVE_IMAGES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TOOLS_REMOVE_IMAGES . '</a><br>' .<br /><br />The admin panel comes back. I'm not sure what the problem is. I am using the Mindsparx Admin contrib if that helps.<br /><br />Thanks!<br /><br /><br /><br /> Likely you created an error when you placed that code, if you put it in the wrong place that would do that, try reading up on the fundementals of php then you may see where u went wrong. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
knifeman Posted May 17, 2010 Share Posted May 17, 2010 WOW! I can't say thank you enough for this one. In less than 20 minutes, I installed the mod, ran it, and deleted over 4,000 unused images. It is a long story how they got there, but there gone now. I had zero problems and obviously there is no way to manually delete that many files, much less verify they are not used. Tim :D Quote Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2010 Share Posted June 21, 2010 Hello, This is the first time i install this contribution and i get this error Fatal error: Maximum execution time of 90 seconds exceeded in /home/xxx/public_html/admin/remove_unused_images.php on line 231 2006 - MySQL server has gone away select count(*) as total from sessions where sesskey = '575a45c2f7c807d5f8854166f5eddb26' As a beginner in php and osc i don`t see from were i get this error or how to solve it. Quote Link to comment Share on other sites More sharing options...
Dennisra Posted June 21, 2010 Share Posted June 21, 2010 Same error: Fatal error: Maximum execution time of 30 seconds exceeded in /usr/home/xxxxxx/public_html/xxxxxxx/remove_unused_images.php on line 233 Quote Link to comment Share on other sites More sharing options...
stragami Posted August 10, 2010 Share Posted August 10, 2010 Hi it work fine... thx for sharering! Short qurstion: right now i must exclude some images by hand e.g. bin.jpg or card.jpg. i did not sea a way how i can exclude this images by entering inside the code? alfred Quote Link to comment Share on other sites More sharing options...
ladykaren Posted August 22, 2010 Share Posted August 22, 2010 Hi there; I've tried installing this contrib again as had a problem with it several months ago, but I am still having the same problem ...... When run Remove Images from Admin, I get a blank page. Here is how I installed the contrib : Uploaded remove_unused_images.php to catalog/admin In admin/includes/filenames.php file add: define('FILENAME_REMOVE_IMAGES', 'remove_unused_images.php'); In admin\includes\boxes\tools.php add: '<a href="' . tep_href_link(FILENAME_REMOVE_IMAGES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TOOLS_REMOVE_IMAGES . '</a><br>' . In admin/includes/languages/english.php add: define('BOX_TOOLS_REMOVE_IMAGES', 'Remove Images'); I don't use an ftp so the file could not be corrupted. Not sure what to try now. Help? Quote Link to comment Share on other sites More sharing options...
farbor Posted October 17, 2010 Share Posted October 17, 2010 Hi, I have exactly the same problem of Ladykaren as soon as I click I get a clank page. Could it be due to SSL enable on the admin side? Any ideas? Please let me know. Cheers JK Quote Link to comment Share on other sites More sharing options...
marcsinfo Posted November 21, 2010 Share Posted November 21, 2010 Hi, I have followed the instructions to install this contributions, that I'm sure will be really usefull. But when I try to run it I get this error message. 1146 - Table 'marcsinf_keliane.TABLE_NEWSDESK' doesn't exist select newsdesk_image as image from TABLE_NEWSDESK [TEP STOP] I have verified and no table NEWSDESK exist in my data base. Do I have to create such table, but how many fileds etc... Your help would be much appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
robertw477 Posted February 16, 2011 Share Posted February 16, 2011 I got this installed by my programmer. Seems to be a really good contrib. The only question/issue I have is the following. I have abotu 100 sub directory of images from different pages in my site. I dont have the default which is all images dump into one image directory which was viewed as an issue when the site was originally developed. I was able to test it on about 250 images in the root image folder, but I have thousands to check. Is there a way to make this check all of the folders underneath? Thanks Robert Quote Link to comment Share on other sites More sharing options...
apolyshow Posted September 20, 2011 Share Posted September 20, 2011 (edited) I have thois kind of error. Everything else i think they works fine but in the tools sector , remove images. i am having this kind of mess in the image. Can you help? Edited September 20, 2011 by apolyshow Quote One amateur made the Arc, 5.000 pro made the Titanic... Link to comment Share on other sites More sharing options...
dreamwalker Posted November 16, 2011 Share Posted November 16, 2011 What can be the problem? I have this when I click on "remove images" in the tools section: Gateway Time-out The gateway did not receive a timely response from the upstream server or application. Quote Link to comment Share on other sites More sharing options...
simplebabytweet Posted July 11, 2012 Share Posted July 11, 2012 This contrib needs updating to allow for that, Simple Multi Images stores the image filename data in a new form for efficiency & to allow an unlimited number, code has to be added to this so it can understand that. I will provide the code as soon as I`ve time. Did anybody ever get to this? Quote Link to comment Share on other sites More sharing options...
acidvertigo Posted October 31, 2012 Share Posted October 31, 2012 Hi, just posted a new version for OSC 2.3.X - Improved script performance - Script check default and multiple images in the product database - added template_top and template_bottom to better integrate the page you can find it at: http://addons.oscommerce.com/info/8157 Quote Link to comment Share on other sites More sharing options...
BlakeBG Posted November 3, 2012 Share Posted November 3, 2012 when i try to check all images i get shop/admin/#button and on list check i get shop/admin/#end any idea ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.