Hello,
I am trying to upload large video files on my server using the Ray Video Player facilities offer through your platform. All the settings are made accordingly (post_max_size and upload_max_size in php are set to 1024MB and so the execution time was increased to 3600s, a hour).
Everything is going well, the upload succeds and the file is pending for conversion and after a while I receive an email in the admin account. The content is below:
Database error in <site name>
Query:
SELECT 1 FROM RayMovieFiles WHERE Uri = '<movie name>' LIMIT 1
Mysql error:
MySQL server has gone away
Found error in file <website root>/inc/utils.inc.php
at line 743. Called db_arr function
with erroneous argument #0
Debug backtrace:
Array
(
[1] => Array
(
[file] => <website root>/inc/db.inc.php
[line] => 104
[function] => db_res
[args] => Array
(
[0] => SELECT 1 FROM RayMovieFiles WHERE Uri = 'movie name' LIMIT 1
[1] => 1
)
)
[2] => Array
(
[file] => <website root>/inc/utils.inc.php
[line] => 743
[function] => db_arr
[args] => Array
(
[0] => SELECT 1 FROM RayMovieFiles WHERE Uri = 'movie name' LIMIT 1
)
)
[3] => Array
(
[file] => <website root>/inc/utils.inc.php
[line] => 718
[function] => uriCheckUniq
[args] => Array
(
[0] => <movie name>
[1] => RayMovieFiles
[2] => Uri
)
)
[4] => Array
(
[file] => <website root>/ray/modules/movie/inc/customFunctions.inc.php
[line] => 13
[function] => uriGenerate
[args] => Array
(
[0] => movie name
[1] => RayMovieFiles
[2] => Uri
[3] => 255
)
)
[5] => Array
(
[file] => <website root>/ray/modules/movie/inc/actions.inc.php
[line] => 188
[function] => genUri
[args] => Array
(
[0] => <movie name>
)
)
[6] => Array
(
[file] => <website root>/ray/XML.php
[line] => 42
[args] => Array
(
[0] => <website root>/ray/modules/movie/inc/actions.inc.php
)
[function] => require_once
)
)
Called script: /ray/XML.php
Request parameters:
Array
(
[module] => movie
[action] => initFile
[id] => 1
[_t] => 10750147
[description] => <movie description>
[tags] => <movie tags>
[title] => <movie name>
[memberID] =><member ID>
[memberPassword] => <member password>
)
--
Auto-report system
Can you please tell me what do I need to do in order to be able to upload big video files on my portal?
Thank you,
Emanuel