Hi,
I'm using Recruiter for my company's website and I'm experiencing some issues when I try to have a look at the visible resumes.
I'm logged in as an administrator, with every permit possible, but when I go to Recruiter --> Resumes and I click on a visible resume title in the list it says "Access denied You are not authorized to access this page."
The same thing happen when I click on Recruiter --> Resumes --> User with a visible resume --> Admin Links, there I can choose between Resume (Resume state: visible) and Resume settings. In both cases it says, again, "Access denied You are not authorized to access this page.", but in the latter
Warning: Missing argument 2 for profile2_by_uid_load(), called in /home/harringt/public_html/recruiter/includes/menu.inc on line 593 and defined in profile2_by_uid_load() (line 122 of /home/harringt/public_html/recruiter/profiles/recruiter/modules/profile2/contrib/profile2_page.module).
Notice: Undefined variable: type_name in profile2_by_uid_load() (line 124 of /home/harringt/public_html/recruiter/profiles/recruiter/modules/profile2/contrib/profile2_page.module).Can you please help me?
Thanks in advance,
--
Alessia.
Comments
Comment #1
Ivo.Radulovski commentedsame issue, any solution found?
Comment #2
darol100 commentedA easy way to fix this would be to add that user as administrator. You can have multiple roles admin + applicant + recruiter. By doing this would allow you to visit anywhere in the website.
Comment #3
cedric_aI'm having the same issue (even with all the roles) with Recruiter 7.x-1.5.
I fixed this by replacing 'resume' with 'profile-resume' in the title links in the 'Resumes' admin view.
Comment #4
jaseerkinangattil commentedFor me too the same issue for the admin roles
Comment #5
jaseerkinangattil commentedComment #6
cedric_aHi jas.yayas, according to the guidelines (see https://www.drupal.org/node/156119) as this issue don't have yet any patch, the status has to be "active"
Comment #7
Jacqs commentedHi,
I had this issue and changing the route to profile-resume helps.
I think the root problem is that in Pages => Existing Pages the resume route override has the resume/%profile2_by_uid url, this url is not a standard url for a "resume" profile2 type, it should be profile-resume/%profile2_by_uid.
I'm also using profile2_pages and this url mismatch causes multiples inconsistencies around as many urls are establish in code/html/rewrite views as resume/ that are not working any more.
cheers,
Jacq
Comment #8
Jacqs commentedI found that cleaning the cache causes the Resume to revert to defaults.
If you have another profile2 related module (as profile2_pages or profile2_regpath) the mistmach between "resume/" and "profile-resume" creates some issues.
For me I fixed this by avoiding the 'resume' revert to defaults if profile2 "resume" exists in the drupal recruiter feature with this patch:
Then I edit the resume profile options and always use the profile-resume/ path, no more resume/