1) After installing the module I receive the following error message in the module interface: Missing argument 2 for logincookie_set_form() in /var/www/vhosts/mywebsite.com/httpdocs/sites/all/modules/logincookie/logincookie.admin.inc on line 38.

Can you tell me how to fix please?

Also, can you please provide some instructions on how to use this module?

Thanks for help

CommentFileSizeAuthor
#4 form_error.patch844 bytesbleen
#3 form_error.patch551 bytesbleen

Comments

bleen’s picture

make line 38:

function logincookie_set_form($form_status, $cookie = array()){

fixes the error... sorry, no time for patch

bleen’s picture

...and use this on line 133 to avoid the identical error on unset form:

function logincookie_unset_form($form_status, $cookie = array()) {
bleen’s picture

Status: Active » Needs review
StatusFileSize
new551 bytes
bleen’s picture

StatusFileSize
new844 bytes

ooops .. forgot the unset form