Browsing this Thread:   1 Anonymous Users






Re: Jobs 4.3 RC2 bug report
#4
Webmaster
Webmaster


See User information
lmzan,

Yes that fix is correct. Thanks for reporting it.

John

Posted on: 2010/9/24 5:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Jobs 4.3 RC2 bug report
#3
Just popping in
Just popping in


See User information
Hi John

I'm still working on joblisting module and found an error message. When I publish a resume and try to delete, I end up in a blank page.

For example: I'm in page www.mysite.com/modules/jobs/viewresume.php?lid=10 . There's a icon to delete the resume, linking to page www.mysite.com/modules/jobs/delresume.php?lid=10. When I click it I just have a blank page. In debug mode, the error message is:

Undefined variablelid file /modules/jobs/delresume.php line 33


So there's an undefined variable in this line in delresume.php:

$result $xoopsDB->query("select usid, resume FROM ".$xoopsDB->prefix("jobs_resume")." where lid=".mysql_real_escape_string($lid)."");


Looking in other similar files I found a declaration for this variable, and added the code below before line 33 in delresume.php:

$lid intval($_GET['lid']);


Now I can see the message asking if I really want to delete the resume. It seems that it's working, so I'm only asking you to validate this fix.

Is this variable declaration correct?

Thank you.

Posted on: 2010/9/23 17:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Jobs 4.3 RC2 bug report
#2
Webmaster
Webmaster


See User information
Yes, you are correct in fixing it. That one got by me.

Thanks,

John

Posted on: 2010/8/26 20:16
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Jobs 4.3 RC2 bug report
#1
Just popping in
Just popping in


See User information
Hi there

I'm configuring a website with Jobs module and found a problem with the resume categories listed in addresume.php. When I try to add a resume and select a category on resumecat.php page, the module passes the category id, like in this link

http://www.site.com/modules/jobs/addresume.php?cid=3

When we go to the page we were supposed to see a form with a list of the resume's categories but we were receiving a list with the job listings' categories.

I think it was a bug so I've checked the code and found this in addresume.php in line 176:

$mytree = new ResTree($xoopsDB->prefix("jobs_categories"),"cid","pid");

It's looking in the job listings' categories in data base, so I've changed this line to

$mytree = new ResTree($xoopsDB->prefix("jobs_res_categories"),"cid","pid");

and now it's working.

Am I correct or is it going to mess with something I'm not getting?

Posted on: 2010/8/26 19:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
3 user(s) are online (2 user(s) are browsing Forum)

Members: 0
Guests: 3

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00