• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] An error after uploading

Started by setul34,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

setul34Topic starter

Hi,

after i upload any video file and when my upload finish i m getting this error.

  •  

setul34Topic starter

CAN ANYONE HELP ME TO SORT OUT THIS PROBLEM !
  •  

Marius

I need the error log, else I can't tell what's throwing the error 500
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

setul34Topic starter

[Thu Oct 17 22:20:19 2013] [alert] [client xx.xx.xx.xxx] /home/vidtube/public_html/uploads/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.vidtube.me/share
[Thu Oct 17 22:20:10 2013] [alert] [client xx.xx.xx.xxx] /home/vidtube/public_html/uploads/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.vidtube.me/
[Thu Oct 17 22:20:08 2013] [alert] [client xx.xx.xx.xxx] /home/vidtube/public_html/uploads/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.vidtube.me/
  •  

Marius

http://phprevolution.com/requirements/

Quote- php_flag support (needed for upload folders protection against hacking, "php_flag engine off" )
If not available, remove php_flag engine off from the .htaccess file in media/ and uploads/ and leave the other security rules


This is the way to do it.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

setul34Topic starter

okay so i removed that but still getting an 500 Internal server error!... and this time i cant see anything in error log
  •  

Marius

What are you permissions on the folder? If they are 0777, does your server support 777 permissions? If not, it will always throw this error, try with 755 for example
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

setul34Topic starter

  •  

Marius

Ok. Can you upload an avatar? If so, what are the permissions on uploads folder? Compare them so they are the same.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

setul34Topic starter

upload avatar permission --> 644
Upload Folder permission --> 755
  •  

Marius

If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

setul34Topic starter

  •  

Marius

Then try that chmod on media to. Also, look on the permission for lib/upload.php and see if it's anything preventing it from working (like no execute permissions)
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Similar topics (7)