 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
September 13th, 2005, 03:54 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
| System Generated messages blank
Hello:
I just did a successful upgrade from 2.1 to 2.42. Nicely done guys! I've throughly tested it and all is working great! Except...
System generated messages, such as when an ad has been approved, is about to expire, deleted, get emailed out, but there is no body to the message. I just see a message from the board administrator with no subject.
I've tested the built in user pmail, and that works just fine.
Suggestions? I'll need to fix this quickly!
|
| |
September 13th, 2005, 06:28 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
| sendnotice.php
I just tried uploading my original (2.1) version of sendnotice.php to see if that would work. No luck.
|
| |
September 13th, 2005, 08:46 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
|
When I run sendnotice.php manually, I get a done message - no errors.
|
| |
September 13th, 2005, 09:17 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
|
Ok, I'm a dummy. Looks like sendnotice.php has nothing to do with it.
\languages\english\emails.php is the key. I noticed that the date stamp on the file is April 21st, while all the other files in that directory are dated July 1. Could it be the wrong file in this release?
|
| |
September 13th, 2005, 09:24 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
sendnotice generates its own emails and the emails.php file is correct as well
Just make sure all the new files are uploaded
|
| |
September 13th, 2005, 09:48 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
|
I uploaded everything but subdirectories 1 and 2 in the data directory. I just did that but still no-go. I also went through the files in the archive and what I have and all seems to check out?
Any other suggestions? What missing files in particular should I be looking for?
Note, this is an upgrade, so the previous version (I have lots of custom headers and footers) was left in the directory before I uploaded it.
|
| |
September 14th, 2005, 06:06 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
Well I can't say what the issue is then. Make sure your uploading the new files pp-inc.php especially?
Example here in sendnotice.php for high bids and expiration notices which would probally be the bulk of the emails
The email letter is self contained in the script Code: Content visible to verified customers only.
|
| |
September 14th, 2005, 12:54 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
|
Thanks Chuck. I'll check on all the files one more time and report back.
Just to be clear. The problem seems to be with anything related to email.php That is, anything to do with approvals or deletes. sendnotice.php emails and private emails are working fine.
|
| |
September 14th, 2005, 01:18 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
ah see you did not say that earlier Quote: |
System generated messages, such as when an ad has been approved, is about to expire, deleted, get emailed out, but there is no body to the message. I just see a message from the board administrator with no subjec
| see this in adm-misc.php
if ( $Globals['useemail'] == "yes" ) {
if ( $cat == 0 )
admin_email( "approve", $pid );
if ( $catdef != $newcatid )
admin_email( "moved", $pid );
}
so then you need to go to pp-inc.php and see this Code: Content visible to verified customers only.
Thus looking at the code as long as you have pp-inc.php,adm-misc.php,sendnotice.php and the languages/english/emails.php files properly loaded you should be fine.
Is your $PP_PATH variable set right in your config so we can find the emails.php file
|
| |
September 16th, 2005, 11:17 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
|
Thanks Chuck.
I've checked the files above, and (unfortunately) everything appears to be there. I've checked $PP_PATH and it is set correct. (It appears that almost nothing would work if this were set wrong.) I even moved mail.php to the root directory, but that didn't seem to be it.
I have all the original versions of the files listed (pp-inc.php,adm-misc.php,sendnotice.php and the languages/english/emails.php). I did make a couple of tweaks to pp-inc.php. I reverted back to your original version but had the same problem.
At this point I'm beyond my expertise. I'm not a PHP programmer. Can I pay you guys to go in and take a look. I'll provide the details.
My guess is there is something very minor out of wack in the emails.php code that our php installation doesn't like as the TO field gets passed through fine but the subject and body don't. All the other notices are fine except thouse generated through the approval/delete process.
|
| |
September 16th, 2005, 12:07 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
You dont need to pay just email your server settings and let me take a look and see
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:02 PM. | |