Jump to:
| Project: | Video Upload |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | community, cron, video, white, white screen |
Issue Summary
Hi there,
Thanks for developing this great module! For a big new community website I want to implement the video upload module. But... unfortunately it's not working. I'm curious which version combinations people are using that do work...
I tried:
- drupal-6.12
- filefield-6.x-3.0
- video_upload-6.x-1.x-dev with ZendGdata-1.8.1
- poormanscron-6.x-1.0
I disabled all other modules when testing with the video upload module, and filled in all necessary fiels in the settings page.
Result for now is that i can make a node with a video upload field, and i can upload a video to my own server, but... i cannot open the 'Manage Video Uploads' page. That gives a white screen. After some testing I found out that this is probably because the whole (poormans) cron job functionality isnt working when i have the video upload module enabled... even when i do a cron job manually from /admin/reports/status/run-cron for example, i get a white screen. In the logs it says that the cron job what stopped because it took too long. After disabling the video upload, cron does work again.
And because the cron job cant run, the video doesnt get uploaded to youtube ofcourse...
I also noticed that I couldnt change the file size limit, it keeps saying 2 MB.
Anyone encountered these problems? I am curious what version combinations are working.
I also posted this question here (http://drupal.org/node/375294, http://drupal.org/node/445460 and http://drupal.org/node/403420), because I wasnt sure if this should be seen as a new issue or not...
Comments
#1
Nico -
You can need to edit your php.ini file in 2 areas:
1) post_max_size = 50M
2) upload_max_filesize = 50M
(I have mine set to 50 megabytes, you can do what you feel is appropriate).
My max upload size was 8M until I edited both of these in php.ini
That being said, I'm also have issues - CRON isn't getting to the upload function - I tested this by editing the function which uploads the video and inserting a DIE statement (which didn't get called).
I directly ran cron.php rather than using poormanscron
#2
Ok, thanks I'll try editing the max_filesize in the php.ini...
But does your cron job finish? Does it say that in the logs?
What versions of all the modules (including CCK) do you use, then we can compare...?
(I'll be back on wednesday)
#3
Hi all,
Cron gets stuck here too.
Disabling the video_upload module and cron works fine again. Where do I start to solve this?
the main issue is: vide_upload module does not work yet: all files get uploaded to files/. they should go to youtube instead.
Now I am trying to find out why I get this error:
PHP Fatal error: Class 'DOMDocument' not found in drupal-6.12/sites/all/modules/video_upload/providers/youtube/Zend/Gdata/App.php
all help is very welcome
#4
Hi,
I'll be back friday with my testing results, and what kind of versions i'm using.
Does this PHP error mean that it can not find the Gdata classes? It seems to be in the right directory though?
#5
Solved!
I went into the httpd log on my server and saw that DOMDocument.class was missing. That comes with an php xml package. I just installed it and at least cron works while the module is Enabled.
#6
good, and does the whole module work now? does it upload to youtube?
i'll be back on saturday with my testing results... I hope positive ones...
#7
Using:
- drupal-6.12
- filefield-6.x-3.0
- video_upload-6.x-1.x-dev with ZendGdata-1.8.2
on:
- PHP 5.2.6
and no poormanscron...
It works! Video is being uploaded to youtube and everything works as it should! Yeeej!
#8
Hi All
I am bale to upload videos on youtube and thumbnails are generated at my site too. But video is not displaying at full node display. When I see in source code, Obejct/embeded code is there but still no video displayed at full node page.
can any one help me what the problem.
Thnaks
#9
Did you check you permission to view your video field???