- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Topic: apply now bug?
i customized my jober but now with the last version i started experiencing errors while pressing apply now on a job.
i get the error: Could not access file: /domains/jobberbase/public_html/uploads/
i did a fresh install of jobberbase from the original repository and i get the same error.
If i select a CV attachment the job is send buy the email never cames...
- Title: Administrator
- Status: Offline
- Registered: 2008-08-20
- Posts: 232
Re: apply now bug?
Hi,
Make sure the 'uploads' folder is writable (permission 777).
Good luck!
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: apply now bug?
ok, i just downgraded to 1.6 version and it works like a charm!
The problem is with the latest 1.7 version downloaded from the repository.
Example on 1.7:
Press Apply-now and fill the form without adding the attachment.
The server will respond with (Could not access file: /domains/jobberbase/public_html/uploads/)
these does not have anything to do with chmod 777 since i didnt attach anything.
I guess the the page-apply.php has a bug where it check to do sometging with an attachment, but the atachment does not exists...
putypuruty what do you thing?
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: apply now bug?
the bug is not in jobberbase but in the latest update to phpmailer class
- Title: Administrator
- Status: Offline
- From: Oradea, Romania
- Registered: 2008-08-20
- Posts: 958
Re: apply now bug?
Hi.
I'll check this out in the evening - I hope I'll have time.
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: apply now bug?
i downloaded phpmailer 5.0.2 and on my hosting and on local pc XAMP i get the same error (my php is 5.2.9)
if i download the phpmailer 2.0.4 (for php4) it works like a charm....
hope it helps
- Title: Administrator
- Status: Offline
- From: Oradea, Romania
- Registered: 2008-08-20
- Posts: 958
Re: apply now bug?
Did you extract both class.phpmailer.php and class.smtp.php?
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
- Title: Administrator
- Status: Offline
- From: Oradea, Romania
- Registered: 2008-08-20
- Posts: 958
Re: apply now bug?
Hi, elgreco!
I've tested now with phpmailer 5.0.2 and it works just fine for me
. I can apply with or without an attachment. I've tested it locally with PHP 5.2.6 (I even upgraded to PHP 5.2.9 to have a setup similar to yours). For testing locally (Windows XP), I always add the following lines of code in class.Postman.php after $mail->FromName = stripslashes($data['apply_name']);
Code:$mail->Mailer = 'smtp';
$mail->Host = 'AN_SMTP_HOST_NAME';
Can you give it a try like this?
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: apply now bug?
hi i dont think its a problem with the smtp address
when i comment out the
Code:
if ($data['attachment_path'])
{
$mail->AddAttachment($data['attachment_path'], $data['attachment_filename']);
}
it works. So i guess phpmailer has a problem with the path
You changed in page.apply.php the attach var to attachment
r u sure you commited tall the changes to the SVN?
- Title: Administrator
- Status: Offline
- From: Oradea, Romania
- Registered: 2008-08-20
- Posts: 958
Re: apply now bug?
Hi.
I've checked again and everything seems to be just fine (everything was fine in SVN) - it works for me locally and thus I don't know what to say, sorry.
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: apply now bug?
hi!
ok, what should i say..i just updated the svn and tried again...but i get the same error
Code:
Could not access file: C:\xampp\htdocs\jobberbase\app\uploads/
can someone reproduce the same error?
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: apply now bug?
the 1.7 version you can download from the web, is using the old class.phpmailer
in the subversion you added a new one.
So i can confirm that there is a bug with the new class.phpmailer and the latest commits on the subversion.
regards
Posts [ 13 ]
Guest posting is disabled. You must login or register to post a reply.