Problem with very long links

Author Message

Helle Andersen

Friday 21 October 2005 2:57:57 am

eZ appearently does not accept very long links (which I need to use since they relate to our libarry system). Is there a way to change the length og charecters allowed for links ?
Helle

Marko Žmak

Saturday 22 October 2005 4:13:51 pm

Maybe if you give a little bit more details about your problem, someone could help you. Where exactly do you have problems with long links? With the ezurl() operator or somewhere else?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Helle Andersen

Sunday 23 October 2005 11:49:31 pm

The problem occurs when you in a xml field (with or without the editor enabled) tries to make a very long link - the end characters are simply erased.
In fact the same occurs if you in other datatypes tries to insert long texts, e.g. in an enum datatype in a class.

Bruce Morrison

Monday 24 October 2005 12:25:25 am

Hi Helle

I'm guessing the URLs are longer than 255 characters? The (mysql) database field where these are stored (ezurl.url) is a varchar(255), so there is a 255 char limit on URLs.

I suspect you may be able to convert this to a text field to allow for a larger URLs.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Helle Andersen

Thursday 27 October 2005 12:05:21 am

Thanks - works fine
Helle

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 09:13:45
Script start
Timing: Jan 19 2025 09:13:45
Module start 'layout'
Timing: Jan 19 2025 09:13:45
Module start 'content'
Timing: Jan 19 2025 09:13:45
Module end 'content'
Timing: Jan 19 2025 09:13:45
Script end

Main resources:

Total runtime0.0253 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 589.1563152.6250
Module start 'layout' 0.00760.0042 741.781339.4453
Module start 'content' 0.01180.0107 781.226693.3203
Module end 'content' 0.02250.0027 874.546934.3047
Script end 0.0252  908.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.9355140.0002
Check MTime0.00124.6442140.0001
Mysql Total
Database connection0.00103.874410.0010
Mysqli_queries0.003313.198730.0011
Looping result0.00000.083010.0000
Template Total0.00228.910.0022
Template load0.00104.040510.0010
Template processing0.00124.843310.0012
Override
Cache load0.00072.932010.0007
General
dbfile0.00031.381180.0000
String conversion0.00000.043440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs