Jack_mcs Posted May 27, 2014 Author Share Posted May 27, 2014 What version of oscommerce are you using? Do you have links in those categories? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
JIPANG Posted May 27, 2014 Share Posted May 27, 2014 (edited) Oscommerce 2.3.3.4 , Xampp with PHP ver 5.4.7 http://i604.photobucket.com/albums/tt127/jipang/error.jpg And Here the setting in Admin Panel http://i604.photobucket.com/albums/tt127/jipang/setting.jpg Thanks before Jack .. Edited May 27, 2014 by JIPANG Quote Link to comment Share on other sites More sharing options...
JIPANG Posted May 27, 2014 Share Posted May 27, 2014 i can't edit my last post, there are two Categories Jack and i have Links in First category and Second category none ( True , Display all Link Categories - in admin conf - links ) all same will generate come errors Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 27, 2014 Author Share Posted May 27, 2014 The problem appears to be that a database setting is missing. I see it is in the install file but not in the update one - don't know how that happened. But please run the following for your database and see if it helps: INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('<font color=purple>Link Maximum Categories per Row</font>', 'LINKS_MAX_CATEGORIES_PER_ROW', '3', 'How many categories should be displayed per row?', '" . $configuration_group_id . "', '36', now()) Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
JIPANG Posted May 28, 2014 Share Posted May 28, 2014 (edited) Fixed !!! Wow , Thanks Jack Now the category Row Looks Good ... works like a Charm http://i604.photobucket.com/albums/tt127/jipang/FIx.jpg but Need some Modification for Showing the New Rules about "Link Maximum Categories per Row - 3" Jack, because dbase code above doesnt have configuration_group_id ( default zero ) and i must set to : in my dbase is 888003 http://i604.photobucket.com/albums/tt127/jipang/fix2.jpg if configuration_group_id = 0 ( FIXED - but the setting "Link Maximum Categories per Row - 3" was dissapear / hidden ) if configuration_group_id = xxxxxxx - depend on your database configuration_group_id ( fixed and "Link Maximum Categories per Row - 3" will show and ready to the new set.. http://i604.photobucket.com/albums/tt127/jipang/fix3.jpg Thanks before your Help Jack The Legend .. Edited May 28, 2014 by JIPANG Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 28, 2014 Author Share Posted May 28, 2014 I'm sorry, that was my mistake. I copied that command from the install file and it uses a variable to load the ID. When it is used directly in the database, the ID has to be entered in the command. The easiest way to fix it now is to edit the database. If you select the configuration table and then use the >> link to go to the last entry, you should see it there. Just edit it and change the configuration group ID to the correct number - 888003. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted June 24, 2014 Share Posted June 24, 2014 Jack The installation instructions for post 2.3 are missing *********************************************************************** 12: In catalog/admin/includes/column_left.php ADD anywhere before the last ?>: // Links Manager II v1.29 begin require(DIR_WS_BOXES . 'links.php'); // Links Manager II v1.29 end Also when I ran the set up php I got a cannot redeclare dulicate ...I think it was to do with categories. In the links manager if you make a mistake it seens to wipe out all the data you have entered forcing you to reinput everything. Apart from thet :-) looking good. Cheers G Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile 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 ======>>>>>. Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 24, 2014 Author Share Posted June 24, 2014 Thanks Geoffrey. You're correct that there aren't instructions for left column. That's because from 2.3.3.4 (I think) and onward, changes are not made to that file. I probably should have added a note for that. There isn't anything in the setup file to give that kind of message so it must have been a MySQL message. If you already had this addon installed, then that would cause it. In that case, the update file should be used. If you didn't have it installed, I don't know what that might have been. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 19, 2015 Author Share Posted January 19, 2015 A new version has been uploaded with these changes: Added instructions regarding the Version Checker Changed breadcrumb trail code so the id's are correct Changed domain checking code so domains are reported correctly now Changed the links status page so it now checks the links when loaded and displays accurate results Changed links_check code so that if a site is found, the link count is decremented Changed links_check code so that emails are handled correctly Changed links image code so images are now uploaded and loaded from the server (previous url's for images will still work) Converted code for 2.3 compatibility Fixed back code so previous link category is correctly formatted Fixed type for link categories in 2.3 admin link box Fixed many miscellaneous mistakes as reported by user wdepot Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 5, 2015 Share Posted February 5, 2015 Hi Jack I have installed the latest version on bootstrap and everything seems to work perfect. the only thing in frontpage its meessed up...in the link.php, all have a big space between maybe is the stylesheet? can i sent you the link to see what i mean? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 5, 2015 Author Share Posted February 5, 2015 No, I'm sorry but I can't offer free support on an individual basis. I would offer to at least look at it but I don't have a shop setup here using BS and am not familiar with the differences in its code so that wouldn't do any good. You could try replacing whatever file is causing the disruption with the original one and then apply the changes to that file one at a time to try to isolate it. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 5, 2015 Share Posted February 5, 2015 all texts are far apart here is my shop Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 5, 2015 Author Share Posted February 5, 2015 That's something to do with how that shop (BS) is handling the code. You could try removing all of the stylesheet changes for Links Manager to see if that makes a difference. If it does, then it should just be a matter of tracing down the one causing it. If not, compare the links file with one that is working and see if you can see a difference. My guess is that the other files are loading in other css files or code and you will need to add those to the links file. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 5, 2015 Share Posted February 5, 2015 Jack i made some changes..can you chek to see because i dont have a screenshot to know how it must look like Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 5, 2015 Author Share Posted February 5, 2015 It looks fine. It might be helpful to others if you posted the fix here. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 5, 2015 Share Posted February 5, 2015 i removed all the <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> from the catalog files links.php, links_submit.php, links_submit_success.php and i think its ok... Thank you Jack for you help and for the nice addons Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 6, 2015 Author Share Posted February 6, 2015 You're welcome. :) Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 6, 2015 Share Posted February 6, 2015 Hi @@Jack_mcs i want to ask is there no fear to upload any a php shell from the upload image? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 6, 2015 Author Share Posted February 6, 2015 Yes, it is possible for that to happen. Previously, the person adding the link would add a link to the image on their site. This made it easy for them to change the image, even to one with virus code in it. I changed the code to have them upload the image, thinking that if the shop owner has investigated the shop and it is legitimate, it is unlikely they would supply an infected image, at least on purpose. But the bottom line is that there's no simple way to protect against this happening. There is code that can be added to hide the image path but it is not a quick change and isn't part of the addon. The best thing to do is to run a virus checker on the images if you think this may be an issue. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 6, 2015 Share Posted February 6, 2015 If we protect the image folder with a htaccess file to not upload php files? or other than an image file? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 6, 2015 Author Share Posted February 6, 2015 If you add code to prevent someone from accessing it directly, the display code for the links page won't be able to display the image. It might work if the links images directory was moved to the includes directory. I don't have time to check that but if you want to try it, edit the includes/functions/links.php file and change this line $src = DIR_WS_IMAGES . 'links_manager_uploads/' . $src; to this $src = 'includes/links_manager_uploads/' . $src; Then create a directory named links_manager_uploads in the includes directory and copy the images from the images/links_manager_uploads/ directory into it. Try viewing the links page and see if the images display. If they do, then this would be a good solution, though there would be other code changes needed to make it work without having to manually copy files. But to be clear, this would just prevent someone from accessing the file directly. If the file was infected, it could still do damage. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rory1 Posted February 6, 2015 Share Posted February 6, 2015 yes the images are displayed.. :) one other solution i think if in the admin was an enable disable upload image or it is there and i didnt see it? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 7, 2015 Author Share Posted February 7, 2015 Ther isn't an image for that but there is one to display the images or not. You can turn that off and no one would be able to find the image because its name is changed when it is uploaded. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
yansfung Posted March 24, 2015 Share Posted March 24, 2015 Hello, Jack! I just install Links Manager II V 1.31 at osc2.3.4 and not sure anyone told you before about ./admin/links_status.php does not show properly with blank main body of page content. It works for for osc2.3.1 which DOC type is HTML 4.0.1 It could osc 2.3.4 back end DOC type is HTML5! And found this following works fine with some HTML DOC modifications: https://github.com/cartstore/cartstore-oscommerce/blob/master/catalog/admin/includes/languages/english/links_status.php :x Quote YaNotCook !! Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 24, 2015 Author Share Posted March 24, 2015 Thanks for reporting it. I don't have it installed in a 2.3 shop at the moment but I will give it a try sometime. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons 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.