I installed Advanced Profile Kit 5.x-1.0-alpha4 on my Drupal 5.7 and got the following errors when I tried to "Create the user profile node type with included fields"
* warning: include_once(.//content_admin.inc) [function.include-once]: failed to open stream: No such file or directory in /home/thissite/public_html/sites/all/modules/advanced_profile/advanced_profile.module on line 427.
* warning: include_once() [function.include]: Failed opening './/content_admin.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thissite/public_html/sites/all/modules/advanced_profile/advanced_profile.module on line 427.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'content_copy_import_form' was given in /home/thissite/public_html/includes/form.inc on line 218.
I'm using Panels 5.x-2.0-beta3
Comments
Comment #1
michelleCould you tell me what's on line 427 of your copy? On mine, that's theming the buddylist view and not even remotely related to content copy.
Michelle
Comment #2
kyutums commentedMy line 427 is
include_once('./'. drupal_get_path('module', 'content') .'/content_admin.inc');My buddylist 2 version is Buddylist2 5.x-1.x-dev (2008-Apr-08).
Comment #3
michelleThe buddylist version doesn't matter. I was just saying that my copy of the code has changed so much that my line 427 isn't even close to yours.
Anyway, erm, not a clue. I just checked CCK's CVS and it looks like content_admin.inc is still right there where it's supposed to be. So I don't know why it can't find it.
I'll have to do some digging but I really don't have time to do any more with this module than try to keep the issue queue under control right now. However, you can get around this by manually importing the contents of uprofile.inc into the content copy UI. All my code is doing is automating that import because a lot of people had trouble working the content copy module.
Michelle
Comment #4
kyutums commentedShould I try out the dev version instead? :)
Comment #5
michelleHonestly, I don't know. You can give it a try on a test site. I haven't looked at this module in weeks and I don't remember what state the dev is in. I'm trying to get back to it and feel bad there there's people having some major issues with panels beta 4, but I simply haven't had the time.
Michelle
Comment #6
kyutums commentedWill do. Thanks for the inputs. :)
Comment #7
kyutums commentedUm, where can I find the content copy UI? :)
Comment #8
michelle?q=admin/content/types/import
Michelle
Comment #9
michelleComment #10
michelleNo further info provided...
Michelle
Comment #11
Anonymous (not verified) commentedIsn't that a CCK issue? Check CCK is installed. I had a similar issue and installed CCK and issue gone.
Comment #12
kyutums commentedCould be. I have CCK installed when this happened.
Comment #13
gildedgod commentedSame problem. Drupal 5.5, Advanced Profile Kit 5.x-1.0-alpha5.
"content_admin.inc" is component of CCK, so, I additionally installed it (why it is not in dependences list?), and firs two messages disappeared. But the third error message still exists:
Comment #14
gildedgod commentedneed support =)
Comment #15
gildedgod commented/includes/form.inc
Comment #16
michelle"why it is not in dependences list?"
Because it's not a dependency. It's listed in the instructions along with all the other optional modules.
"need support"
There's really nothing I can do to support content copy. It's not my module and I know very little about it. My standard answer is take the contents of "uprofile.inc" and run it thru the content copy UI. If it still fails, file an issue in the CCK queue and maybe they can help.
Michelle
Comment #17
gildedgod commentedSolved!
This error appears when "CCK Content Copy" NOT enabled.
Comment #18
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #19
kulfi commentedThanks gildedgod, your tip saved me lots of time.
Comment #20
timmeh commentedhi michelle,
i'm getting this error. using drupal 5.7 and APK 5.x-1.0-alpha6
* warning: include_once(sites/all/modules/advanced_profile/includes/views.user-list.inc) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\d5\sites\all\modules\advanced_profile\advanced_profile.module on line 241.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/advanced_profile/includes/views.user-list.inc' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\d5\sites\all\modules\advanced_profile\advanced_profile.module on line 241.
* warning: include_once(sites/all/modules/advanced_profile/includes/views.user-list.inc) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\d5\sites\all\modules\advanced_profile\advanced_profile.module on line 241.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/advanced_profile/includes/views.user-list.inc' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\d5\sites\all\modules\advanced_profile\advanced_profile.module on line 241.
line 241 is:
include_once $views_dir . 'views.user-list.inc';
i've enabled both CCK and Views.
anyone having this problem?
Comment #21
collegehoopsnet commentedI have the same exact error as the above post.
Comment #22
tannerjfco commentedMake sure you guys have content copy enabled, which comes with CCK. I encountered this issue on a clean test drupal install and realized I didn't have CCK installed whatsoever. Once I installed it along with pretty much all of the other components it comes with and CCK Link, it worked without a hitch. Hope that helps!
Comment #23
timmeh commentedi read that in the above commentaries and tried it. still getting the error.
Comment #24
alakesh commentedhello Timmeh,
1. download the dev version from -> http://drupal.org/project/advanced_profile
2. Copy the file 'views.user-list.inc' from include directory to your already installed advaced_profile/include directory. Reload the page..bingo..
views.user-list.inc is missing in APK 5.x-1.0-alpha6.
You can make use of APK 5.x-1.0-alpha7, that file is included.