Error: resume_searchresults.php on line 249

5 years 9 months ago #2726 by Jungle Boy
I like this script and I'm just testing it to see if I might buy the Pro version but right now I got this error while doing a test search from Employer user:


Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /home/username/public_html/components/com_jsjobs/views/employer/tmpl/resume_searchresults.php on line 249


Thanks.
5 years 9 months ago - 5 years 9 months ago #2732 by Super User
Hi,

This error only in free version.

This error fix,
edit ../components/com_jsjobs/views/employer/tmpl/resume_searchresults.php

Replace line no 249
echo "<img name=\"rl_image\" src=\"".$this->config."/data/jobseeker/".resume_$resume->id."/photo/".$resume->photo."\" title=\"picture\" alt=\"Resume Photo\"/>";

With

$imagepath = $this->config."/data/jobseeker/resume_".$resume->id."/photo/".$resume->photo;
?>
<img name="rl_image" src="<?php echo $imagepath; ?>" title="picture" alt="Resume Photo"/>

Best regards,

Ahmad Bilal
The following user(s) said Thank You: Jungle Boy
5 years 9 months ago - 5 years 9 months ago #2735 by Jungle Boy
Thanks.

I found the problem. It was my error.

(message deleted my me)
Time to create page: 0.253 seconds

Please publish modules in offcanvas position.