Author Topic: Fatal error & video problem  (Read 13042 times)

0 Members and 1 Guest are viewing this topic.

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Fatal error & video problem
« on: January 12, 2006, 08:05:42 PM »
1.When go to my 4images section in my site it gives me this messege some times.
Quote
Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/afghanen/public_html/videos/includes/sessions.php on line 84

NOT always.
But after refreshing it works fine.
here is link of it
 http://www.afghanenter.rajhosting.com/videos


2. Secondly I have upload rm video on my site, it shows only RM thumbnail instead of video but the sound of video comes.
here is the link of that video
http://www.afghanenter.rajhosting.com/GreetingCards/details.php?image_id=7&sessionid=9aa9c07d99fc572da735caec85636c84
and this that media
http://www.afghanenter.rajhosting.com/GreetingCards/data/media/1/trrrrrrrr.rm

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error & video problem
« Reply #1 on: January 13, 2006, 12:21:53 AM »
1) if this error repeats, contact your host's administrator, something is wrong with the server.
2) try add in templates/<your template>/media/rm.html this:
Code: [Select]
<embed src="{media_src}"
type="application/x-pn-realaudio"
hidden="0"
autostart="1"
loop="0"
height="60"
width="275"
controls="ControlPanel,StatusBar,info">
</embed>
This is just an example, so I'd suggest you do a little research on the internet on how to play RealPlayer media on a webpage.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Fatal error & video problem
« Reply #2 on: January 13, 2006, 11:27:15 PM »
yes this script works, but it only veiws audio .
I could not find any thing on net.
could you change  this script that it can veiw video.

tnx in advance

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error & video problem
« Reply #3 on: January 14, 2006, 01:01:14 AM »
Sorry, I dont do RealPlayer *caught*crap*caught* so have no clue...
perhaps try use
Code: [Select]
type="application/x-pn-realvideo"
[EDIT]
The first search result on google by keywords real player web page html :
http://www.realnetworks.com/resources/samples/embedded.html
 :roll:
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Fatal error & video problem
« Reply #4 on: January 14, 2006, 02:39:04 AM »
... for showing videos ... it should be for controls ...
Code: [Select]
CONTROLS="ImageWindow,ControlPanel,StatusBar,info"
... or ...
Code: [Select]
CONTROLS="ImageWindow,ALL"
... and complete ...
Code: [Select]
<!-- Template file for Real Audio Files -->
<br><br>
<embed src="{media_src}"
TYPE="application/x-pn-realvideo"
WIDTH="320"
HEIGHT="320"
CONTROLS="ImageWindow,ALL"
CONSOLE="one"
AUTOSTART="true"
</embed>
<br><br>
... it works in the best way for rm-, ra-, smi-video-files ... test it here

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: Fatal error & video problem
« Reply #6 on: April 02, 2006, 12:53:41 PM »
Hi!

In my apache error.log I get this message:
Quote
File does not exist: /var/www/*****/html/*****/data/media/42/gangster_rocker.smi

This file only exists in *.wmv format!

Why is the client searching for this file in *.smi format?

Project offline

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error & video problem
« Reply #7 on: April 02, 2006, 08:40:56 PM »
perhaps its because your are trying to use wrong player? wmv is not related to realmedia (even though it could probably play it)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: Fatal error & video problem
« Reply #8 on: April 02, 2006, 09:37:29 PM »
As far as I know...

The browser of the client normaly should search the plugin of this player, which is defined as standard on the actual OS...

I think they (clients which want to open *.smi-files) have choosen real-player as standard who will open *.wmv as *.smi... :idea: :?: :!:

I´m not the only one who is getting this messages in error.log...

Project offline

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Fatal error & video problem
« Reply #9 on: April 02, 2006, 10:22:00 PM »
The browser of the client normaly should search the plugin of this player, which is defined as standard on the actual OS...
not unless its specifyed what kind of player it requires. If you wmv template is using the same code as for realmedia files, then no wonder.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: Fatal error & video problem
« Reply #10 on: April 02, 2006, 10:28:44 PM »
...well yes you are right... but I have two different files of this...

I´ve found something http://www.clickandgovideo.ac.uk/captions2.htm but this will use (it is) a program...

Project offline