Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
admin gets an "Call to undefined function ckeditor_user_customize_form_validate()" error when submitting a form of fields in profile2.
otherwise, everything works just perfect for regular users, error occurs only on uid=1.
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commentedDo u try do this with last DEV version? We fix problem with this function before... I try to reproduce this but for me everything works fine...
Greetings
Comment #2
kirillsmile CreditAttribution: kirillsmile commentedyep, i'm using WYSIWYG HTML editor 7.x-1.x-dev (2011-Mar-31) and Profile 2 7.x-1.0-beta2 (2011-Mar-21)
interestiong thing is error occurs only on admin account.
Comment #3
floleft CreditAttribution: floleft commentedI posted this issue last week (http://drupal.org/node/1109366). The latest dev (March 31) fixed the issue for the day I applied the fix, but the issue is now rearing it's ugly head once again. I haven't touched the module since testing the dev version. I searched this issue just now and found this post. I logged into the site using a non UID 1/God account and all updates are working fine. So it looks like this issue is confined to that UID 1.
Comment #4
kirillsmile CreditAttribution: kirillsmile commentedi realy don't understand your reply, camrade floleft.
look, there is no problem to reproduce that bug: i've installed d7 with common core modules + profile2 + ckeditor on locale (denwer).
later, i've made a new profile with some textfields + logngtext field.
and after sumbit(uid=1 offcourse) i get the same shit error:
Call to undefined function ckeditor_user_customize_form_validate() on uid=1.
so, you can make same experiment on your own computer.
looks like there is a bug in form validation under admin user and this bug isn't solved yet.
Comment #5
mkesicki CreditAttribution: mkesicki commentedComment #6
floleft CreditAttribution: floleft commentedI believe you misinterpreted what I wrote kirillsmile. I stated that I had this problem last week, and the dev version seemed to fix it at the time. But it's now an error once again (not fixed), and the error is bypassed if updating profiles using any other user besides UID 1. So, yes it is an error. I didn't want to post a separate bug issue, because this is the same bug I'm still having. I posted my previous bug post to help in the debugging process.
Comment #7
weboide CreditAttribution: weboide commentedI am also getting this error, but I do not use profile2. (ckeditor 7.x-1.x-dev as of April 7th)
Enabled modules: ctools, og, features, filepicker, imagepicker, strongarm, entity, diff
Using another user does not work either.
Comment #8
weboide CreditAttribution: weboide commentedLooking at http://drupal.org/node/542202#files the files[] variable in .info file seems to only work for classes and interfaces, but not regular functions...
includes/ckeditor.user.inc
might not get included.I added this to ckeditor.module and everything works.
Comment #9
dczepierga CreditAttribution: dczepierga commentedOk, so i add this fix and commit to GIT. Thx for help @weboide.
Pls check last DEV version and report me does it help, because i still cannot reproduce this :)
Greetings
Comment #10
kirillsmile CreditAttribution: kirillsmile commentedwell, great work! this helps.
Comment #11
dczepierga CreditAttribution: dczepierga commentedOk so i mark it as fixed.
Greetings