Forum topic: Error: Video upload failed. Invalid credentials
Submitted by picotec on Fri, 2008/07/11 - 17:32.
I'm getting the following error when my cron.php runs:
Video upload failed. Invalid credentials. video_id: 1
I created an account here on OpenPackage Media, bought $5 of credit, and have double checked my username / password a few times.
Any ideas?
Thanks,
Chuck






Hi Chuck
This is very weird. Your site is trying to authenticate with an unhashed password. op_video hashes your openpackage.biz password before storing it.
Did you manually set the 'op_video_openpackage_hash' variable to be your unhashed password?
Actually, after snooping around in the code it seems like the entire _op_video_admin_settings_submit() function is not being recognized by Drupal. It seems that system_settings_form($form) is actually defining the submit path as the default and ignoring the custom submit form.
When I change:
return system_settings_form($form)To:
$form['submit'] = array('#type' => 'submit', '#value' => 'Save configuration');return $form;
That seems to work for me. Any ideas?
Thanks,
Chuck
P.S. - I'm using Drupal 5.7.
This is most irregular!
Can you produce this on a clean Drupal install with no other modules?
Unfortunately, I am not able to spend any more time on this. I took over this project after an unexperienced Drupal developer had hacked at Drupal for a while, so I have no idea if he had messed anything up. If you aren't seeing this on other sites I would assume that my error was specific to my site.
Thanks,
Chuck
Post new comment