Multimedia content after chnage no working anymore

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jcools
Posts: 15
Joined: Tue 8. Jun 2004, 21:43
Contact:

Multimedia content after chnage no working anymore

Post by jcools »

When I add a Multimedia content in a page with an internal source file, you see the filename and it works fine.
When you edit the content again the internal source file gets an ID number.
If you then make an update or save&close the Multimedia content is not working anymore.

When you then change the ID number to the file again it works again.

Does somebody has a solution for this? :?

Regards,
John
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

Hi jcools,

Guessing that this will get resolved in next release. I think Oliver is well aware of this, and likely has a great fix and a 'them some' coming...since he is using the swc (component) tag for Flash storage. I have been unable to use wmv files as well (121).

Sorry I couldn't be of any help, perhaps others have figured out a fix of this in the meantime......would be most interested in such.

Cheers....
:)
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

try to turn off the caching of phpwcms in conf.inc.php

Code: Select all

$phpwcms["cache_timeout"]     = 0;    //default cache timeout setting in seconds - 0 = caching Off
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
jcools
Posts: 15
Joined: Tue 8. Jun 2004, 21:43
Contact:

Post by jcools »

thanks for the reply's.

When I trun off the caching the result is the same.
Internal number and not active anymore.

First time it works when you edit the content it gets an internal number again and it doesn't work anymore. Replace the internal ID with the real file again and it works.

Hopefully in a next release or patch this will be fixed.

Regards,
John
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

Would be nice if this bug / situation could be fixed. I am developing a site in 122 and just learned they want to include Flash video on the site. Since dev122 has this problem of working with multimedia content parts..looks like I have to go back to 1.1 and reconstruct the site.... Not looking forward to this... Only wish I had better luck fixing this....the code is pretty complex (at least for my level).....hoping that Oliver gets around to this.

....but unfortunately there are only 24 hours in a day..... :!:
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

Question, why not use one of the following methods...as a work around the bug

- include as HTML content part or
- use the {PHP:include/flash.file} tag.

hope this helps.

TriP
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

Hi Trip,

Yes, was thinking about various workarounds, and certainly that is a legitimate one.....might be able to pass a paramter to choose a given file and include width and height (is a requirement).....and then have the script output all the proper swf tags and so forth. Another option is to use html content part, place the code there and call a javasript popup window....script for movie controller (if needed) ...so I am weighing my options......

Just hoping the internal Wcms version can be fixed at some point.
I think OliG has a strategy in place, since he is saving swf's as swc's (components) in file manager

All the best to you in S Africa :D
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

jsw_nz wrote:All the best to you in S Africa :D
thanks, we're expecting a snow weekend just outside Cape Town!!!

TriP
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post by marcus@localhorst »

jsw_nz wrote: Just hoping the internal Wcms version can be fixed at some point.
I think OliG has a strategy in place, since he is saving swf's as swc's (components) in file manager
when i upload swf file into filemanager (over ftp) i can't see the swf in the filebrowser.
I've added
OR f_ext='swc' in line 192 filebrowser.php and it works now. but it's the same problem as described above, after editing contetpart there is the id and i need to include it again.

will this be fixed?
greetings
marcus
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi,

tested your problems to know about.

put flash as multimedia contentpart and get this when wanted to reedit:

Parse error: parse error, unexpected T_SL in /www/htdocs/xxxx/include/inc_lib/content/cnt9.takeval.inc.php on line 24

using 1.2.5 release and latest CVS update from 22.00 this day.

any hints?
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
Oliver Georgi
Site Admin
Posts: 9934
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

check your file - in line 24 is just a comment

maybe your CVS upgrade did something wrong...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply