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:

$modversion['notification']['event'][5]['mail_template'] = 'global_nePDile_notify';

...

$modversion['notification']['event'][7]['mail_template'] = 'category_nePDile_notify';


It should be:

$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:

INSERT INTO xoops_priv_msgs (msg_idmsg_image,  
subjectfrom_useridto_useridmsg_timemsg_text
read_msgVALUES (0'icon1.gif''[mysite] Links 
auto-notify : New file'
151191119522'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 number0
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

Who's Online

251 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Feb 29
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits