Jump to content



Latest News: (loading..)

* * * * * 1 votes

v2.3.2 upgrade experience from v2.3.1

security addons html addons logined problems

  • Please log in to reply
75 replies to this topic

#61   Procella

Procella
  • Members
  • 67 posts
  • Real Name:Timo Jensen
  • Gender:Male
  • Location:Ringsted, Denmark

Posted 07 January 2013 - 09:11 PM

@Gergely

Ok, i think i havent expressed what the problem is.

1. When i save the files with the built in tool, the files that are saved, becomes empty.
a. Solution: Edit locally, upload with FTP (apparently).

2. Text from my languagefiles (includes/language/dansk.php), does not show danish letters. http://drikkegel.dk/?page_id=26&slug=index.php&language=da
Timo Jensen

#62   www.in.no

www.in.no
  • Members
  • 350 posts
  • Real Name:Arild Evensen

Posted 07 January 2013 - 10:12 PM

The language files are not encoded using utf-8, you have to convert them to UTF-8 and check all files in your language to clean out non UTF-8 characters.

#63   Procella

Procella
  • Members
  • 67 posts
  • Real Name:Timo Jensen
  • Gender:Male
  • Location:Ringsted, Denmark

Posted 07 January 2013 - 10:23 PM

In phpmyadmin i inserted the letters æøå in a few records. A dump look like this. On http://drikkegel.dk/?page_id=26 i cant see the letters in products, but in the text like the "greeting guest" theres an error. Guest in danish is gæst. not "g�st".


-- Data dump for tabellen `products_description`
--

INSERT INTO `products_description` (`products_id`, `language_id`, `products_name`, `products_description`, `products_url`, `products_viewed`, `products_head_title_tag`, `products_head_desc_tag`, `products_head_keywords_tag`) VALUES
(1, 1, 'ÆØÅ Matrox G1æ200 MMS', 'ÆØÅ æøåReinforcing its position as a multi-monitor trailblazer, Matrox Graphics Inc. has once again developed the most flexible and highly advanced solution in the industry. Introducing the new Matrox G200 Multi-Monitor Series; the first graphics card ever to support up to four DVI digital flat panel displays on a single 8&quot; PCI board.<br /><br />With continuing demand for digital flat panels in the financial workplace, the Matrox G200 MMS is the ultimate in flexible solutions. The Matrox G200 MMS also supports the new digital video interface (DVI) created by the Digital Display Working Group (DDWG) designed to ease the adoption of digital flat panels. Other configurations include composite video capture ability and onboard TV tuner, making the Matrox G200 MMS the complete solution for business needs.<br /><br />Based on the award-winning MGA-G200 graphics chip, the Matrox G200 Multi-Monitor Series provides superior 2D/3D graphics acceleration to meet the demanding needs of business applications such as real-time stock quotes (Versus), live video feeds (Reuters &amp; Bloombergs), multiple windows applications, word processing, spreadsheets and CAD.', 'www.matrox.com/mga/products/g200_mms/home.cfm', 0, NULL, NULL, NULL),
(2, 1, 'ÆØÅ Matrox G400 32MB', '<strong>Dramatically Different High Performance Graphics</strong><br /><br />Introducing the Millennium G400 Series - a dramatically different, high performance graphics experience. Armed with the industry''s fastest graphics chip, the Millennium G400 Series takes explosive acceleration two steps further by adding unprecedented image quality, along with the most versatile display options for all your 3D, 2D and DVD applications. As the most powerful and innovative tools in your PC''s arsenal, the Millennium G400 Series will not only change the way you see graphics, but will revolutionize the way you use your computer.<br /><br /><strong>Key features:</strong><ul><li>New Matrox G400 256-bit DualBus graphics chip</li><li>Explosive 3D, 2D and DVD performance</li><li>DualHead Display</li><li>Superior DVD and TV output</li><li>3D Environment-Mapped Bump Mapping</li><li>Vibrant Color Quality rendering </li><li>UltraSharp DAC of up to 360 MHz</li><li>3D Rendering Array Processor</li><li>Support for 16 or 32 MB of memory</li></ul>', 'www.matrox.com/mga/products/mill_g400/home.htm', 0, NULL, NULL, NULL),
Timo Jensen

#64   Procella

Procella
  • Members
  • 67 posts
  • Real Name:Timo Jensen
  • Gender:Male
  • Location:Ringsted, Denmark

Posted 07 January 2013 - 10:37 PM

View Postwww.in.no, on 07 January 2013 - 10:12 PM, said:

The language files are not encoded using utf-8, you have to convert them to UTF-8 and check all files in your language to clean out non UTF-8 characters.
@www.in.no
Isnt æøå/ÆØÅ UTF8 characters?
Is there a difference to using UTF8, da_DK.utf8 or en_US.UTF8 etc...
Timo Jensen

#65 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,761 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 07 January 2013 - 11:11 PM

Those characters can be represented in many encodings, but the code used may be different for different encodings. You must match the encoding used to that specified by osCommerce.

Regards
Jim

Edited by kymation, 07 January 2013 - 11:13 PM.

My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#66   Juto

Juto
  • Members
  • 369 posts
  • Real Name:Sara
  • Gender:Female

Posted 07 January 2013 - 11:28 PM

Hi, Timo, open up your Danish languages files and just resave them in utf-8 encoding. I think they are ANSI encoded.
Sara

#67   Juto

Juto
  • Members
  • 369 posts
  • Real Name:Sara
  • Gender:Female

Posted 08 January 2013 - 12:50 AM

I am trying to find the best way to load the Dashboard/jQuery only when it's needed, so I would like to have your opinion on this little tweak in admin template_top:

<?php
if ($current_page == FILENAME_DEFAULT) {
?>
<!--Introduce Administration Tool Dashboard and Add jQuery-->
<!--[if IE]><script language="javascript" type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/excanvas.min.js'); ?>"></script><![endif]-->
<script language="javascript" type="text/javascript" src="<?php echo tep_catalog_href_link('ext/jquery/jquery-1.4.2.min.js'); ?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/jquery.flot.js'); ?>"></script>
<?php
}
?>

The reason is that it would give better performance. For example the login page do not need the Dashboard.

So, what's your thoughts of the above?

Sara

#68 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,761 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 08 January 2013 - 12:54 AM

All pages use jQuery to load the buttons. Since the jQuery files are cached locally when the first page is loaded, you wouldn't notice any difference anyway.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#69   Juto

Juto
  • Members
  • 369 posts
  • Real Name:Sara
  • Gender:Female

Posted 08 January 2013 - 02:42 PM

@kymation
Hi Jim. Yes, you are right. Apart from the buttons it's used for the datepicker and in the dashboard...
Since jQuery do have bugs, I wonder which version of it is the "best" to use?
I am thinking of take the last version that can be used for legacy browsers like IE, and then debug it.
Thanks for your answer.

Sara

#70   Gergely

Gergely
  • Community Team
  • 553 posts
  • Real Name:Gergely Tóth
  • Gender:Male

Posted 08 January 2013 - 05:53 PM

@Procella

did you read it? http://forums.oscommerce.com/topic/388234-v232-upgrade-experience-from-v231/page__st__60#entry1659679
Header Footer Content Modules
SCM
v3

and some rewrites :-)

#71 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,761 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 08 January 2013 - 06:50 PM

@Juto  I would use the latest version if you want to replace or update the theme, then patch any errors that affect your store. In the current version that's the base bug.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#72   omat

omat
  • Members
  • 3 posts
  • Real Name:Matt
  • Gender:Male

Posted 08 January 2013 - 09:40 PM

Sorry for being a pain... but I still don't get it!

I get  .." The password reset link was not found in our records, please try again by generating a new link. " when trying to reset the password.

The thing is I can't see Security Pro anywhere in my "includes/application_top.php". In orther words I do not even know if I have Security Pro FWR (My site was put together for me about a year ago)

Please help! I just want to be able to reset password.

BTW Many thanks for the instructions ...this is my first time ever doing an upgrade & it seems it went well from 1 to 2 to 3

#73   omat

omat
  • Members
  • 3 posts
  • Real Name:Matt
  • Gender:Male

Posted 09 January 2013 - 03:49 PM

Harald resolved my problem. For anyone having the same issue...

Go to "password_forgotten.php" search that page for $reset_key_url and change the following part:

if ( strpos($reset_key_url, '&') !== false ) {
$reset_key_url = str_replace('&', '&', $reset_key_url);
}

To:

if ( strpos($reset_key_url, '&amp;') !== false ) {
  $reset_key_url = str_replace('&amp;', '&', $reset_key_url);
}


..The fix is shown at link below
https://github.com/haraldpdl/website_library/commit/a78adcae8faf73e89cb52feacf3ff7bc2e27136e

#74   Procella

Procella
  • Members
  • 67 posts
  • Real Name:Timo Jensen
  • Gender:Male
  • Location:Ringsted, Denmark

Posted 10 January 2013 - 10:30 PM

View PostJuto, on 07 January 2013 - 11:28 PM, said:

Hi, Timo, open up your Danish languages files and just resave them in utf-8 encoding. I think they are ANSI encoded.
Sara

Finally figured it out.
Thank you so much for helping a novice in this aspect.
I installed notepad++ (dont know how i survuved this long without). You are right, it was ANSI, Now Ansi with UTF8, And it works.
I didnt figure out how to change the encoding, but i copied the content from the original, created a new UTF8 document and pasted to it, Saved it over the original file. Now on to the rest of the files.....
Timo Jensen

#75   Pmartin

Pmartin
  • Members
  • 1 posts
  • Real Name:Paul

Posted 11 January 2013 - 06:25 PM

Good morning. I downloaded V2.3.2 to my desktop expecting an *.exe file to be in the folder. There isn't one. How do I upgrade to 2.3.2. I'll need to upgrade to V3.2.3 after that as well since the tempalte I'm purchasing requires it. Any help qwould be most appreciated.

Paul

#76   Gergely

Gergely
  • Community Team
  • 553 posts
  • Real Name:Gergely Tóth
  • Gender:Male

Posted 11 January 2013 - 06:51 PM

@Pmartin

"I downloaded from my bank website the money info, but how can I put into my suitcase?" :thumbsup:

osCommerce is not a windows application. osCommerce need webserver with PHP interpreter so you need install by hand. Look into the zip file.
Header Footer Content Modules
SCM
v3

and some rewrites :-)