quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

Route matching error when slug generator is special characters. #134

Closed LeLuyen closed 8 years ago

LeLuyen commented 8 years ago

Have a bug with the slug generator when working with special characters.

Please fix it

botchris commented 8 years ago

Can you please provide an example of failing slug? and the error you are getting?

LeLuyen commented 8 years ago

Hi ChristopherCastro, When I type for content of title of an article as utf-8 character as 'Ối giời ơi', the system gives slug generator's url is ../es_Es/article/Ối-giời-oi.html

When I access to the ../es_Es/article/Ối-giời-oi.html address, The system informed "A route matching "/es_ES/article/%E1%BB%90i-gi%E1%BB%9Di-oi.html" could not be found"

botchris commented 8 years ago

Which version of QACMS are you using?, I did a new fresh installation using composer, and everything seems to work just fine:

captura

LeLuyen commented 8 years ago

Hi Chris,

I'm using QACMS version 2.0.0-beta2 with ubuntu OS 14.04, PHP 5.6 and mysql 5.6

What are the version of QACMS use by you?

Thanks you!

botchris commented 8 years ago

Ok, I think the version you are using is the problem. When you say "2.0.0-beta2" you mean this one?

I'm using the latest available (untagged), that is "dev-master"? Installed using composer:

composer create-project -s dev quickapps/website [website_name]

(Note the -s dev part)

LeLuyen commented 8 years ago

Hi Chris, Thank you for your information.

When you say "2.0.0-beta2" you mean this one? Yes. I got the latest source with composer command and test, it's not problem. Please close it. Thanks you!

LeLuyen commented 8 years ago

Hi Chris,

If use composer create-project -s dev quickapps/website [website_name] => not problem. If download from https://github.com/quickapps/cms/releases/tag/2.0.0-beta2 url. cd /var/www/html unzip 2.0.0-beta2.zip cd cms-2-0-0-beta2/vendor/quickapps/cms composer update Result for update is Server error(500) => have problem. How to get latest source with stable? Need to cd each plugin, after update, right?

botchris commented 8 years ago

You should always use Composer to get latest source and/or update. For instance, for create a clean installation using latest source code use:

composer create-project -s dev quickapps/website [website_name]

(Where [website_name] is the name of the directory you want composer to place the code)


To update current installation:

composer update