sagitario
-
Posts
38 -
Joined
-
Last visited
Posts posted by sagitario
-
-
7.Could be a problem with the database engine. I dont know about portugues. Look in languages/portugues.php
define('CHARSET', 'iso-8859-1');
Some new versions of osc uses UTF-8
Compare it with the database engine & collation.
Good luck.
Yes, with the osc upgrade I convert all to UTF-8. All my sql tables are all in utf8_unicode_ci
above that option there is a mode to change the path rewrite. Try changing the mode.
Yehhhh... that do the trick. Thank you very much :)
8. Try converting the file codification to UTF-8 without BOM.
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 ;)
-
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.
-
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.
-
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,
-
Hi,
Been searching for an hour or so to find a solution to this, but no luck so far.
Trying to install this on my 2.3.3.4 site and in the instructions it says:
However, in 2.3.3.4 the Find code is actually:
// include the language translations $_system_locale_numeric = setlocale(LC_NUMERIC, 0); require(DIR_WS_LANGUAGES . $language . '.php'); 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)
The LC_NUMERIC function was added at 2.3.3.4 update.
If I add the code from the mod above this block then I get a white page on page load.
Has anyone found a solution to this on 2.3.3.4?
Many Thanks
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)
-
1.the files must be in \includes\modules\ultimate_seo_urls5\includes\character_conversion
2. make 1 file per language
3. your file seems to be the spanish version. Rename it as espanol.php
4. if you installed for example 3 languages in your osc, delete the other ones folders. = 1 folder per languaje(default espanol, english, german)
5. It seems to be right but try with this one:
<?php // Spanish $char_convert = array('á' => 'a', 'é' => 'e', 'í' => 'i', 'ñ' => 'n', 'ã' => 'a', 'á' => 'a', 'ó' => 'o', 'ú' => 'u', 'ü' => 'u', 'Á' => 'A', 'É' => 'E', 'Í' => 'I', 'Ñ' => 'N', 'Ó' => 'O', 'Ú' => 'U', 'Ü' => 'U', '¿' => '-', '¡' => '-'); ?>
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.
6. this is the code that gets the error:
$final_text_array = array(); foreach ( $text_array as $key => $text ) { if ( tep_not_null( trim( $text ) ) ) { $final_text_array[$key] = $text; } } // We will cache this result Usu_Main::i()->getVar( 'registry' )->attach( $this->key, $this->keys_index[$this->key], $final_text_array ); return $final_text_array; }
Could be that you have some products without any products_name asigned (empty or null). Try to write some name description for all languages. Then RESET cache.
Ok, I have one product with products_name empty and after I change it the 120 error disappear.
-
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,
-
It can show that for several reasons. If you would post your url here, I will take a look.
Thank you, but I figure out.
-
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' ); ?>
-
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.
-
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.
-
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,
-
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,
-
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,
-
Hi,
I have install AJAX-AttributeManager-V2.8.9 and everything looks fine. The only problem that I have is the "move option". In back-office I can move the options but in front-office the positions of the options maintain the same. It's suppose to change it like I have leave in the back-office.
Someone can help me with this problem?
Regards,
-
Hi,
Where I find the PSD of all de buttons?
I only find the checkout.psd
Any help?
Cumps,
-
Can someone explain me how can I make the admin login work?
My oscommerce admin enter automatic, dont ask for password. :(
Regards,
-
Hi,
I install de contribuition and seens to work well. Only the log out don't show and the Administratos bottom don't work.
When I go do admin page it never shows the login menu? What I need to do?
Regards,
ULTIMATE Seo Urls 5 - by FWR Media
in General Add-Ons Support
Posted
Problem resolve with the follow instructions -> link