Hi,
When i go to e-Commerce configuration > File Settings
I have the following error message :
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'file_ec_settings' was given in /home/chatlu/www/drupal/includes/form.inc on line 217.
Somebody has the same issue ?
Thanks.
Comments
Comment #1
Walt Esquivel commentedYes, I get the same error message on line 217.
Comment #2
drinkdecaf commentedSame problem here: Line 217. Cant use the e commerce file downloads because I cant use this page.
Comment #3
dickiedyce commentedSame here!
"warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'file_ec_settings' was given in /Library/WebServer/Documents/tfm/includes/form.inc on line 217."
Is this the place to file bug reports?
Comment #4
dickiedyce commentedI *think* it's a simple typo - there's a callback set for 'file_ec_settings', but no matching routine... however there is a 'file_settings' routine in the same file.module... but not sure if that's the one. Tried to synchronise the two - i.e. make them both 'ec_file_settings' which more closely batches other routines' naming in the module, but this threw up another error, because no $form_id or set of $form_values were being passed in. Tried pulling the out (and removing the inital if statement to have it fetch the files path...) but have no idea how to set the default renewal scheme (since it is even mentioned in the description as 'Select a default renewal schedule to be used for files. Note: This is not used yet.' The equivalent code in th 4.x version looks completely different to me, and I'm working blind... sorry.
Comment #5
esadot commentedNot sure that it solves the problem, but at least it get rid of the error messages.
1.
replace
'callback arguments' => array('file_ec_settings'),with'callback arguments' => array('file_settings'),2.
replace
with
At first the change doesn't seems to take place, go to my-account->edit>save changes, and go back to admin file menu (i guess cache or something...).
Further testing is needed.
Comment #6
brmassa commentedGuys,
fixed on eC4 CVS
regards,
massa
Comment #7
brmassa commentedComment #8
(not verified) commented