PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Member error message for Pic Uploads (http://www.photopost.com/forum/photopost-pro-how-do-i/148460-member-error-message-pic-uploads.html)

stumeister1 July 13th, 2012 11:49 AM

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

Chuck S July 13th, 2012 02:38 PM

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.

stumeister1 July 13th, 2012 09:44 PM

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.
Can you tell me what code might be missing?

Thanx, Jerry

Chuck S July 14th, 2012 08:27 AM

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.

stumeister1 July 14th, 2012 11:05 PM

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

Chuck S July 15th, 2012 10:42 AM

Not a problem. what did you have wrong in your setup?

I have tried php and smtp mail all work fine for me.

stumeister1 July 15th, 2012 09:44 PM

I enabled html mail and switched from php to smtp mail. Maybe my server wasn't supporting php email. Jerry

Chuck S July 15th, 2012 09:56 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97