Forums / General / How to avoid accented words as directories?

How to avoid accented words as directories?

Author Message

Jorge estévez

Wednesday 15 October 2008 8:52:01 am

Hello,

The var directory has some directories (created for contents) that assume as their names accented words (the site, in Spanish has lost of classes with accented names) as this is usual I would like no to assume the same for directories due to incompatible issues that could arise in the future in different environments.

Any ideas, thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Andreas Kaiser

Wednesday 15 October 2008 3:59:53 pm

What do you mean exactly...

Classes are "created" in the database and can have accents, etc

eZ Publish creates in the var directory subdirectories for versioning of the images, etc using the name of the image and content tree, but it corrects the letters that could be an issue.

For example an image with the name "Imágen de un sueño" would be created inside the var directory as "Imagen_de_un_sueno"...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Jorge estévez

Wednesday 15 October 2008 8:14:56 pm

Thanks, I must have something wrong, some images are not created with al it's aliases (defined at the image.ini of my siteaccess), the debug says that the original one is missing, something that is not true, so I went out to the "var" to see what was happening, I found some strange names for directories. So I am trying to make some investigation to see if I get to the bottom of the problem.

When I add a folder in the admin named: "Artículos de mesa" it shows as a folder in the var directory as "artìculos-de-mesa", "Animación" turns out like "animación" (I really do not know if this example will be shown correctly here in the forum, but the idea is that directories are having characters not common to what they should have).

I just have run all clear-cache that I know of, even the updatecache extension.

Any ideas, gracias.

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Andreas Kaiser

Thursday 16 October 2008 1:32:44 am

Hi Jorge,

What version of ezp are you using? What server os? Check that in image.ini there is no error or accents...

I'm sure ezp 4.x has this conversion "feature", I also have checked a 3.9 install and it also converts the accents...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Jorge estévez

Thursday 16 October 2008 6:10:32 am

Hello

It was strange because my site was working just fine, I have found out that the names scrambled with strange characters are those of the diretories generated by an extension that uploads multiple files (coolzipimport), so I will check first if I am right before continuing writing (saving your time and mine), thanks, I will come back again.

By the way I am using ez 3.10

thanks!

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Ekkehard Dörre

Friday 17 October 2008 3:35:56 am

Hi Jorge,

first of all, as I wrote you in personal email at mid of September for 250,000 images better use a not browser based solution. There is a time out and upload limit. Use:

On command line (php-cli).
Björns import framework XML http://projects.ez.no/import
or Philipps data import XML http://projects.ez.no/data_import
and CSV: http://svn.ez.no/svn/extensions/csv/
and more info in the thread:
http://ez.no/developer/forum/developer/fantastic_csv_import_extension_who_owns_it/

But, since this extension uses standard eZ functions for image handling, and in German, there are many Umlaute like öäüÖÄÜß and it works in produktion use, there is something wrong with your installation.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Daniele Nocentini

Wednesday 20 May 2009 6:58:16 am

Hello!

I have the same problem with a ezpublish 4.0 installation, if I use a special char in a name of content node the image file name have the same name of content node and the browsers don't show the image.

Antica Bottega Digitale srl
http://www.abd.it

eZ debug

Timing: Jan 18 2025 18:21:31
Script start
Timing: Jan 18 2025 18:21:31
Module start 'content'
Timing: Jan 18 2025 18:21:32
Module end 'content'
Timing: Jan 18 2025 18:21:32
Script end

Main resources:

Total runtime0.7967 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 587.8359180.8203
Module start 'content' 0.00480.6619 768.6563671.8672
Module end 'content' 0.66680.1298 1,440.5234341.0625
Script end 0.7966  1,781.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4749210.0002
Check MTime0.00150.1877210.0001
Mysql Total
Database connection0.00060.072510.0006
Mysqli_queries0.716189.89232100.0034
Looping result0.00220.27262080.0000
Template Total0.772697.020.3863
Template load0.00220.271420.0011
Template processing0.770496.707120.3852
Template load and register function0.00010.016910.0001
states
state_id_array0.00090.112210.0009
state_identifier_array0.00070.088120.0004
Override
Cache load0.00180.2206430.0000
Sytem overhead
Fetch class attribute can translate value0.00180.225250.0004
Fetch class attribute name0.00090.1095100.0001
XML
Image XML parsing0.00190.242550.0004
class_abstraction
Instantiating content class attribute0.00000.0026110.0000
General
dbfile0.00420.5314390.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs