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/

eZ debug

Timing: Jan 18 2025 21:11:03
Script start
Timing: Jan 18 2025 21:11:03
Module start 'content'
Timing: Jan 18 2025 21:11:04
Module end 'content'
Timing: Jan 18 2025 21:11:04
Script end

Main resources:

Total runtime1.0844 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.6875180.8438
Module start 'content' 0.00790.9412 768.5313627.6953
Module end 'content' 0.94910.1352 1,396.2266337.7109
Script end 1.0843  1,733.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3978210.0002
Check MTime0.00160.1444210.0001
Mysql Total
Database connection0.00100.093410.0010
Mysqli_queries0.996791.92072050.0049
Looping result0.00220.20002030.0000
Template Total1.047496.620.5237
Template load0.00220.205120.0011
Template processing1.045296.385620.5226
Template load and register function0.00010.011910.0001
states
state_id_array0.00110.100310.0011
state_identifier_array0.00110.102220.0006
Override
Cache load0.00200.1821470.0000
Sytem overhead
Fetch class attribute can translate value0.00180.161540.0004
Fetch class attribute name0.00120.114380.0002
XML
Image XML parsing0.00160.148140.0004
class_abstraction
Instantiating content class attribute0.00000.003290.0000
General
dbfile0.00320.2986370.0001
String conversion0.00000.000630.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs