Hi all,
I am fairly new to all this and despite 2 days of searching the forum, trying, testing and failing, I am still unsure how to enable my chat room to have cams.
I have attempted to follow posts regarding this issue, but alas my knowledge is pretty basic, so I seem to be missing something. (I've submitted a ticket to my Hosting site, but as usual, I still haven't had a reply after 2 days.)
I am also not sure how to go about the process of allowing video uploading. Again, I have been trying, but so far no luck.
I am hosted with OCC Hosting, using WebShell and have Dolphin 7.0
Any advice would be much appreciated. Thanks in advance, Alison
|
You need the RMS (media server) either installed by your host, or using one provider by a third party. Then you need to go into the admin and into the flash apps and enter the IP for RMS and any other bits. Without RMS, no video cams.
Video uploading is handled by FFmpeg and that comes with Dolphin. Allowing video uploading is handled by membership levels.
Geeks, making the world a better place |
Thanks for your reply.
I'm still awaiting a reply from my hosting service regarding RMS media server.
I have tried to upload a video and it appears to be stuck in "pending".....
Do I need to enable or configure FFMpeg? If so, how?
Thanks, Alison
|
Contact your host on the "pending" issue and have them check the cron job to make sure it is correct. The corn job that the install lists is not always correct for your particular set-up. If you have the cron job set to send you an email when it runs; and you are not getting emails when trying to upload videos; you will see the report from FFmpeg on how the video processed and if there was an error connecting to the database. Geeks, making the world a better place |
I've set up my cronjob on my hosting site. Unfortunately I cant seem to get the "command" right.
I have tried a few options... the closest I've got is as follows...
/hsphere/local/home/user/website.com/periodic/cron.php
and I get the following email report...
/hsphere/local/home/user/website.com/periodic/cron.php: line 1: ?php: No such file or directory /hsphere/local/home/user/website.com/periodic/cron.php: line 2: /***************************************************************************: No such file or directory /hsphere/local/home/user/website.com/periodic/cron.php: line 3: Badge_files: command not found /hsphere/local/home/user/website.com/periodic/cron.php: line 4: Badge_files: command not found /hsphere/local/home/user/website.com/periodic/cron.php: line 5: Badge_files: command not found /hsphere/local/home/user/website.com/periodic/cron.php: line 6: syntax error near unexpected token `(' /hsphere/local/home/user/website.com/periodic/cron.php: line 6: `* copyright : (C) 2006 BoonEx Group'
|
We can not help you with the exact cron job to use. Put in a ticket with your hosting company and they can help you; ask them to look at your cron job; and paste the current cron job you are using into the ticket. Geeks, making the world a better place |
Ok, thanks for all your help :) |
Hi all,
Well my hosting people were as useful as a chocolate fireguard!
There response was -
Hello
Login to your Control Panel Select FTP / FTP user / crontab
please click on the "i" for information to assist you
if problem continue s - please share exactly what you are entering
So, I'm still none the wiser, the "i" says this...
The "sixth'' field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (), will be changed into newline characters, and all data after the first % will be sent to the command as standard input.
Please, can anyone advise me the correct way of writing the command for my cronjob to enable video upload.
This is how I've tried to set up my command line... can anyone advise me where I'm going wrong?
/hsphere/local/home/user/website.com/periodic/cron.php
Many thanks,
Alison :)
|
Are you on a VPS, Dedicated, or Shared?
The problem is that we don't know your server setup. If you are on an unmanaged VPS or Dedicated, then yes, your host is not going to be of much help.
find out where php is located, it might be in /usr/bin/php or something similar; it depends on your server and I can not tell you where. You might could just use php without a path.
The cron job depends on where you are in the server.
try this and see what happens.
php -q /path to periodic/cron.php
php -q /hsphere/local/home/user/website.com/periodic/cron.php
Geeks, making the world a better place |
Hi,
Ok, hands-up I have no idea. Everything I'm doing is self taught and I'm struggling with understanding the whole "cron" thing. I've read as much as I can but I'm still none the wiser.
I am using WebShell and can set the date/time part, but I cannot get the correct command written.
My hosting site have suggested the following:
/hsphere/shared/php5/bin/php -q /hsphere/local/home/ftp-login-name/scriptpath/script.php
That's is exactly as they wrote it.
Now I realise that I need to change ftp-login-name to Crimson (my login name)
But I am unsure which other parts need altering. I am unsure where I am supposed to be pointing the command to. Also I have read you have to write one continuous line, but they have written two......
Also do I need to alter/add any files in addition?
Thanks in advance!
Alison
|
It is a shame that your web host is not willing to write the command for you as they can tell you exactly how to do it; I am guessing that you are on unmanaged and they feel that they have no obligation to help you.
OK, try this:
/hsphere/shared/php5/bin/php -q /hsphere/local/home/user/website.com/periodic/cron.php
As I said, I don't know the paths on your server. You have to have the correct paths or it won't work. Some ftp clients will let you right click on a file and copy the path to that file. so, ftp in, find the cron.php file in your dolphin directory and copy the path if your client will do that.
OK, missed a part so editing my reply. Also try this:
/hsphere/shared/php5/bin/php -q /hsphere/local/home/ftp-login-name/periodic/cron.php
We are just guessing here; you need to do a little work and make sure of the paths.
Geeks, making the world a better place |
Hi,
Ok, hands-up I have no idea. Everything I'm doing is self taught and I'm struggling with understanding the whole "cron" thing. I've read as much as I can but I'm still none the wiser.
I am using WebShell and can set the date/time part, but I cannot get the correct command written.
My hosting site have suggested the following:
/hsphere/shared/php5/bin/php -q /hsphere/local/home/ftp-login-name/scriptpath/script.php
That's is exactly as they wrote it.
Now I realise that I need to change ftp-login-name to Crimson (my login name)
But I am unsure which other parts need altering. I am unsure where I am supposed to be pointing the command to. Also I have read you have to write one continuous line, but they have written two......
Also do I need to alter/add any files in addition?
Thanks in advance!
Alison
Hi Alison,
There are some topics and notes you might want to read and get a better feeling about Dolphin and cron jobs..
Zarcon:
http://www.boonex.com/forums/topic/Cron-Jobs-Migrations-Videos.htm
http://www.boonex.com/n/Troubleshooting_Dolphin_Videos_Migrations_RMS
Boonex:
http://www.boonex.com/trac/dolphin/wiki/TutorialCronJobSetup
ManOfTeal.COM a Proud UNA site, six years running strong! |
I am fairly new to all this and despite 2 days of searching the forum, trying, testing and failing, I am still unsure how to enable my chat room to have cams.
Please PM your site URL and you can test/use my RMS to troubleshoot your problems.
ManOfTeal.COM a Proud UNA site, six years running strong! |
PM'd thanks :)
As per $dir['root'] /inc/header.inc.php I am to use the following... /hsphere/local/home/crimson/cumchatcam.com/
So far I have tried the following commands...
*****/usr/local/bin/php-q/hsphere/local/home/crimson/cumchatcam.com/periodic/cron.php
*****/usr/bin/php-q/hsphere/local/home/crimson/cumchatcam.com/periodic/cron.php
*****/usr/bin/php-c/hsphere/local/home/crimson/cumchatcam.com/periodic/cron.php
All emails report "file/folder not found.
|
Finally got hold of my hosting ppl and they now tell me that for RMS I need to take out a bank loan. So unless I am unable to figure a way around so I can upload videos and have av chat, then this may be where it all ends :( |
As stated before, you do not need RMS to upload videos. You do need it for video chat though. Also, looking at the cron statements above, I hope you have some spaces in there. Its not meant to be a single command. For example it should look something like this:
***** /usr/bin/php -q /hsphere/local/home/crimson/cumchatcam.com/periodic/cron.php
Note the spaces between the *****, the -q, and the /hsphere/local/home/crimson/cumchatcam.com/periodic/cron.php
Nothing to see here |
PM'd thanks :)
Your setup and should be good for video chat..
ManOfTeal.COM a Proud UNA site, six years running strong! |
I meant for you to COPY the examples I gave you; which does have spaces, and then change the bits to match your actually paths.
You may not want to hit the cron job every minute; unless you have confirmed with your provider that it is OK for you to run the cron every minute. I know shared hosts usually frown on short durations.
I have no idea how you are setting up your cron job. I am on a VPS and had problems until I realise I had to make sure the user running the cron job had permissions to access the directory containing cron.php.
By the way, the Dolphin cron job actually runs several cron jobs located in your Dolphin database.
Geeks, making the world a better place |
Thanks Geek_girl and Zarcon - you see, it's the simple things that I've missed..... almost unnoticeable spaces, I will try again, now I have fully understood and taken on board your advice. Thanks :) |