crazym Posted December 23, 2007 Share Posted December 23, 2007 I just found that my "next page" link didn't work,for example:http://www.microstyle-shop.com/chinese-kno...t-c-6_3_23.html Who can help me with this?Thanks! No Hard Work,No Victory MSN:[email protected] SKYPE:microstyleshop Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 23, 2007 Share Posted December 23, 2007 There are several posts on this but couldn't find a solution This link relates to the same prblem on the attributes page http://svn.oscommerce.com/jira/browse/OSC-...rator=printable 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...
Jan Zonjee Posted December 23, 2007 Share Posted December 23, 2007 There are several posts on this but couldn't find a solution This link relates to the same prblem on the attributes page IMHO it is a problem with the SEO url contribution that doesn't recognize the added GET variables that are appended to the URL for the next page or sorting by price/name. Link to comment Share on other sites More sharing options...
crazym Posted December 23, 2007 Author Share Posted December 23, 2007 I checked the product_listing.php file ,I think problem is there,but I don't know how to add some code into it....Someone can? No Hard Work,No Victory MSN:[email protected] SKYPE:microstyleshop Link to comment Share on other sites More sharing options...
crazym Posted December 23, 2007 Author Share Posted December 23, 2007 IMHO it is a problem with the SEO url contribution that doesn't recognize the added GET variables that are appended to the URL for the next page or sorting by price/name. witch file to modify ?and what code to add in? Thanks:) :thumbsup: No Hard Work,No Victory MSN:[email protected] SKYPE:microstyleshop Link to comment Share on other sites More sharing options...
germ Posted December 23, 2007 Share Posted December 23, 2007 If it is what Jan has suggested, you may find some relief here: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
crazym Posted December 24, 2007 Author Share Posted December 24, 2007 lol :) Problem seems be solved!here is the way I found!share with the friend who has the same problem! page after problem solved:http://www.microstyle-shop.com/cards-weddi...e=3&sort=1a 1.Open catalog\includes\classes\seo.class.php 2.Find this: function requested_page() { $protocol = ((int) $_SERVER['SERVER_PORT'] === 443)? 'https://' : 'http://'; $current_page = $protocol . $_SERVER['HTTP_HOST'] . ((!empty($_SERVER['REQUEST_URI']))? $_SERVER['REQUEST_URI'] : ''); $current_page = substr($current_page, strlen(HTTP_SERVER)); if (($pos = strpos($current_page, "?osCsid")) !== FALSE) $current_page = substr($current_page, 0, $pos).'<br>'; if ($current_page[0] == "/") $current_page = substr($current_page, 1); return $current_page; Now return $return; See the "return $current_page; "? change this to "//return $current_page;" Then the problem solved! Thank you all for help:) No Hard Work,No Victory MSN:[email protected] SKYPE:microstyleshop Link to comment Share on other sites More sharing options...
Guest Posted December 31, 2007 Share Posted December 31, 2007 lol :) Problem seems be solved!here is the way I found!share with the friend who has the same problem!page after problem solved:http://www.microstyle-shop.com/cards-weddi...e=3&sort=1a 1.Open catalog\includes\classes\seo.class.php 2.Find this: See the "return $current_page; "? change this to "//return $current_page;" Then the problem solved! Thank you all for help:) Hi Crazym you may have the solution to a problem I have but am struggling to find the location for this: 'catalog\includes\classes\seo.class.php' it doesn't seem to appear anywhere in my osC listing, I would expect to find this under 'tools/define languages' but not there Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2008 Share Posted March 10, 2008 Hi Crazymyou may have the solution to a problem I have but am struggling to find the location for this: 'catalog\includes\classes\seo.class.php' it doesn't seem to appear anywhere in my osC listing, I would expect to find this under 'tools/define languages' but not there Why? Is it a language file? Link to comment Share on other sites More sharing options...
Kyrsten Posted March 15, 2008 Share Posted March 15, 2008 I have tried this and my seo.class.php file has nothing like this in it for me to edit to see if it resolves the problem Link to comment Share on other sites More sharing options...
airdee Posted August 30, 2009 Share Posted August 30, 2009 It seems that the below resolution does not work with oscom latest version. I noticed that certain parameters such as 'page=', 'cPath=' and 'keywords=' were not passed when clicking pagination links. Is there a workaround to include the parameters on the pagination links? lol :) Problem seems be solved!here is the way I found!share with the friend who has the same problem!page after problem solved:http://www.microstyle-shop.com/cards-weddi...e=3&sort=1a 1.Open catalog\includes\classes\seo.class.php 2.Find this: See the "return $current_page; "? change this to "//return $current_page;" Then the problem solved! Thank you all for help:) " There are two things to aim at in life; first to get what you want, and after that to enjoy it. Only the wisest of mankind has achieved the second. " -Logan Pearsall Smith \m/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.