Long_inn
Archived-
Posts
19 -
Joined
-
Last visited
Profile Information
-
Real Name
Bui Trong Long
Long_inn's Achievements
-
Anyone can collection a simple way for this addons, thanks alot. Very good addon.
-
To fix this In admin/includes/classes find split_page_results.php and - BACK IT UP then find the lines CODE $offset = ($max_rows_per_page * ($current_page_number - 1)); $sql_query .= " limit " . $offset . ", " . $max_rows_per_page; change to CODE $offset = ($max_rows_per_page * ($current_page_number - 1)); if ($offset < 0) { $offset = 0; } $sql_query .= " limit " . $offset . ", " . $max_rows_per_page; MySQL 4.1.xx handles negatives correctly (by forcing an error) in the code above unlike earlier versions of MySQL. NOTE - I have NOT asked you to change catalog/includes/classes/split_page_results.php - If you have a problem on the catalog side you may want to try the same change in that file - I did and it went wrong so the change to my catalog/includes/classes/split_page_results.php file is a little more elaborate and I will share that here if it becomes an issue - but for now it seems people will mostly have a problem with empty files on the admin side. Change (catalog/includes/classes/split_page_results.php around line 67) from: CODE $this->sql_query .= " limit " . $offset . ", " . $this->number_of_rows_per_page; to: CODE $this->sql_query .= " limit " . max($offset, 0) . ", " . $this->number_of_rows_per_page; Both on the catalog side and the admin side changing $offset to max($offset, 0) is the "official" fix. This fix is found by Charles Kangethe That I have test success. Have fun!
-
Clear understand, upload my oscommerce code: http://phuongnoi.com.vn/osc9360.zip I set to languge : English & Vietnam English: http://phuongnoi.com.vn/tsc-files/Choose-l...tch-english.GIF Vietnam: http://phuongnoi.com.vn/tsc-files/Choose-lang-switch.GIF And the problem is here: ( Configuration section ) http://phuongnoi.com.vn/tsc-files/Configuration-section.GIF This source I run on Xampp, all about database osc9360.sql, user: root, pass: "" Run it and support me please. Thanks.
-
:blink: Oscommerce code , all file lang is done, but, have no file lang for Configuration section. Then we must be done into own's language by translate in database column table. Include 2 columns: Configuration & Configuration_Group. I have found this topic: http://www.joomla-international.org/tutori...8-database.html But where to put in this : I can't understand, how to run this, where to place it? Thanks, can you understand my problem? Hix, I'm not good at English, so that's my experience , and try to explain to all of you, hi, my mothertongue is Vietnamese. :rolleyes:
-
Ya, Kymation, it appear correctly the character in that column table my mothertongue, but did not appear correctly in Admin configuration section, this wrong: http://maytinhthanhson.com/UPLOAD/GIF/Admin-manage-tiny.gif because translate in column database. And this good: http://maytinhthanhson.com/UPLOAD/GIF/Admi...-other-tiny.gif because translate in my language file. Hix. Can I solve this in database translation?
-
As I told above, Collection utf8_unicode_ci. Support out of USA collection, Accept UTF-8 Lang ( Asia Lang ) And these images in *gif ( Tiny ) The compress file *.rar: http://maytinhthanhson.com/UPLOAD/GIF.zip Or these pic: http://maytinhthanhson.com/UPLOAD/GIF/osc-...-table-tiny.gif http://maytinhthanhson.com/UPLOAD/GIF/osc-...e-view-tiny.gif http://maytinhthanhson.com/UPLOAD/GIF/osc-...-table-tiny.gif http://maytinhthanhson.com/UPLOAD/GIF/Admin-manage-tiny.gif http://maytinhthanhson.com/UPLOAD/GIF/Admi...-other-tiny.gif Hope you can see them. Thanks. Any problem with.
-
Thank you so much, but I did these steps: Back up my Database into a osc.sql Then creat a new Database with colation : utf8_unicode_ci. And import osc.sql into it. First of all, I change all of table into utf8. This is some screenshot: http://maytinhthanhson.com/UPLOAD/osc-data-table.bmp http://maytinhthanhson.com/UPLOAD/osc-conf...ation-table.bmp http://maytinhthanhson.com/UPLOAD/osc-conf...browse-view.bmp http://maytinhthanhson.com/UPLOAD/Admin-manage.bmp http://maytinhthanhson.com/UPLOAD/Admin-manage-other.bmp Tell me about it, any step I must do? Thanks.
-
Wow, ya i did, but... Problem in charset, I want 2 import DB in UTF-8, hix, Oscommerce default charset is latin1. What can I do? When I translate, import Configuration, it does'n appear exactly in my lang. See this pic: http://img244.imageshack.us/my.php?image=c...bletitleir1.png :angry: Thanks 4 metions alot.
-
Thank you Kymation, I love this. but... can i translate these tables into utf-8 lang by Notepad++ ? :blush: :blush: Can done these tables by these step? Export Configuration & Configuration table in *.sql file, then Open in notepad++ , edit in the format: Encode in utf-8 without BOM. Translate all or what exactly parameter? When done must i import in to database? Support me. I love all of you so much.