1
coopersita
PD-Links not sending notifications

Hi,

I can't get PD-Links to send notifications for link submissions. It does send it for new categories.

I've checked inlcude/notification.inc.php, and submit.php. Are there other files I should be checking into?

Thanks

2
coopersita
Re: PD-Links not sending notifications

I found an error in xoops_version.php

I found:

le="color: #000000"><?php $modversion['notification']['event'][5]['mail_template'] = 'global_nePDile_notify'; ... $modversion['notification']['event'][7]['mail_template'] = 'category_nePDile_notify';


It should be:

le="color: #000000"><?php $modversion['notification']['event'][7]['mail_template'] = 'category_newfile_notify'; ... $modversion['notification']['event'][5]['mail_template'] = 'global_newfile_notify';


So now it send the emails, but I get the following error for Private Messages:

le="color: #000000"><?php INSERT INTO xoops_priv_msgs (msg_id, msg_image, subject, from_userid, to_userid, msg_time, msg_text, read_msg) VALUES (0, 'icon1.gif', '[mysite] Links auto-notify : New file', 1, 5, 1191119522, 'Hello x, A new link "x" has been added at my site. You can view this file here: http://www.mysite.ca/modules/PDlinks/singlefile.php?cid=13&lid=58 ----------- You are receiving this message because you selected to be notified when new links are added to our site. If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: http://www.mysite.ca/notifications.php Please do not reply to this message. ----------- mysite (http://www.mystie.ca) webmaster x', 0) Error number: 0 Error message: Database update not allowed during processing of a GET request


The submit form itself is Post, so I'm not sure what to change so I don't get this error.

Any help will be very appreciated.

3
coopersita
Re: PD-Links not sending notifications

No one?

Where would a get request come from on notification?

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits