spooks Posted April 3, 2009 Share Posted April 3, 2009 I`m wondering if u have sid issues? Try this in admin -> images -> Image Required set it to true 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...
Boom Posted April 3, 2009 Share Posted April 3, 2009 Just wanted to take a moment to thank you for an excellent contrib. Installed perfectly and works great. Boom Quote Link to comment Share on other sites More sharing options...
therealjblizzle Posted April 3, 2009 Share Posted April 3, 2009 I`m wondering if u have sid issues? Try this in admin -> images -> Image Required set it to true It was set to true for the screenshot. I also have a multiple image contribution installed as well, I feel like that probably wouldn't effect it but should probably mention just incase Quote Link to comment Share on other sites More sharing options...
spooks Posted April 3, 2009 Share Posted April 3, 2009 you can try adding if (PHP_VERSION >= 4.1) $HTTP_GET_VARS =& $_GET; at the start of validation_png.php and check for sid isseus http://www.oscommerce.com/forums/index.php?sho...c=330479&hl 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...
therealjblizzle Posted April 3, 2009 Share Posted April 3, 2009 you can try adding if (PHP_VERSION >= 4.1) $HTTP_GET_VARS =& $_GET; at the start of validation_png.php and check for sid isseus http://www.oscommerce.com/forums/index.php?sho...c=330479&hl I added that piece of code and also forced cookie usage so that the SID can't get lost and now i get this error: Error, unable to read session id Quote Link to comment Share on other sites More sharing options...
spooks Posted April 3, 2009 Share Posted April 3, 2009 you get it at what point & how does it appear, there are a number of checks. 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...
therealjblizzle Posted April 3, 2009 Share Posted April 3, 2009 I don't know if i know exactly how to answer your question =/ but here it goes. I started getting that error right after I enabled 'force cookie use' and it appears when I load any of the pages with validation image on it. The page looks exactly like the image I had posted earlier, but with the error to the left of the image. J Quote Link to comment Share on other sites More sharing options...
spooks Posted April 4, 2009 Share Posted April 4, 2009 so u do have some sid problems, are u using a template? have u checked if u are linking correctly. what versions does your server have? 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...
therealjblizzle Posted April 4, 2009 Share Posted April 4, 2009 (edited) We are not using a template. I'm not sure which links I would have to check, but assuming that the stock oscommerce uses the appropriate links listed in your osCid post, then I am pretty sure we haven't made any adjustments to that. As for versions, here's the list because I am not sure which ones you would need: MySQL client version: 5.0.51a MySQL Server version: 5.0.54-log PHP Version 5.2.8 System- Windows NT WEBE50 5.2 build 3790 Are there certain pages where I should check for linking? I'll try to check the ones in the catalog folder to see if there are any mistakes for now. Thanks, J PS: forgot to mention that I have followed most of your instructions on this post as well: http://www.oscommerce.com/forums/index.php?s=&...t&p=1299417 in order to make the site more secure. Not sure if any permissions or anything would effect it. Edited April 4, 2009 by therealjblizzle Quote Link to comment Share on other sites More sharing options...
spooks Posted April 4, 2009 Share Posted April 4, 2009 OK I`m wondering if there are issues with the GD library on your server &/or related to windows (I have not tested on any windows based servers) Some have reported that when run localy on there pc this would fail, but once uploaded to a Apache server all was fine Try turning off all filters, also as there seems to be trouble with your cookies turn them back off too 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...
therealjblizzle Posted April 5, 2009 Share Posted April 5, 2009 Turned off filters and cookies and still no image =( no more error message with reading the session id, however, so it looks like the image posted before. J Quote Link to comment Share on other sites More sharing options...
spooks Posted April 6, 2009 Share Posted April 6, 2009 Then I would put it down to GD library on your server &/or windows try on on Apache server if u can 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...
therealjblizzle Posted April 6, 2009 Share Posted April 6, 2009 Not sure if this would help at all, but here is the information about our GD Library: GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.1.9 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Also I can try to talk to our host about the problems, but the site it is on is owned by another business I am working for, so I don't think they would be too keen on switching hosts =/ J Quote Link to comment Share on other sites More sharing options...
zamon Posted May 3, 2009 Share Posted May 3, 2009 Just moved to a new hosting provider and Anti Robot Reg v2.5 stopped generating images. A SID is generated but no image is associated with it. I tried re-running the SQL script for v2.5 (also updating to a newer version) but I get this message: Error SQL query: INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible ) VALUES ( '736', 'Anti Robot Reg', 'Anti Robot Registration', 300, 1 ); MySQL said: #1062 - Duplicate entry '736' for key 'PRIMARY' any help/suggestions/advice will be appreciated! Quote Link to comment Share on other sites More sharing options...
Eirik Posted May 4, 2009 Share Posted May 4, 2009 Awesome contribution works like slick. The only question I have is what is this links_submit.php file for? Quote Link to comment Share on other sites More sharing options...
Eirik Posted May 4, 2009 Share Posted May 4, 2009 Something came up and I'm hoping there is someone who knows how I can fix this, I've looked back over the 30 some pages of posts for this contribution and can't find the answer. The contribution uses symbols( @ + ) as well as alpha numeric which I would wager from a security stand point is good, but from a maximizing customer stand point it isn't so hot. So what I am trying to accomplish is limit the characters that are used for generating the sequence to just alpha numeric 0-9 a-z . Thanks all in advance for any insights you may have. Quote Link to comment Share on other sites More sharing options...
Eirik Posted May 4, 2009 Share Posted May 4, 2009 (edited) The positioning will vary with different fonts, I use 5 as patrick has detailed I quite like the way the characters are sometimes just off, its rare that its difficult to distinguish. The character set is done in the function in account_validation.php find: $chars = array('a','b','c','d','e','f','g','h','j','k','l','m','n','p','q','r','s','t','u','v','w','x','y','z', '1', '2', '3', '4', '5', '6', '7', '8', '9', ' @ ', '#', '?', '+', '='); and set as you wish I must have missed this the first time through, Sam you rock.. such a wealth of knowledge. Also for anyone else who is wondering about the links_submit it appears to be part of some other contribution, please correct me if I'm wrong. Edited May 4, 2009 by Eirik Quote Link to comment Share on other sites More sharing options...
spooks Posted May 5, 2009 Share Posted May 5, 2009 links_submit.php is part of this, its callerd from the links page, there i even a page view in the package. why do u think its not!!! :blink: 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...
spooks Posted May 5, 2009 Share Posted May 5, 2009 Sorry, mixing up packages there, its the page from link manager II with the capcha added 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...
Eirik Posted May 5, 2009 Share Posted May 5, 2009 (edited) No you were right as well there was something about it in the manual, you had me second guessing myself and I just saw about 2 seconds ago it says optional if you have links manager installed. :) Edited May 5, 2009 by Eirik Quote Link to comment Share on other sites More sharing options...
Mortenjan Posted May 20, 2009 Share Posted May 20, 2009 (edited) Hi, i got a problem with this module. It wont generate a picture at all. Im almost 100% sure that i've installed it correct. I did update all the php codes, ran the The MYSQL query and uploaded the arial font. link: http://pcdeler.net/create_account.php I have PHP 5.2.9 and Apache/2.2.11 GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XPM Support enabled XBM Support enabled All help is much appreciated. Regards Morten Edited May 20, 2009 by Mortenjan Quote Link to comment Share on other sites More sharing options...
spooks Posted May 20, 2009 Share Posted May 20, 2009 Looking at your source it appears to be OK What type of server do you have, windows or linux 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...
Mortenjan Posted May 20, 2009 Share Posted May 20, 2009 Server OS: Linux 2.6.18-53.1.19.el5.028stab053.14 Thanks for the reply:) Regards Morten Quote Link to comment Share on other sites More sharing options...
spooks Posted May 20, 2009 Share Posted May 20, 2009 Should be OK with that, double check you have installed everything, including functions. Try turning off all filters. 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...
Mortenjan Posted May 21, 2009 Share Posted May 21, 2009 that didn't help. I've double checked all files, and gone over the settings.. Tried a handful of combinations. Do you got any other suggestions? Thanks again for the help. Regards Morten 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.