osCmax v2.5 User Manual
Results 1 to 8 of 8

Special characters + SEO urls

This is a discussion on Special characters + SEO urls within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi, I have a one year experience with oscommmerce. I decided to try oscmax, because I wasn't satisfy with the ...

      
  1. #1
    New Member
    Join Date
    Dec 2007
    Posts
    20
    Rep Power
    0


    Default Special characters + SEO urls

    Hi,

    I have a one year experience with oscommmerce. I decided to try oscmax, because I wasn't satisfy with the design of my actual shop and I want to start back from scratch. Oscmax looks to be a good base, especially for me with the BTS option .
    I installed it on a free domain for test. Everything's ok except when I switch to the Hungarian language. I'm French but working in Budapest... It took me ages to translate and debug the file in Hungarian (the Hungarian view of an open source program is very special, I mean nobody will share his work here... . Anyway, I don't post to criticize...)

    All the website is ok regarding the Hungarian characters except the categries and products in the menu. And when I click on a categorie, it bugs. I knew that ultimate 2.0 doesn't like so much special charatcers so I decided to upgrade the seo URLs to 2.2 which have a special character conversion option embedded. But still bugging with seo urls 2.2 .
    I took care to upload all the Hungarian files in UTF8, my database is in UTF8 as well.

    Here the url of my test-shop: Webáruház : Üdvözöljük Internet Áruházunkban ! (It looks that this forum doesn't like special characters as well )

    Thank you for your help!

  2. #2
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: Special characters + SEO urls

    You have a problem on this file:

    -----
    rning: Cannot modify header information - headers already sent by (output started at /home/dreambox/public_html/dreamcard/includes/languages/add_ccgvdc_hungarian.php:1) in /home/dreambox/public_html/dreamcard/includes/classes/seo.class.php on line 1996
    -----

    You probably left some returns/empty space before the <? at the beginning or after the ?> at the end of the file.

    From what I see now (my browser also won't fully support your characters) you do not even have Ultimate SEO URL running, you are using that cpath thing. On SEO URL config you can translate characters, I am not sure it came by default with OSCMAX, but I did also upgrade to the latest version of SEO URL because the one that came with OSCMAX RC2 would not SEO article pages.

    With the upgraded version I have extra options on the configuration menus, one of them being "enter special character conversions", where I have set "=>n". That way ""s on my URLs get replaced with "n"s.

    There is also an option "remove all non-alphanumeric characters" option that I have to false that might help you.

  3. #3
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: Special characters + SEO urls

    Mmmh note, the file where you have a problem is:

    /home/dreambox/public_html/dreamcard/includes/languages/add_ccgvdc_hungarian.php

    You might have left some garbage in there when translating.

  4. #4
    New Member
    Join Date
    Dec 2007
    Posts
    20
    Rep Power
    0


    Default Re: Special characters + SEO urls

    Thank you for your answer!

    The problem is not in the add_ccgvdc_hungarian.php
    No return or space. Nor in seo.class.php, I think.

    I think the format looks to be the key of the problem.
    For exemple, there is no problem with the french characters and I checked the format of those files with pspad:
    french.php: unix, ansi
    fench/index.php: unix, ansi

    hungarian.php: unix, utf8
    hungarian/index.php: unix, utf8

    When I switch hungarian.php and hungarian/index.php to ansi, every characters of the frontpage are bugging.
    I don't understand the logic, why french characters are appearing correctly and not hungarian...
    Ultimate are running now, U can check in English, the urls are corrcect!

    I'm still trying to find the solution... I will let you know...
    Last edited by antoinebp; 12-02-2007 at 11:27 PM.

  5. #5
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: Special characters + SEO urls

    Ultimate SEO URL is NOT running now, and if it is, it is not working ok.

    Your URLs as I see them:

    http://www.dreambox-cardsharing.com/index.php?cPath=1 -- category
    http://www.dreambox-cardsharing.com/index.php?cPath=1_5 -- subcategory
    http://www.dreambox-cardsharing.com/...&products_id=1 -- same item
    http://www.dreambox-cardsharing.com/...?products_id=1 -- item


    I still think there is an error somewhere in /home/dreambox/public_html/dreamcard/includes/languages/add_ccgvdc_hungarian.php , just to make sure I would remove it and copy it from add_ccgvdc_english.php (or whatever)

  6. #6
    New Member
    Join Date
    Dec 2007
    Posts
    20
    Rep Power
    0


    Default Re: Special characters + SEO urls

    Yes but if you switch the language into French or English, you will have url like this:
    Hdrokultra : Webáruház

    But you're wright, in hungarian, urls are bugging.

  7. #7
    New Member
    Join Date
    Dec 2007
    Posts
    20
    Rep Power
    0


    Default Re: Special characters + SEO urls

    It looks like I solved (but not understood ) the problem:

    All the files in my hungarian folder was in utf8 and it was bugging.
    In the French folder files was in ansi and it wasn't bugging.
    So I convert all the hungarian files in ANSI and it works like this. but why?
    I don't know because people use to say that utf8 is the best format for special characters.
    Anyway the mean point is that my shop is working now. But if somebody has a valuable explanation, I will be plesed to read it

    One more time thank you MindTwist for participating to my post.

  8. #8
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: Special characters + SEO urls

    Glad you solved it... but again, you still do NOT have SEO URL working on your store.

Similar Threads

  1. Prevent illegal or problematic file name characters from uploading
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-14-2007, 03:51 PM
  2. Search with Turkish Characters
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-01-2007, 12:00 PM
  3. Admin orders - Display more characters in Model# field??
    By JonCloud420 in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 10-19-2006, 08:06 PM
  4. conflicting Text Characters html and php
    By anthon in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 11-11-2004, 09:35 PM
  5. Trim the last 3 characters from a string?
    By seank123 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-06-2004, 05:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •