Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sagitario

Pioneers
  • Posts

    38
  • Joined

  • Last visited

Profile Information

sagitario's Achievements

  1. Problem resolve with the follow instructions -> link
  2. Yes, with the osc upgrade I convert all to UTF-8. All my sql tables are all in utf8_unicode_ci Yehhhh... that do the trick. Thank you very much :) Every day a new lesson. Never eared before about BOM or without BOM. I save the file without BOM and work like a charm. Many thanks once again, you are a master ;)
  3. Hi, OK, I have install this add-on and at start everything seems alright. But when I try some links that have especial characters I see that I have something missing. Back to add-on package and find in the extras the character_conversion_pack and put the conversion file inside catalog/includes/modules/ultimate_seo_urls5/includes/character_conversion. I put the file named exactly the same as my language file. This is the content of my file: <?php $char_convert = array('à' => 'a', 'â' => 'a', 'á' => 'a', 'ã' => 'a', 'ê' => 'e', 'ë' => 'e', 'é' => 'e', 'ô' => 'o', 'ó' => 'o', 'õ' => 'o', 'ö' => 'o', 'ú' => 'u', 'ü' => 'u', 'í' => 'i', 'ç' => 'c', 'ñ' => 'n', 'À' => 'A', 'Â' => 'A', 'Á' => 'A', 'Ã' => 'A', 'Ê' => 'E', 'Ë' => 'E', 'É' => 'E', 'Ô' => 'O', 'Ó' => 'O', 'Õ' => 'O', 'Ö' => 'O', 'Ú' => 'U', 'Ü' => 'U', 'Í' => 'I', 'Ç' => 'C', 'Ñ' => 'N', 'ª' => 'a', 'º' => 'o'); ?> I enable the variable report and see this result: [character_conversion] => Array ( [�] => a [�] => a [�] => a [�] => a [�] => e [�] => e [�] => o [�] => o [�] => o [�] => u [�] => i [�] => c [�] => A [�] => A [�] => A [�] => A [�] => E [�] => E [�] => O [�] => O [�] => O [�] => U [�] => I [�] => C [�] => a [�] => o Remove the character file from folder and and adding manual on admin it works ok. [character_conversion] => Array ( [à] => a [â] => a [á] => a [ã] => a [ê] => e [é] => e [ô] => o [ó] => o [õ] => o [ú] => u [í] => i [ç] => c [À] => A [Â] => A [Á] => A [Ã] => A [Ê] => E [É] => E [Ô] => O [Ó] => O [Õ] => O [Ú] => U [Í] => I [Ç] => C [ª] => a [º] => o Theres something that don't read well my convert file variables. In meantime I have another problem. My site look like www.mysite.com/index.php/hardware-c-1 and I want to look lik look like www.mysite.com/hardware-c-1. I read the documentation and and the .htaccess to my root folder with the follow code: # If you are getting errors you may need to comment this out like .. # Options +FollowSymLinks Options +SymLinksIfOwnerMatch <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change RewriteBase using the instructions above RewriteBase / RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA] # Articles contribution RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA] # Information pages RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA] # Links contribution RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA] # Newsdesk contribution RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA] </IfModule> I already change in Admin the force option to true, but it stays the same. Don't see where I made a wrong turn. What I'm doing wrong? Thanks in advance.
  4. In meantime I have another problem. My site look like www.mysite.com/index.php/hardware-c-1 and I want to look lik look like www.mysite.com/hardware-c-1. I read the documentation and and the .htaccess to my root folder with the follow code: # If you are getting errors you may need to comment this out like .. # Options +FollowSymLinks Options +SymLinksIfOwnerMatch <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change RewriteBase using the instructions above RewriteBase / RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA] # Articles contribution RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA] # Information pages RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA] # Links contribution RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA] # Newsdesk contribution RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA] </IfModule> I already change in Admin the force option to true, but it stays the same. Don't see where I made a wrong turn. Thank in advance.
  5. Ok, I enable the variable report and see this result: [character_conversion] => Array ( [�] => a [�] => a [�] => a [�] => a [�] => e [�] => e [�] => o [�] => o [�] => o [�] => u [�] => i [�] => c [�] => A [�] => A [�] => A [�] => A [�] => E [�] => E [�] => O [�] => O [�] => O [�] => U [�] => I [�] => C [�] => a [�] => o Remove the character file from folder and and adding manual on admin it works ok. [character_conversion] => Array ( [à] => a [â] => a [á] => a [ã] => a [ê] => e [é] => e [ô] => o [ó] => o [õ] => o [ú] => u [í] => i [ç] => c [À] => A [Â] => A [Á] => A [Ã] => A [Ê] => E [É] => E [Ô] => O [Ó] => O [Õ] => O [Ú] => U [Í] => I [Ç] => C [ª] => a [º] => o Theres something that don't read well my convert file variables. Any help? Regards,
  6. I put in this way and work. // include the language translations $_system_locale_numeric = setlocale(LC_NUMERIC, 0); require(DIR_WS_LANGUAGES . $language . '.php'); /** * ULTIMATE Seo Urls 5 PRO by FWR Media */ Usu_Main::i()->setVar( 'languages_id', $languages_id ) ->setVar( 'request_type', $request_type ) ->setVar( 'session_started', $session_started ) ->setVar( 'sid', $SID ) ->setVar( 'language', $language ) ->setVar( 'filename', $PHP_SELF ) ->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : array(), $languages_id, $language ); setlocale(LC_NUMERIC, $_system_locale_numeric); // Prevent LC_ALL from setting LC_NUMERIC to a locale with 1,0 float/decimal values instead of 1.0 (see bug #634)
  7. 1. The file path is \includes\modules\ultimate_seo_urls5\includes\character_conversion\portugues.php 2. I only have one language, theres only one file in the folder. 3. No, its Portuguese. I rename to "portugues.php" because this is the name of my language file. 4. Only have one. 5. I use the code but the only word that was convert was the "á" and the strange thing is that it uses the wrong conversion. If I change 'á' => 'a' to 'á' => 'c' the result of this word, for example, "tá" become "tc". But the letter 'á' don't exist in the word "tá". If I delete the 'á' => 'a' (this word don't exist in portuguese language) it stop to convert the word "á". All other words never convert. Hope that what I say don't seems confuse. Ok, I have one product with products_name empty and after I change it the 120 error disappear.
  8. I don't tell in my last post because I don't know for sure. I have copy once again the addon files and it now works perfect. Probability some file was lost in transfer to my server... Regards,
  9. I don't see nothing wrong on file. <?php $char_convert = array('à' => 'a', 'â' => 'a', 'á' => 'a', 'ã' => 'a', 'ê' => 'e', 'ë' => 'e', 'é' => 'e', 'ô' => 'o', 'ó' => 'o', 'õ' => 'o', 'ö' => 'o', 'ú' => 'u', 'ü' => 'u', 'í' => 'i', 'ç' => 'c', 'ñ' => 'n', 'À' => 'A', 'Â' => 'A', 'Á' => 'A', 'Ã' => 'A', 'Ê' => 'E', 'Ë' => 'E', 'É' => 'E', 'Ô' => 'O', 'Ó' => 'O', 'Õ' => 'O', 'Ö' => 'O', 'Ú' => 'U', 'Ü' => 'U', 'Í' => 'I', 'Ç' => 'C', 'Ñ' => 'N', 'ª' => 'a', 'º' => 'o' ); ?>
  10. Hi, OK, I have install this add-on and at start everything seems alright. But when I try some links that have especial characters I see that I have something missing. Back to add-on package and find in the extras the character_conversion_pack and put the conversion file inside catalog/includes/modules/ultimate_seo_urls5/includes/character_conversion. I put the file named exactly the same as my language file. Then I go back to my site and see the fowling error: Warning: Invalid argument supplied for foreach() in catalog/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 102 Remove the conversion file and the error disappear but the problem with the especial characters continues. What I'm doing wrong? Thanks in advance.
  11. Hi, When I submit on google webmasters tools the sitemap link I received the fowling message: Unsupported file format - Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit. When I do the test, everything report success. Can someone help me? Thanks in advance.
  12. Thank you joli1811... you're a lifesaver I feel very dumb now... my mistake was that I put the ckeditor folder inside /ext/modules/ not in the /ext/ Regards,
  13. Hey everyone, I have many times unstall CKEditor on my OSC 2.3.3.4 but isn't show anyware. I folow the full manual and nothing seens to work. Can anyone help me? Regards,
  14. Hi iankil, You still give support to shis contribution? Alfter I update osCommerce 2.3.3.1 to 2.3.3.2 the contribution stop working. It shows many erros like "Warning: mysql_fetch_array() expects parameter 1 to be resource..." always pointing to Mindsparx code. Can you help me? Regards,
×
×
  • Create New...