Bugs in WebJobs

October 14th, 2008

These are the source of my headache today… I recently downloaded WebJobs 2.1, and although some bugs were fixed from 2.0, new ones cropped up:

  • SEO - Friendly URLs break pagination in WebJobs 2.1 -

Although they seem to have written a fix in the rewrite.php file, it does not work. The pagination will not work on resume searches or job searches. This is pretty serious and breaks the function of the site, so I just removed the rewrite conditions in .htaccess until WebScribble can apply a better fix. (I sent them a bug report — we’ll see how that goes…)

  • Edit Seeker Profile on Member Manager

If the seeker does not have a profile (because he did not complete page 2 of the registration form), clicking on “Edit Profile” in Member Manager shows a nasty error message.

Fatal error: Class ’smartway_module_member_manager__edit_form’ not found in /…/member_manager.php on line 1586

  • When paying for a job posting, negative credits can show up in the “Available credits” section.

You can even select the credits. I have no idea how a person would even GET negative credits, but this showed up several times. The code looks correct in  post single job3 , so I don’t know….

  • The resume attachment is blank in the new job application email.

When a jobseeker applies to a job, a copy of his resume is emailed as an attachment to the employer who posted the job. However, that resume shows up as an empty text file, named simply resume.txt. I have not found  a fix for this yet. Anyone?

Add Resume and Add Cover Errors

September 20th, 2008

Problem: When attempting to upload a resume or cover letter, users get the following error: You cannot simultaneously use both the text area and file upload box. Please choose one.

Solution: This is a temporary solution — Comment out these lines 72 through 76 in engine/pages/add_resume.php

if ($file_info && $input[’resume_textarea’]){
$this->generate_error(’cannot_use_both_textarea_and_file’);
unlink($file_info[’tmp_name’]);
return false;
}

Comment out these lines in engine/pages/edit_cover.php - lines around 112-118

if ($file_info[’name’] && $input[’cover_textarea’])
{
$this->generate_error(’cannot_use_both_textarea_and_file’);
unlink($file_info[’tmp_name’]);
return false;
}

“How did you hear about us,” cont. Add “Other” text field

September 7th, 2008

Following up on a previous post - http://lifehackmom.com/how-to-add-a-how-did-you-hear-about-us-survey-to-webjobs/

Here is how to add a write-in “Other” text field, in case a registrant was referred by a source that isn’t in the drop-down list you created.

Step 1: Add other_referrals field to database

In jb_users table, add a new text field called other_referrals to store the data that users write in on their registration form.

Step 2: Register Employer page:

In engine/pages/register_employer.php — Add this line under the line where you added the referrals - around line 151

‘other_referrals’ => $sql->escape_string($input[’other_referrals’]),

Add other_referrals into your array a few lines down, so that it looks like this:

array(’login’, ‘password’, ’status’, ’salutation’, ‘first_name’,'middle_initial’, ‘last_name’,
’suffix’, ’suffix_titles’, ‘company_name’, ‘completed’, ’signup_time’, ‘referrals’, ‘other_referrals’, ‘timezone’, ‘language’));

Step 3:

Add the other field to the xml file (smartway/conf/register_employer or register_employer_city or whatever depending on how you’ve configured webjobs).

<input name=”other_referrals” required=”0″>other_referrals</input>

You are done! So easy!

Next post will be on how to track and view the results in the Smartway statistics section.