Video Upload Problem
- Single Page
Posted 22 June 2012 - 12:31 PM
I am using the following code to create a video gallery on my website:
function videos()
{
$crud = new grocery_CRUD();
$crud->set_table('videos');
$crud->set_relation('VideoGalleryID','videogalleries','VideoGalleryName');
$crud->display_as('VideoGalleryID','Video Gallery')
->display_as('VideoPath','Video')
->display_as('VideoBrief','Video Brief');
$crud->set_subject('Videos');
$crud->set_field_upload('VideoPath','assets/uploads/files');
$output = $crud->render();
$this->view_page("crud_page",$output, "Videos");
}
The function view_page is displaying the content of $ouput in a template (header.php and footer.php) files.
I am facing a problem in the video upload, when I add a new video file the progress percent gets complete and then no error message comes but the file doesn't get uploaded. I checked the configuration files, the file size and format was correctly configured.
Attached is the screen shots of the issue with explanation.
Thanks in advance for your support!
Posted 22 June 2012 - 12:42 PM
Posted 22 June 2012 - 22:12 PM
Thanks.
Posted 22 October 2012 - 15:20 PM
What should I do??!!
Posted 14 November 2012 - 10:18 AM
I am also facing same problem. In my case, it is pdf document. I checked on server...max upload file size limit is 16MB and my document is 12.3MB . I have set directory to 777. But after completion I get no alert of errors ... jus blank like in image uploaded by aemalsayer
Posted 16 November 2012 - 08:14 AM
Posted 16 November 2012 - 08:32 AM
Try change the .htaccess file.
add this strings
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 0
php_value max_input_time 0
Posted 16 November 2012 - 09:33 AM
Posted 16 November 2012 - 09:34 AM
Posted 16 November 2012 - 09:37 AM
where should I put your code?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ELC_traning/ELC_Admin/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
Posted 16 November 2012 - 09:38 AM
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 0
php_value max_input_time 0
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ELC_traning/ELC_Admin/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
Posted 16 November 2012 - 09:40 AM
AddDefaultCharset utf-8
php_value upload_max_filesize 2000M
php_value post_max_size 2000M
php_value max_execution_time 0
php_value max_input_time 0
php_flag magic_quotes_gpc off
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|public|images|plugins|files|admin_files|sliders|auth_files|videos|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
this is my .htaccess
Posted 16 November 2012 - 09:46 AM
Posted 16 November 2012 - 13:44 PM
AddDefaultCharset utf-8
php_value upload_max_filesize 2000M
php_value post_max_size 2000M
php_value max_execution_time 0
php_value max_input_time 0
php_flag magic_quotes_gpc off
RewriteEngine on
RewriteBase /ELC_traning/ELC_Admin/
RewriteCond $1 !^(index\.php|public|images|plugins|files|admin_files|sliders|auth_files|videos|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I have
[b] Object not found![/b]
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the [email="postmaster@localhost"]webmaster[/email].
[b] Error 404[/b]
localhost
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
Posted 16 November 2012 - 13:46 PM
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 0
php_value max_input_time 0
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ELC_traning/ELC_Admin/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
Posted 01 February 2013 - 15:13 PM
what should i do?
Posted 10 February 2016 - 21:05 PM
i have the same problem... but i need upload small file!! please.. help
My php.ini and crocery_crud.php they are already set.