Removing index.php? stops flash working...

Author Message

Neo Pixel

Tuesday 12 January 2010 1:33:21 am

Hi,

I'm running ezpublish 4.2 with the ezwebin extension.

When I forcevirtualhost and remove the index.php? with a htaccess file the flash player stops working.

It comes up with the error "no flash player available" eventhough it works fine with /index.php? in place.

Any ideas on how to fix this would be appreciated.

Asking stupid questions so you don't have to!

Pablo Pernot

Tuesday 12 January 2010 4:12:51 am

You probably need to check your RewriteRule. First look at the flash player url which is missing, then manipulate the .htaccess to make the rewrite rules work with the flash player. (sorry no time now to explain or add code).

Pablo Pernot
http://www.smartview.fr
http://www.areyouagile.com

Mingxing Chen

Thursday 14 January 2010 5:15:27 am

It seems something wrong with /content/download/.../*.swf

What about the issues below, are they useful for you?

http://share.ez.no/forums/developer/urls_content_download_in_a_object_tag_don_t_work

http://issues.ez.no/IssueView.php?Id=11458

/Mingxing

Shinetech is the leader in next generation global application outsourcing. Shinetech combines world class technical skills, recognized expertise in advanced development methodologies and industry experience to deliver results for global enterprises. Shinetech utilizes distributed Agile methods for rapid and precise systems development.
------------------------------------------------------------------------------------------
Blog: http://www.mingxing.me
Email: chenmx@shinetechchina.com

Neo Pixel

Monday 18 January 2010 12:45:08 pm

Hi Mingxing!

Ok I'll try some of their suggestions :)

Asking stupid questions so you don't have to!

Neo Pixel

Monday 18 January 2010 1:08:04 pm

Looks like they're all for version 3.9.3!

The rewriterule they suggested didn't work and editing the ezmedia.tpl looks complicated...

Any suggestions?

Asking stupid questions so you don't have to!

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 18 2025 03:05:45
Script start
Timing: Jan 18 2025 03:05:45
Module start 'layout'
Timing: Jan 18 2025 03:05:45
Module start 'content'
Timing: Jan 18 2025 03:05:46
Module end 'content'
Timing: Jan 18 2025 03:05:46
Script end

Main resources:

Total runtime0.6229 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0391152.6406
Module start 'layout' 0.00470.0026 740.679739.4922
Module start 'content' 0.00730.6144 780.1719602.2344
Module end 'content' 0.62180.0011 1,382.406316.4375
Script end 0.6229  1,398.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5206160.0002
Check MTime0.00130.2109160.0001
Mysql Total
Database connection0.00060.092810.0006
Mysqli_queries0.569091.3414650.0088
Looping result0.00060.0926630.0000
Template Total0.599196.220.2996
Template load0.00210.342620.0011
Template processing0.597095.840620.2985
Template load and register function0.00010.015710.0001
states
state_id_array0.00070.116210.0007
state_identifier_array0.00060.097520.0003
Override
Cache load0.00180.2873280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.111630.0002
Fetch class attribute name0.00100.157380.0001
XML
Image XML parsing0.00260.415430.0009
class_abstraction
Instantiating content class attribute0.00000.0024100.0000
General
dbfile0.00220.3576290.0001
String conversion0.00000.001140.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs