Forums / Developer / Public Access on Multimedia File

Public Access on Multimedia File

Author Message

Sergi A

Thursday 08 April 2010 11:50:38 pm

Hi all,

i have uploaded a file on the multimedia section as an administrator. I need this file to be public; it is a kml file which allows to display a borders map on a GMap container... it works when i'm logged in the site but I need the file to be reachable for an anonymous user.

When I try to display the map and i'm not logged in, any map is shown. When I try to access the file directly typing the URL, and not logged in, an ez forbidden error is displayed.

Thanks,

Sergi.

Doug Brethower

Friday 09 April 2010 6:40:42 am

Go to your uploaded file and set it into edit mode.

In the left pane is a Section setting.

If the section setting is set to "Media" and access to the Media section is restricted, that could be the problem.

Try changing the Section setting to "User" or "Standard" to see if anonymous users may then access it.

You may have to clear the cache to propagate the change.

Doug Brethower
Apple Certified Technical Consultant, Southwest, MO USA
http://share.ez.no/directory/companies/lakedata.net

Sergi A

Monday 12 April 2010 12:25:56 am

Changing the file section to Standard worked perfectly, thanks a lot!

Nicolas Pastorino

Monday 12 April 2010 1:05:26 am

Thanks Doug for giving the solution on a plate so quickly !

@Sergi: you may want to mark the topic as solved ! (small ticker right to the left of the topic's title above)

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Sergi A

Tuesday 13 April 2010 12:53:01 am

"

Thanks Doug for giving the solution on a plate so quickly !

@Sergi: you may want to mark the topic as solved ! (small ticker right to the left of the topic's title above)

Cheers !

"

Done!

Nicolas Pastorino

Tuesday 13 April 2010 3:48:04 am

Rocks :)

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

eZ debug

Timing: Jan 18 2025 00:00:36
Script start
Timing: Jan 18 2025 00:00:36
Module start 'content'
Timing: Jan 18 2025 00:00:38
Module end 'content'
Timing: Jan 18 2025 00:00:38
Script end

Main resources:

Total runtime1.4276 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.0096 587.7188180.8281
Module start 'content' 0.00961.2658 768.5469615.9688
Module end 'content' 1.27540.1521 1,384.5156337.0547
Script end 1.4275  1,721.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3002210.0002
Check MTime0.00150.1076210.0001
Mysql Total
Database connection0.00100.068410.0010
Mysqli_queries1.343294.08782050.0066
Looping result0.00210.14902030.0000
Template Total1.392897.620.6964
Template load0.00180.126220.0009
Template processing1.391097.431920.6955
Template load and register function0.00020.013110.0002
states
state_id_array0.00080.053910.0008
state_identifier_array0.00160.112120.0008
Override
Cache load0.00170.1173310.0001
Sytem overhead
Fetch class attribute can translate value0.00150.106640.0004
Fetch class attribute name0.00180.125780.0002
XML
Image XML parsing0.00130.092640.0003
class_abstraction
Instantiating content class attribute0.00000.001590.0000
General
dbfile0.00430.3037340.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs