Jump to content

Juto

Members
  • Content count

    365
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Juto

  1. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, thanks for your answer :) I will do that. By the way I have been reading a bit more and learned that This is the preferred way to change the charset: mysql_query("SET CHARACTER SET utf8"); Using mysql_query() to execute SET NAMES .. is not recommended. Also I think that this should go in application_top and not in the language files: mb_internal_encoding("UTF-8"); So that the usu5 becomes aware of the encoding before it is loaded. What's your view on this? Kindest Sara
  2. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Robert, I have converted my site to utf-8 and: Using usu5: Tidy reports: Warning: escaping malformed URI reference href="http://www.u2commerce.com/index.php/kläder-c-26"> foreign characters goes bananas... that do not work of course. Setting usu5 to false in admin gives for the same link: href="http://www.u2commerce.com/index.php?cPath=26"> So, How can I fix this? Sara ps: I have tried for a week now, and couldn't do it. But looking into the code gives me chills... you are fantastic! ds
  3. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, I have so far done this with my www.u2commerce.com 1) Multilingual 2) RC2a -> v2.3 3) Moved to utf-8 For the English language it's working nicely, but not for my other languages having country specific characters. The redirect gives (as an example): http://www.u2commerce.com/index.php/kl%C3%83%C2%A4der-storlek-c-28 I have searched in the usu documentation but didn't find anything. I am using this in the includes/functions/database.php: //Begin move to utf-8 encoding mysql_query("SET CHARACTER SET utf8"); mysql_query("SET NAMES utf8"); //End move to utf-8 encoding I assume that this snippet should be somewhere in the usu as well, but where? As an of topic, should the snippet it go into the error handler and the metatag as well? Kindest Sara
  4. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    You are most welcome! By the way I noticed that there are two instances of "character_conversion". One in the extras as "character_conversion_pack" and one in the uploads directory as "character_conversion". The latter is empty... Thought you would like to know. (I copied the languages from the former to my site). Sara
  5. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, I think I found the misstake I made: I uploaded the uploads directory only, and forgot the character_conversion_pack :) After fixing that, the site is up and running again. I must say you are just brilliant. Your contribs are fantastic! Thank you so much Robert!
  6. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, I have just updated to v205 and got a problem: When I click on a category the redirect is wrong and the site breaks. Keeping the update for htaccess and the function in general.php and reverting includes/modules/ultimate_seo_urls5 to the previous version, then the error disappear. I have looked into the server log, no errors reported. But, in the error.log I got: [26-Mar-2011 21:18:39] PHP Fatal error: Call to undefined method Sqlite_Cache_Module::admini() in /home/xxxx/public_html/admin/includes/functions/general.php on line 1680 If that's the problem, how do I fix it? Sara
  7. Hi Ken, and thank you for your answer. I have used it for admin for about a week now, just testing... I thought that it was only written for the catalog side, since I've (so far) haven't got any errors from admin! :) Sara
  8. Hi Robert, wondering: Will there be a error handler for admin as well? Kindest Sara
  9. Juto

    AJAX Attribute Manager support

    There's a language problem while editing a product: The drop down for quantity in stock doesn't change text wrt to selected language, while the text for the option name does. Any fix? Sara
  10. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Hello Robert, Now I have fixed all... but: Error Type: [E_NOTICE] Undefined offset: 5 On line 86 File includes/modules/ultimate_seo_urls5/uri_modules/osc_experimental.php Tonight I had about 27Kb of those. So, can I just use the following as a first line in the osc_experimental.php? error_reporting(E_ALL ^ E_NOTICE); Kindest Sara
  11. Juto

    AJAX Attribute Manager support

    Hello, I am using v2.8.9 plus QTpro. I have fixed all bugs in those, there were a lot of them :) When a site is multilingual you have to select your prefered language to see all the possibilities with AAM. No default language is set when AAM loads. So, how do you set a default language? The section where it should be done is: <?php $languages = tep_get_languages(); if(count($languages) > 1) { foreach ($languages as $amLanguage) { ?> <!--Original//--> <input type="image" src="<?php echo DIR_WS_CATALOG_LANGUAGES . $amLanguage['directory'] . '/images/' . $amLanguage['image'];?>" title="<?php echo AM_AJAX_CHANGES;?>" <?php echo ($attributeManager->getSelectedLanguage() == $amLanguage['id']) ? 'style="padding:1px;border:1px solid black" onclick="return false;";':'onclick="return amSetInterfaceLanguage(\''.$amLanguage['id'].'\')";';?> > <?php } } //Set default language here, id=1: ?> Any ideas? Sara
  12. If things aren't correct, it's not perfect -neither am I.

  13. Hi, that would be nice, for others. (I have fixed all issues). Thanks for a nice addon! Sara
  14. Here it is: Warning: Unknown property ”-moz-outline”. Ignored statement. Result: 0 errors / 17 warnings line 327 column 310 - Warning: <a> attribute ";" lacks value line 327 column 463 - Warning: unescaped & or unknown entity "&pID" line 327 column 470 - Warning: unescaped & or unknown entity "&action" line 327 column 911 - Warning: <a> attribute ";" lacks value line 327 column 1064 - Warning: unescaped & or unknown entity "&pID" line 327 column 1071 - Warning: unescaped & or unknown entity "&action" line 327 column 1512 - Warning: <a> attribute ";" lacks value line 327 column 1665 - Warning: unescaped & or unknown entity "&pID" line 327 column 1672 - Warning: unescaped & or unknown entity "&action" line 327 column 2113 - Warning: <a> attribute ";" lacks value line 327 column 2266 - Warning: unescaped & or unknown entity "&pID" line 327 column 2273 - Warning: unescaped & or unknown entity "&action" line 327 column 310 - Warning: <a> proprietary attribute "hidefocus" line 327 column 911 - Warning: <a> proprietary attribute "hidefocus" line 327 column 1512 - Warning: <a> proprietary attribute "hidefocus" line 327 column 2113 - Warning: <a> proprietary attribute "hidefocus" line 327 column 4710 - Warning: <script> inserting "type" attribute Two fixes: soft is not valid // $TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); $TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])), 'style="white-space:pre-line;"'); // $TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%" ', $TMS->tab[$tabNo] Should be: $TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%;" ', $TMS->tab[$tabNo] ['content']); Sara
  15. Juto

    AJAX Attribute Manager support

    Just a tip: If you really want this addon to work, change your error reportig level in admin/includes/application.top to: // Report ALL errors: error_reporting(-1); Then go into your admin and try to add/edit a product. In your admin folder you should have an "error_log" have a look into it and fix the errors until the error_log is empty. Next install kiss error handler and debugging (find it among the contributions) on the admin side. Then go into your admin and try to add/edit a product. In your admin folder you should have an "errors" -folder open the error file in it and fix all errors. Good Luck! Sara
  16. Hi, I think you should rework the code to become w3c-compliant, plus fixing bugs. My site is fully validated and bug fixed, both catalog and admin side including about 20 addons. Also, I have updated my site from vRC2a --> v2.3.1 In summary I do not like addons which simply destroy my lengthy work. Sara
  17. Godmorning Robert. I have solved the problem: It's NOT an error, the product doesn't exist when the index is undefined. see the $product_check in the code. (Its just a part of the logics). So, the "solution" should be to avoid getting it reported as an E_NOTICE. Thought you would like to know in case it can be useful. Sara
  18. Hello Robert, yes you are right as always. Sorry for posting this but I would like to understand what's going on. The query contains this: (int)$_GET['products_id'] So, I am confused and beleive its an error in application top... Thanks for your answer Robert, now I do need a hot bath. It's cold outside... brrrr Sara
  19. Yes Robert I have read all of it, it might be that I do not understand all of it. Sorry for that. Sara
  20. Hi Robert, KISS error handler says: Date / Time: 18-02-2011 19:45:16 Error Type: [E_NOTICE] Undefined index: products_id On line 29 File includes/modules/kiss_meta_tags/modules/product_info.php -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Date / Time: 18-02-2011 19:45:16 Error Type: [E_NOTICE] Undefined index: products_id On line 30 File includes/modules/kiss_meta_tags/modules/product_info.php I do not why though. Any fix? Kindest Sara
  21. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, KISS error handler reports: Error Type: [E_NOTICE] Undefined offset: 3 On line 87 File includes/modules/ultimate_seo_urls5/uri_modules/osc_experimental.php Any need to worry? Sara
  22. Hi Robert, I would like to know two things: 1) What's the difference between having: error_reporting(-1); in application.top and Kiss error handler? The former reports no errors, while the latter does 2) I have installed http://forums.osquantum.org/index.php?showtopic=31&st=0 which gives separate boxes for the top level categories Will this affect the kiss errohandler at all? Kindest Sara
  23. Juto

    ULTIMATE Seo Urls 5 - by FWR Media

    Godmorning Robert It's me again, the nag :) I do not know if this has been solved, I have searched and found nothing: Error Type: [E_NOTICE] Undefined offset: 3 On line 84 File includes/modules/ultimate_seo_urls5/uri_modules/osc_experimental.php This concerns line 86 and 87 as well. Note that I also have the pro version installed. Would like to have a fix, if possible, I might learn something ... Kindest Sara
  24. O' I thought I was smart for once... The query is: $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$_GET['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); And I have checked all relevant tables... So the bug is elsewhere...o my God.. where, where... Sara
  25. Hi Robert, I found the bug and fixed it! :) The fix was to use isset before the query in product_info: if (isset($_GET['products_id'])) { $product_check_query = tep_db_query(.... $product_check = tep_db_fetch_array($product_check_query); } Thanks for pointing my mind to it! :) Kindest Sara
×