Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new install: Fatal error: Uncaught Error: Call to a member function close() #1621

Closed
gdulli111 opened this issue Apr 3, 2019 · 3 comments
Closed
Labels

Comments

@gdulli111
Copy link

Hi,

I just install it on hostgator shared hosting and when i activate the live plugin and click on live instead of seeing the live setting page I am getting this error message not sure what is wrong I didn't understand any help will be much appreciated, anyone please ?

Here is the error copied it.

Warning: mysqli_stmt_bind_result() expects at least 2 parameters, 1 given in /home2/gdulli101/public_html/stream/objects/mysql_dal.php(354) : eval()'d code on line 1

Fatal error: Uncaught Error: Call to a member function close() on null in /home2/gdulli101/public_html/stream/objects/mysql_dal.php:185 Stack trace: #0 /home2/gdulli101/public_html/stream/plugin/Live/Objects/LiveTransmition.php(102): sqlDAL::close(false) #1 /home2/gdulli101/public_html/stream/plugin/Live/Objects/LiveTransmition.php(115): LiveTransmition::getFromDbByUser(1) #2 /home2/gdulli101/public_html/stream/plugin/Live/index.php(76): LiveTransmition::createTransmitionIfNeed(1) #3 {main} thrown in /home2/gdulli101/public_html/stream/objects/mysql_dal.php on line 185

@d0773d
Copy link

d0773d commented Apr 4, 2019

Did you press the "Install Tables" button? Make sure to press that button after enabling the plugins.

Also, You may want to switch to a VPS. Shared hosting has limited resources to run a video hosting script. Especially if you want to encode the uploaded videos. I'm not sure if you will be able to run FFMPEG which the encoder requires.

@gdulli111
Copy link
Author

gdulli111 commented Apr 4, 2019

Hi Thank you for the replay i am able to access the live streaming setting now, I am using my own wowza stream engine, at the moment i mainly just trying to get the live streaming running for testing purpose on the live stream plugin i have entered my rtmp server details and i have tested for example checking is the stream is working with vlc and it does but on the script i cant sims to see the stream via the player, on the player i keep seeing the following error

the media could not be loaded, either because the server or network failed or because the format is not supported. if you like to check here is the site link http://chatmedia.ml user is admin, password is 123 when you login click on the LIVE on top and try streaming something an see if its comes through not sure what i may be doing wrong "this is just a temp server to get familiar with the settings and check everything working"

and on the live plugin setting i understand the server field is for the rtmp server address but i didnt understand what it meant for the playerServer field is that the same has the rtmp server address or something else.

Thank you again really appreciate the help

@stale
Copy link

stale bot commented Apr 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 8, 2020
@stale stale bot closed this as completed Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants