tadman Posted April 13, 2010 Posted April 13, 2010 I once installed this into a shop that had used a links exchange package (not oscommerce based) and it had put data in the database that was preventing it from working. Perhaps that is what your problem is. You said you deleted the entries from the configuration tables but didn't mention the tables this contribution uses. I suggest deleting all of the links tables as well as deleting the entries from the configuration tables and and trying again. Sorry I forgot to mention that I did drop all the LINKS% tables too. I have had a look for db entries for this linkshare contrib but have found nothing, and in its install instructions there was no mention of DB changes/updates. Quote
Jack_mcs Posted April 13, 2010 Author Posted April 13, 2010 I'm out of ideas then. There shouldn't be anything stopping the links section from showing in admin, especially since the others are showing. I suppose you could try installing it into a clean shop and, once it works there, compare the differences with your live one. 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
tadman Posted April 13, 2010 Posted April 13, 2010 I'm out of ideas then. There shouldn't be anything stopping the links section from showing in admin, especially since the others are showing. I suppose you could try installing it into a clean shop and, once it works there, compare the differences with your live one. Fixed it. For some reason we were missing the function tep_hide_session_id() in admin/includes/html_output/functions.php. This was called when creating forms and instead off flagging an error it just didn't display any contents within the form. Strange ... Quote
nubbin Posted April 21, 2010 Posted April 21, 2010 Hello Jack, I have been succesfully using Link Manager II for a long time, thanks very much for it. However it stopped working when I installed Ultimate SEO URLs 5 by FWR Media. I read through your posts and see you recommended correcting a code error in links.php: The problem is due to a coding error in Links Manager. The link being created is invalid. You need to search links.php and replace the two instances of '&lPath=' with 'lPath=' Then delete any pseduo pages you've created for links manager in Page Control. The delete funtion is supposed to delete that from the includes/header_tags.php file but you may want to make sure it is done. Then try it again with the valid link, links.php?lPath=0_35, and it should work. I did all the above but Links Manager II is still not working - when I click on a link to a links category in the links.php page I get "page not found" The links look like: http://mysite.com/links.php?lPath=0_12 I have deleted the cache in Ultimate SEO URLS admin. If I turn Ultimate SEO URLS off, then Links Manager works ok. Any idea what the problem is please? Quote
tadman Posted April 21, 2010 Posted April 21, 2010 Regarding Links Check Phrase and its use ... I added a couple phrases to Links Check Phrase separated by commas - "www.domain.com, domain" But when links_check was run the result returned was incorrect. So I just limited it to one phrase and now it works. Possible bug? Quote
Jack_mcs Posted April 21, 2010 Author Posted April 21, 2010 I have been succesfully using Link Manager II for a long time, thanks very much for it. However it stopped working when I installed Ultimate SEO URLs 5 by FWR Media. I read through your posts and see you recommended correcting a code error in links.php: If you are not using the latest version of Links Manager, which seems to be the case since it has that fix in it, you should upgrade to it. If SEO 5 doesn't work with it, you will need to ask in that support thread since Links Manager works fine by itself and with Ultimate SEO 2.2d. 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
Jack_mcs Posted April 21, 2010 Author Posted April 21, 2010 Regarding Links Check Phrase and its use ... I added a couple phrases to Links Check Phrase separated by commas - "www.domain.com, domain" But when links_check was run the result returned was incorrect. So I just limited it to one phrase and now it works. Possible bug? I haven't checked that lately, and can't right now, but it always worked before. 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
nubbin Posted April 21, 2010 Posted April 21, 2010 If you are not using the latest version of Links Manager, which seems to be the case since it has that fix in it, you should upgrade to it. If SEO 5 doesn't work with it, you will need to ask in that support thread since Links Manager works fine by itself and with Ultimate SEO 2.2d. Hi Jack, Thanks. How do I tell for sure which version I have installed? There are various version numbers in the different bits of code. I suspect I have 1.22 but the download package for that didn't appear to refer to that version number within any of the code. Cheers Quote
Jack_mcs Posted April 21, 2010 Author Posted April 21, 2010 Hi Jack, Thanks. How do I tell for sure which version I have installed? There are various version numbers in the different bits of code. I suspect I have 1.22 but the download package for that didn't appear to refer to that version number within any of the code. Cheers Starting with version 1.24, the Version Checker contribution was included so if you have that version or later, you can check the version from admin->Links Manager II->Links. If you have a version before that, there isn't an easy way to tell. You can download a version and compare one of the main files, like admin/links.php, to yours and if they match, that is probably the version you have installed. 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
nubbin Posted April 22, 2010 Posted April 22, 2010 If you are not using the latest version of Links Manager, which seems to be the case since it has that fix in it, you should upgrade to it. If SEO 5 doesn't work with it, you will need to ask in that support thread since Links Manager works fine by itself and with Ultimate SEO 2.2d. Hi Jack, Thanks. For your info, I updated Links Manager II to the latest version (1.25) but it still does not work when FWR Ultimate SEO URL is switched on. Using the Add On FWR KISS Error Handling and debugging, I can see the last query performed from links.php is a complicated one to do with sessions. I post it here in case anything springs to mind about the way your code is working: Number: 6 Time: 0.0004 Seconds. Query: update sessions set expiry = '1271976939', value = 'cart|O:12:\"shoppingCart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:6:\"cartID\";N;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"USD\";navigation|O:17:\"navigationHistory\":2:{s:4:\"path\";a:4:{i:0;a:4:{s:4:\"page\";s:16:\"links_submit.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:12:{s:6:\"action\";s:7:\"process\";s:11:\"links_title\";s:21:\"Test site: Dog breeds\";s:9:\"links_url\";s:29:\"http://www.justdogbreeds.com/\";s:14:\"links_category\";s:1:\"0\";s:17:\"links_cat_suggest\";s:0:\"\";s:17:\"links_description\";s:14:\"All about dogs\";s:11:\"links_image\";s:44:\"http://www.justdogbreeds.com/images/logo.gif\";s:18:\"links_contact_name\";s:5:\"peter\";s:19:\"links_contact_email\";s:24:\"[email protected]\";s:20:\"links_reciprocal_url\";s:45:\"http://www.anyoldsite.com/useful_info.htm\";s:1:\"x\";s:2:\"53\";s:1:\"y\";s:1:\"8\";}}i:1;a:4:{s:4:\"page\";s:24:\"links_submit_success.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:0:{}}i:2;a:4:{s:4:\"page\";s:9:\"index.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:0:{}}i:3;a:4:{s:4:\"page\";s:9:\"links.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:3:{s:5:\"lPath\";s:4:\"0_12\";s:4:\"page\";s:1:\"1\";s:4:\"sort\";s:2:\"2d\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}' where sesskey = 'dbd1b8bcbd29df4c18cc680144c15df9' I will post on the support thread for that add on. Cheers Peter Quote
Guest Posted June 13, 2010 Posted June 13, 2010 How do I remove this text: TEXT_MISSING_VERSION_CHECKER ? It's currently appearing on the page admin/links.php, but I can't find anything in the source code that would be causing this? Quote
shpy Posted June 13, 2010 Posted June 13, 2010 (edited) Hi Jack, there are some ideas i want to talk about. 1. The images of link. It is easy for user to enter their own image url. But some bad guy can do this: - A first time, he submit an image at www.his-domain.com/image.gif - We check and ok, there nothing to wory -> approve. - After that, he change the image.gif on his host to an porn image or somethings bad ! Oh God, our site going to place to ad porn. So, can we make it upload to our host ? With that function, we can prevent this thing to: user point to a big image and our site will scales that image to display on but the real thing is the browser must load the image with big size. This will let the site run slower. Then, we can use tep image fuction to realy resize that image to smaler size. 2. The Reciprocal Page. I found that user can submit many links (many domains) but they can use only one Reciprocal Page. And then, our site alway find out our link on only 1 that Reciprocal Page and let him submit. So, can we check the Reciprocal Page must have the same domain of submit url? 3. The error "Link Check Result: Error Reading URL" I has read all thread but cant understand how to fix it. The alow_open_url (...) is on. And when submit on my site, it found my link on my testing Reciprocal Page and let submit. but in Admin, when check URL it say that error ! The Link check Phrase just only my domain. So, i cant check my link is realy still be there on the user's Reciprocal Page if they remove it after submit success. 4. Search function. I found thet it just search the name of link. So, user who dont remember that his url had been submited or not cant search by url. Beside that, when i standing in sub category and make search. It alway search all of categories and jump back to the top category. Edited June 13, 2010 by shpy Quote Paint for VietNamese :
Jack_mcs Posted June 13, 2010 Author Posted June 13, 2010 How do I remove this text: TEXT_MISSING_VERSION_CHECKER ? It's currently appearing on the page admin/links.php, but I can't find anything in the source code that would be causing this? The best thing to do is to install the Version Checker contribution. It takes less than 5 minutes and allows you to keep track of the version of the contribution. I use it in all of my contributions so if you install another one of mine, the same problem will exist. To remove it would require a code change. 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
Jack_mcs Posted June 13, 2010 Author Posted June 13, 2010 Hi Jack, there are some ideas i want to talk about. 1. The images of link. It is easy for user to enter their own image url. But some bad guy can do this: - A first time, he submit an image at www.his-domain.com/image.gif - We check and ok, there nothing to wory -> approve. - After that, he change the image.gif on his host to an porn image or somethings bad ! Oh God, our site going to place to ad porn. So, can we make it upload to our host ? With that function, we can prevent this thing to: user point to a big image and our site will scales that image to display on but the real thing is the browser must load the image with big size. This will let the site run slower. Then, we can use tep image fuction to realy resize that image to smaler size. 2. The Reciprocal Page. I found that user can submit many links (many domains) but they can use only one Reciprocal Page. And then, our site alway find out our link on only 1 that Reciprocal Page and let him submit. So, can we check the Reciprocal Page must have the same domain of submit url? 3. The error "Link Check Result: Error Reading URL" I has read all thread but cant understand how to fix it. The alow_open_url (...) is on. And when submit on my site, it found my link on my testing Reciprocal Page and let submit. but in Admin, when check URL it say that error ! The Link check Phrase just only my domain. So, i cant check my link is realy still be there on the user's Reciprocal Page if they remove it after submit success. 4. Search function. I found thet it just search the name of link. So, user who dont remember that his url had been submited or not cant search by url. Beside that, when i standing in sub category and make search. It alway search all of categories and jump back to the top category. 1 - It seems unlikely to happen. If the other site is a legitimate site and you've verified that, why would the shop owner then redirect you to some other site? I understand your point though and it wouldn't hurt to have that as an option. 2 - When the links page loads in admin, a list is displayed of links submitted by the same person. If you see an existing link there, don't approve the new one. I will add this check in the next version. 3 - I vaguely recall this problem. If your server has curl installed, the code will use it instead of file open, which should bypass that problem. You may want to ask your host to enable curl. 4 - I assume you are referring to the shop side since I know the search works in the admin on other than the name. I'll change this in the next version if I can reproduct 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
Guest Posted June 15, 2010 Posted June 15, 2010 I have another quick question...how do I remove the black squares with no image in it if I don't want to upload a category image...? Quote
Jack_mcs Posted June 15, 2010 Author Posted June 15, 2010 I have another quick question...how do I remove the black squares with no image in it if I don't want to upload a category image...? Maybe turning off that option in the admin settings will do 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
Guest Posted June 17, 2010 Posted June 17, 2010 Yeah. I'm becoming a pest. Sorry about that. But when I click on one of the categories, the header says "Categories" instead of the name of the category. Is there a way to change it to the category name? Quote
Jack_mcs Posted June 17, 2010 Author Posted June 17, 2010 Yeah. I'm becoming a pest. Sorry about that. But when I click on one of the categories, the header says "Categories" instead of the name of the category. Is there a way to change it to the category name? I don't know what you mean by the "header" but if you are referring to the web browsers title, you need to have Header Tags SEO installed to do that. 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
Guest Posted June 17, 2010 Posted June 17, 2010 I came up with an easier way, it works beautifully: in catalog/links.php, find: <td class="pageHeading"><?php echo HEADING_TITLE_CATEGORIES; ?></td> Change it to: <td class="pageHeading"><?php echo $breadcrumb->last(); ?><?php echo //HEADING_TITLE_CATEGORIES; ?></td> Now the link category name appears instead of the word "Categories" :) Quote
Jack_mcs Posted June 17, 2010 Author Posted June 17, 2010 (edited) I came up with an easier way, it works beautifully: in catalog/links.php, find: <td class="pageHeading"><?php echo HEADING_TITLE_CATEGORIES; ?></td> Change it to: <td class="pageHeading"><?php echo $breadcrumb->last(); ?><?php echo //HEADING_TITLE_CATEGORIES; ?></td> Now the link category name appears instead of the word "Categories" :) Oh, you were talking about the page heading. There is actually an option for that - Display Links in Categories. Although I just checked it and it seems some of the code for it was removed along the way. I'll have to take a look at that for the next version. Thanks for posting your fix. It may help others. Edited June 17, 2010 by Jack_mcs 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
JoeB Posted June 17, 2010 Posted June 17, 2010 Hi Jack You answered shpy on his question .. 3. The error "Link Check Result: Error Reading URL" I has read all thread but cant understand how to fix it. The alow_open_url (...) is on. And when submit on my site, it found my link on my testing Reciprocal Page and let submit. but in Admin, when check URL it say that error ! The Link check Phrase just only my domain. So, i cant check my link is realy still be there on the user's Reciprocal Page if they remove it after submit success. Ask Host if curl is used. I get that error on some of the websites and I do see the URL there. What does curl do? If my host does not use it what can we do to get rid of the error? Thanks, JoeB Quote
Jack_mcs Posted June 17, 2010 Author Posted June 17, 2010 You answered shpy on his question .. 3. The error "Link Check Result: Error Reading URL" I has read all thread but cant understand how to fix it. The alow_open_url (...) is on. And when submit on my site, it found my link on my testing Reciprocal Page and let submit. but in Admin, when check URL it say that error ! The Link check Phrase just only my domain. So, i cant check my link is realy still be there on the user's Reciprocal Page if they remove it after submit success. Ask Host if curl is used. I get that error on some of the websites and I do see the URL there. What does curl do? If my host does not use it what can we do to get rid of the error? There are two ways to connect to another site: fopen and curl. Some hosts won't allow the fopen to be enabled since they see it as a security problem. If they won't allow fopen, then they should have curl enabled. If they won't do either, then you need to shop for another host. 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
shpy Posted June 22, 2010 Posted June 22, 2010 Hi Jack You answered shpy on his question .. 3. The error "Link Check Result: Error Reading URL" I has read all thread but cant understand how to fix it. The alow_open_url (...) is on. And when submit on my site, it found my link on my testing Reciprocal Page and let submit. but in Admin, when check URL it say that error ! The Link check Phrase just only my domain. So, i cant check my link is realy still be there on the user's Reciprocal Page if they remove it after submit success. Ask Host if curl is used. I get that error on some of the websites and I do see the URL there. What does curl do? If my host does not use it what can we do to get rid of the error? Thanks, JoeB I had this error like you before. And after many times looking for its solution with no luck, i found that some website (which i use to test) although we can access by browser normally but when bot or our server comein, it result "error 500" our server can't check. Quote Paint for VietNamese :
JoeB Posted June 22, 2010 Posted June 22, 2010 There are two ways to connect to another site: fopen and curl. Some hosts won't allow the fopen to be enabled since they see it as a security problem. If they won't allow fopen, then they should have curl enabled. If they won't do either, then you need to shop for another host. Hi Jack, What I tried was this. The URL they gave me was http://www.somthing.com/links where I got the error. I changed it to http://www.somthing.com/links/index.php and the error went away. Is that what curl is supposed to do? FInd a index.htm or html or php file? Quote
Jack_mcs Posted June 22, 2010 Author Posted June 22, 2010 What I tried was this. The URL they gave me was http://www.somthing.com/links where I got the error. I changed it to http://www.somthing.com/links/index.php and the error went away. Is that what curl is supposed to do? FInd a index.htm or html or php file? No, curl, in this usage, is just a way to read in the contents of a web page. If http://www.somthing.com/links is not a valid url to a page, Links Managers code won't work. To see if it ia a valid page, you should be able to manually go to http://www.somthing.com/links and see your link on the page. 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
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.
Note: Your post will require moderator approval before it will be visible.