♥FWR Media Posted August 26, 2010 Author Share Posted August 26, 2010 @mirage101 or if you have iconv running you could try .. Find ( includes/modules/ultimate_seo_urls5/abstracts/aDatamap.php ) .. /** * Formatter for URI text * * Takes a text string and formats it based on existing settings * @param string $string - The raw URI string to be converted * @return string - the final formated URI string */ protected function linkText( $string ) { // Action character conversions if ( is_array( usu::$character_conversion ) ) { $string = strtr( $string, usu::$character_conversion ); } Change to .. private function convertCP1251( $character_conversion ) { foreach ( $character_conversion as $from => $to ) { $from = iconv( 'UTF-8', 'CP1251', $from ); $character_conversion[$from] = $to; } return $character_conversion; } /** * Formatter for URI text * * Takes a text string and formats it based on existing settings * @param string $string - The raw URI string to be converted * @return string - the final formated URI string */ protected function linkText( $string ) { // Action character conversions if ( is_array( usu::$character_conversion ) ) { $character_conversion = $this->convertCP1251( usu::$character_conversion ); $string = strtr( $string, $character_conversion ); } Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted September 4, 2010 Share Posted September 4, 2010 Hy there. I have one big problem with my live store. All things went well i got this error Call to undefined method stdClass::merge() in includes/modules/ultimate_seo_urls5/modules/Usu_PopUpImage.php on line 37 Any idea ho to resolve this ? or how to remove Urls 5 from database ? Quote Link to comment Share on other sites More sharing options...
EIF Posted September 6, 2010 Share Posted September 6, 2010 I read this threat, but can't find the answer for my problem. This contribution works fine, setting the url format on Standard. Switching to Rewrite however, navigation fails. Clicking on a product, the site navigates to the root. (local it goes to http://localhost. The shop is in http://localhost/shop) Clicking on a product in the specials box, I get returned 'object not found' error. I do not have any redirect javascripts running. Can someone please help me out? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 6, 2010 Author Share Posted September 6, 2010 I read this threat, but can't find the answer for my problem. This contribution works fine, setting the url format on Standard. Switching to Rewrite however, navigation fails. Clicking on a product, the site navigates to the root. (local it goes to http://localhost. The shop is in http://localhost/shop) Clicking on a product in the specials box, I get returned 'object not found' error. I do not have any redirect javascripts running. Can someone please help me out? Standard works out of the box but the rewrite version requires .htaccess RewriteRules and mod_rewrite compiled in apache as per the instructions. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
EIF Posted September 6, 2010 Share Posted September 6, 2010 Standard works out of the box but the rewrite version requires .htaccess RewriteRules and mod_rewrite compiled in apache as per the instructions. In my .htaccess file I added the following code: Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-([0-9_]+).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} </IfModule> Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 6, 2010 Author Share Posted September 6, 2010 In my .htaccess file I added the following code: Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-([0-9_]+).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} </IfModule> Please read the instructions, no point in posting until you have done so. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2010 Share Posted September 6, 2010 Seem to be having a little problem with an old template, poorly written I think. probably a Templatemonster template. Everything works but add-to cart on index.php with rewrite on. In standard urls they do work. Seems the problem is in this line. <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '"><IMG SRC="images/Details.jpg"border="0"></a><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '&action=buy_now"><IMG SRC="images/BuyIt.jpg" border="0"></a></td>. I know templatemonster templates have poorly designed redirects for add to cart and details buttons. I added the fix for those several post back, but failed to fix this one. This template must be older than I am. Thanks in advance. Bo Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 6, 2010 Author Share Posted September 6, 2010 Seem to be having a little problem with an old template, poorly written I think. probably a Templatemonster template. Everything works but add-to cart on index.php with rewrite on. In standard urls they do work. Seems the problem is in this line. <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '"><IMG SRC="images/Details.jpg"border="0"></a><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '&action=buy_now"><IMG SRC="images/BuyIt.jpg" border="0"></a></td>. I know templatemonster templates have poorly designed redirects for add to cart and details buttons. I added the fix for those several post back, but failed to fix this one. This template must be older than I am. Thanks in advance. Bo Depends what you mean by "not working" what is it doing exactly. Also take a look at the install instructions related to products_listing.php If you can 't find the exact line then search for .. ( by the buy_now option ) tep_get_all_get_params(array('action')) Replace with .. tep_get_all_get_params(array('action', 'products_id')) Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2010 Share Posted September 6, 2010 (edited) Depends what you mean by "not working" what is it doing exactly. Also take a look at the install instructions related to products_listing.php If you can 't find the exact line then search for .. ( by the buy_now option ) tep_get_all_get_params(array('action')) Replace with .. tep_get_all_get_params(array('action', 'products_id')) Sorry I should have included the info. Not working means receiving 404 not found pqage. I have checked all the edits several time. I have added your url5 at least 40 times and always have a few problem with templatemonster templates. I have turned on rewrite and debug on if you would like to take a look. http://miratoproducts.com products_listing.php $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'products_id')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; Edited September 6, 2010 by badbo Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 6, 2010 Author Share Posted September 6, 2010 Sorry I should have included the info. Not working means receiving 404 not found pqage. I have checked all the edits several time. I have added your url5 at least 40 times and always have a few problem with templatemonster templates. I have turned on rewrite and debug on if you would like to take a look. http://miratoproducts.com The problem is .. http://miratoproducts.com/intesa-deo-body-spray-sample-pack-p-109.html&action=buy_now Should obviously be a question mark. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2010 Share Posted September 6, 2010 The problem is .. http://miratoproducts.com/intesa-deo-body-spray-sample-pack-p-109.html&action=buy_now Should obviously be a question mark. Yes I understand it should be products_new.php&action=buy_now just haven't found the problem. I will turn it off and work on it and post if I find an answer. Thanks. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 6, 2010 Author Share Posted September 6, 2010 Yes I understand it should be products_new.php&action=buy_now just haven't found the problem. I will turn it off and work on it and post if I find an answer. Thanks. This line was wrong .. <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '&action=buy_now"> Should be .. <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id'] . '&action=buy_now"' ) . '> Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2010 Share Posted September 6, 2010 This line was wrong .. <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '&action=buy_now"> Should be .. <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id'] . '&action=buy_now"' ) . '> Thanks I will search for it and change it. Just doing it for a friend. Free of course. The same you do for all your great work. Thanks Bo Quote Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2010 Share Posted September 6, 2010 Thanks I will search for it and change it. Just doing it for a friend. Free of course. The same you do for all your great work. Thanks Bo Now I remember why I didn't change that line. When I change it to <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id'] . '&action=buy_now"' ) . '> The button dissapears. I will work on it no need for you to spend time on it. i will see whats up. Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted September 14, 2010 Share Posted September 14, 2010 Question. I have tested on a vanilla and while manufacturers pages work fine the product urls come out semi dynamic ie; /the-wheel-of-time-p-23.html?manufacturers_id=8 On categories and subcategories is fine /the-wheel-of-time-p-23.html Wondering if this is standard or no? Thanks Quote Link to comment Share on other sites More sharing options...
ggrant3 Posted September 16, 2010 Share Posted September 16, 2010 (edited) I just installed this contribution and the urls are displaying properly, no issue there. But I was continuing through the install directions and reached the "Database Install" section I attempted it and I do not get a "success" message. I get: At least one of the configuration values already exists! Tables look good to insert. No tables to alter it seems. No fields to insert it seems. No fields to alter it seems. What do I do now? Edited September 16, 2010 by ggrant3 Quote Link to comment Share on other sites More sharing options...
ggrant3 Posted September 17, 2010 Share Posted September 17, 2010 I just installed this contribution and the urls are displaying properly, no issue there. But I was continuing through the install directions and reached the "Database Install" section I attempted it and I do not get a "success" message. I get: At least one of the configuration values already exists! Tables look good to insert. No tables to alter it seems. No fields to insert it seems. No fields to alter it seems. What do I do now? Anyone know what I need to do about the database install not being complete since the urls are displaying properly? I did the manual install method and everything is displaying properly in the urls, but browsed to the install files I got the database error message above. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 17, 2010 Author Share Posted September 17, 2010 Anyone know what I need to do about the database install not being complete since the urls are displaying properly? I did the manual install method and everything is displaying properly in the urls, but browsed to the install files I got the database error message above. You have installed then manually removed some of the required database installation .. you therefore now have to manually remove ALL the required settings before the installer will work again. You can see the settings to be removed by opening up installer.php Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
pippoweb Posted September 17, 2010 Share Posted September 17, 2010 (edited) Sorry to disturb you all. I happly run a "ULTIMATE_Seo_Urls_5_r84_rc", and I thought to update it to the last version "ULTIMATE_Seo_Urls_5_r141_stable". Well there's something wrong in the new class files. When I upload the new "aDataMap.php" or "usu.php" and similar, the ebsite goes "white/blank". Just this all goes white no error visibile, nothing at all... is this happened to someone else? The strangeness is that if I did modification to the file 'application_top.php' 'html_output.php' (as wrote in the various upgrade document) it works (with old classes), I upload the new classes: crash. Doing some bad debugging I found that all stops in "application_top.php" before this line: require(DIR_WS_LANGUAGES . $language . '.php'); Thank you in advance F php is 5.2.14, linux, ecc.. Edited September 17, 2010 by pippoweb Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 17, 2010 Author Share Posted September 17, 2010 Sorry to disturb you all. I happly run a "ULTIMATE_Seo_Urls_5_r84_rc", and I thought to update it to the last version "ULTIMATE_Seo_Urls_5_r141_stable". Well there's something wrong in the new class files. When I upload the new "aDataMap.php" or "usu.php" and similar, the ebsite goes "white/blank". Just this all goes white no error visibile, nothing at all... is this happened to someone else? The strangeness is that if I did modification to the file 'application_top.php' 'html_output.php' (as wrote in the various upgrade document) it works (with old classes), I upload the new classes: crash. Doing some bad debugging I found that all stops in "application_top.php" before this line: require(DIR_WS_LANGUAGES . $language . '.php'); Thank you in advance F php is 5.2.14, linux, ecc.. There is nothing wrong with the class files as they work perfectly. Look in your error log as you seem to have error reporting turned off which is why you get a white screen. Somewhere you must have installed incorrectly but there is no detail from which I can advise. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
ggrant3 Posted September 17, 2010 Share Posted September 17, 2010 You have installed then manually removed some of the required database installation .. you therefore now have to manually remove ALL the required settings before the installer will work again. You can see the settings to be removed by opening up installer.php Alright I am only a beginner when it comes to php, so be gentle if I am wrong I am trying to understand. I did do the manual install, but you said "You have installed then manually removed some of the required database installation", I am confused here because I did not manually remove anything. I did all of the code modifications to the files as per the instructions and then I browsed to the file for the database installation portion and I got the error message. After reading your reply, I looked back at the error message that I received and it refers to "at least one of the configuration values already existing". You said I could find the values to remove in the installer file. So I opened up the installer.php file and looked for configuration values. I found a reference to $config_inserts, so then it lists a bunch of different listings (configuration_group_title, configuration_group_description, sort_order, visible, etc...) but am I right in thinking that you are saying to got o my database files and look for these files/values and then to delete them if I find any of them? I just don't want to go into the database and screw up something because I am not 100% sure on what you are saying. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 17, 2010 Author Share Posted September 17, 2010 Alright I am only a beginner when it comes to php, so be gentle if I am wrong I am trying to understand. I did do the manual install, but you said "You have installed then manually removed some of the required database installation", I am confused here because I did not manually remove anything. I did all of the code modifications to the files as per the instructions and then I browsed to the file for the database installation portion and I got the error message. After reading your reply, I looked back at the error message that I received and it refers to "at least one of the configuration values already existing". You said I could find the values to remove in the installer file. So I opened up the installer.php file and looked for configuration values. I found a reference to $config_inserts, so then it lists a bunch of different listings (configuration_group_title, configuration_group_description, sort_order, visible, etc...) but am I right in thinking that you are saying to got o my database files and look for these files/values and then to delete them if I find any of them? I just don't want to go into the database and screw up something because I am not 100% sure on what you are saying. Have you looked in admin to see if the USU5 settings are in place? Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
ggrant3 Posted September 17, 2010 Share Posted September 17, 2010 Have you looked in admin to see if the USU5 settings are in place? Under admin/configuration I have the SEO URL's section with all of the options, but I haven't actually configured anything since the instructions said The base install is complete .. you should now be able to visit your site and it will be producing "standard" seo urls. and I could see them working and the next thing on the list was the database install. So I didn't want to jump out of order and screw something up. Should I configure that first and then see what happens? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted September 17, 2010 Author Share Posted September 17, 2010 Under admin/configuration I have the SEO URL's section with all of the options, but I haven't actually configured anything since the instructions said The base install is complete .. you should now be able to visit your site and it will be producing "standard" seo urls. and I could see them working and the next thing on the list was the database install. So I didn't want to jump out of order and screw something up. Should I configure that first and then see what happens? Seo Urls or Seo Urls 5? Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
ggrant3 Posted September 17, 2010 Share Posted September 17, 2010 Seo Urls or Seo Urls 5? SEO URL's 5 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.