Only a notice, but still not that what drupal expected.
"Notice: Undefined index: theme path in theme() (line 627 ... )"
After some lookup, i found the error in the fb_connect Module in the fb_connect_theme_registry_alter function.
You create a new hook, but do not set the automatically derived 'theme path' and 'theme paths' from the theme function.
Either set these both array indexes or get it from original username hook.
Comments
Comment #1
Dave Cohen commenteddo you have a patch?
Comment #2
himerus commentedChanging:
To:
Seems to fix this up
Comment #3
miaoulafrite commentedhi
thanks
which file should be modified please?
thanks
Comment #4
himerus commentedthis should go in fbconnect.module:
Comment #5
Dave Cohen commentedDrupal for Facebook include a module called fb_connect.module. It looks like this fbconnect code belongs in a different project.
Comment #6
notluap commentedI am also receiving the error "Notice: Undefined index: theme path in theme() (line 627 of /var/www/includes/theme.inc)." after installing Drupal for Facebook on a fresh Pressflow installation.
I tried the change in #2, but it did not fix it.
Comment #7
notluap commentedI've also run into some other errors using Pressflow and D4F together.... probably not a good fit, for the time being.
Going back to normal Drupal for now. I have not had this error in normal Drupal 6.20.
Comment #8
jghyde commentedi am on pressflow and I cannot duplicate.
Dave, this is the DFF fb_connect.module file, starting at line 390. Another commit on 6--3-- branch added
'type' => 'module'to the array mentioned above. I don't know if that fixed this.himerus, your suggested fix is the same thing as the original code, just written differently. Am I missing something?
Someone give me a use case on this bug and I'll try to duplicate and figure out a fix.
Comment #9
Narek commentedsame issue!!! any idea?!
Comment #10
Narek commentedPay attention to the basepath in this two code, first one is from regular drupal second one is from pressflow drupal ,,, that has "\/" instead of "/"
I think that must cause the problem, I don't know how we should fix this ? ani idea? maybe i am wrong? but if you know how to fix the basePath in pressflow let me know , thanks
This regular drupal java script :
the same conde in pressflow drupal:
Comment #11
lalit774 commentedNotice: Undefined property: stdClass::$fb_avatar in fbconnect_form_alter() (line 225 of /var/www/ifood/sites/all/modules/contrib/fbconnect/fbconnect.module).
changing to
Comment #12
apanag commented@narek,
for me it was that i had sandbox mode enabled on Facebook settings. After disabling it, pressflow + fb module work as expected.
Comment #13
Dave Cohen commentedI'm closing this issue, since half the comments relate to modules/fb/fb_connect.module and half are about modules/fbconnect/fbconnect.module.
If there's still an unsolved problem here, please submit a new issue, and be sure to name the correct project.
Comment #15
Narek commentedthx