Pic Upload

Author Message

Mark Mollerus

Wednesday 16 November 2005 2:27:12 pm

Hello,

since a few days, my ez-system generate a false URL, if i upload a pic.

The System generate the URL:
...index.php/news_admin/content/edit/297/1//#content-relation-items

The correct URL is:
index.php/news_admin/content/edit/297/1/#content-relation-items

If i delete the last "/" and press enter, i get the right site: The Article with the new Pic.

How i can fix this Problem?

Greetings
Mark

Ɓukasz Serwatka

Wednesday 16 November 2005 2:30:50 pm

Which version of eZ publish do you use?

This problem was solved some time ago, you can upgrade to one of newest version.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Mark Mollerus

Wednesday 16 November 2005 2:38:23 pm

3.6.0 and 3.6.1

i use 2 versions on two projects, and both have this prob

kracker (the)

Wednesday 16 November 2005 3:03:27 pm

I've seen this problem with eZ publish before!

In my travels with eZ publish 3.4 & 3.6.x (latest available at the time) and apache2 (version 2.x.++) on several different servers and server configurations.

It took 4 hours (at least) of eZ systems support to come up with the following (below) and they passed it off as server configuration problem :P

So I wrote about it a bit too just in case someone else found themselves looking through my eyes on this `negtive feature`.

http://lists.ez.no/pipermail/sdk-public/2005-May/001279.html
http://www.ez.no/bugs/view/6674
http://snippets.ezcommunity.net/ezpublish_faq_server_ezurl_and_apache2
http://download.ezcommunity.net/ezsolutions/ezurloperator_apache2

<i>still?
//kracker</i>

<b>Linkin_Park_-_Meteora_-_11_-_Nobody's_Listening</b>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Mark Mollerus

Friday 18 November 2005 4:01:29 pm

ok, but the problem is ther since a few days ... and nothing has change on the server ... 2 weeks ago this problem was not there ... i have upload pics with no probs.

kracker (the)

Friday 18 November 2005 5:32:33 pm

Hey,

Those are the exact same symptoms I encountered.
I bet you don't have a working back up either?
The client in my case didn't have one either :\

<smirk /> Who do you host with, what version of apache do you use?

Have you even tried to fix the one part of eZ publish which is responsible the creation of the trailing slash, as my references point out?

As lame as it really is (I know I was there), I don't think I would hold my breath on this one, you can patch it but I doubt it will go away on it's own.

//kracker
<i>Philip Glass - Einstein on the beach -- Knee play 1 & 4</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

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 00:09:07
Script start
Timing: Jan 19 2025 00:09:07
Module start 'layout'
Timing: Jan 19 2025 00:09:07
Module start 'content'
Timing: Jan 19 2025 00:09:08
Module end 'content'
Timing: Jan 19 2025 00:09:08
Script end

Main resources:

Total runtime0.7942 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.0234152.6250
Module start 'layout' 0.00790.0027 741.648439.4297
Module start 'content' 0.01060.7821 781.0781622.6172
Module end 'content' 0.79270.0015 1,403.695316.8203
Script end 0.7942  1,420.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4481160.0002
Check MTime0.00160.1977160.0001
Mysql Total
Database connection0.00140.172910.0014
Mysqli_queries0.717590.3375680.0106
Looping result0.00080.0998660.0000
Template Total0.756295.220.3781
Template load0.00220.282820.0011
Template processing0.753994.928320.3770
Template load and register function0.00020.027010.0002
states
state_id_array0.00160.201110.0016
state_identifier_array0.00140.173920.0007
Override
Cache load0.00200.2507470.0000
Sytem overhead
Fetch class attribute can translate value0.00080.101630.0003
Fetch class attribute name0.00200.253680.0003
XML
Image XML parsing0.00170.207930.0006
class_abstraction
Instantiating content class attribute0.00000.003190.0000
General
dbfile0.00170.2111260.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs