![]() |
Member error message for Pic Uploads My members are getting the following error message that shows up during the photo upload process: Warning missing argument 5 for send_ppemail, called in /home/stuspicp/public.html/photopost/image-inc.php on line 1151 and defined in /home/stuspicp/public.html/photopost/pp.inc on line 4165 Warning: mail(/var/log/php_mail.log) [function.mail]: failed to open stream permission denied in /home/stuspicp/public.html/photopost/pp.inc.php on line 4211 The photos do upload at least most of the time (I tried myself using a register users log in info and 5 of 6 uploads were successful, the other upload indicated successful, but the photo was not actually uploaded and did not show up anywhere) I do not have this problem when I attempt to upload photos under my administrator log in name, everything uploads normally. Any suggestions? Thanx, Jerry |
I would have to see your issue as your lines are not lining up with what I have so not sure what is messing up. You can try maybe making sure your lines in image-inc.php for send_ppemail are maybe this. it is in that file twice. Code: Content visible to verified customers only. |
Thanx Chuck, the $User['userid'] portion was missing. I copied your suggested code in both spots and that took care of the the 1st missing argument warning. I still get the Warning: mail(/var/log/php_mail.log) [function.mail]: failed to open stream permission denied in /home/stuspicp/public.html/photopost/pp.inc.php on line 4211. Line 4211 of my pp.inc.php is actually blank and lines 4210, 4211 and 4212 look like this: Code: Content visible to verified customers only.Thanx, Jerry |
Jerry well thats the problem we do not call any mail log file etc. That is probally something to do with your server. What type of mail are you doing. I can check your site out if I know what it is. |
Ok Chuck, you steered me in the right direction. I just adjusted the mail settings and the error messages are all gone now. Thanx again, Jerry |
Not a problem. what did you have wrong in your setup? I have tried php and smtp mail all work fine for me. |
I enabled html mail and switched from php to smtp mail. Maybe my server wasn't supporting php email. Jerry |
Gotcha that is fine then yeah the issue I think was probally in how your php mail was setup it was looking for a mail log file that did not exist. |
| All times are GMT -5. The time now is 03:26 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0