CMS MADE SIMPLE FORGE

AVPlayer

 

[#5981] Address error in FLV template

avatar
Created By: Mathieu Muths (airelibre) (airelibre)
Date Submitted: Tue Jan 11 04:15:32 -0500 2011

Assigned To: mw (mwoods)
Version: None
CMSMS Version: None
Severity: Critical
Resolution: None
State: Open
Summary:
Address error in FLV template
Detailed Description:
Hi,

There is an error in the "final_default" template. The address of the FLV file
results in : "http://http://www..." because there is "http://{root_url}"

Thanks


History

Comments
avatar
Date: 2011-05-18 09:32
Posted By: manuel (manuel)

In my case the {$root_url} remained empty so I would get http:///uploads/...
URL's...

I replaced {$root_url} with {$smarty.server.SERVER_NAME} and it's working fine
now :)

Greetings,
Manuel
      
avatar
Date: 2012-01-19 14:04
Posted By: Dominik Lenné (dlen)

Hello,

the template "final_default" is somehow written by the PHP files
method.install.php and method.upgrade.php.

This creates in the filename-string of the player call something like
"http:///andsoon...".

Here, the string "{$root_url}" has to be replaced by "{root_url}" to get the
template right during installation.

After installation, this replacemant can of course be done in said template.

Greetings, Dominik
      
avatar
Date: 2012-01-19 14:47
Posted By: Dominik Lenné (dlen)

I am afraid I made a mistake. Not the string 

{$root_url}

 hat to be replaced, but the string 

http://{$root_url}

. Otherwise 2 "http://" are created as above mentioned.

Dominik