Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

newsletter "send mass mail" form problem

Quote Reply
newsletter "send mass mail" form problem
Hello,

In the administration area when I click on "send mass mail" It returns a 404 error.

I opened the source of the frame.

and I have <form action="" METHOD="POST">
<input type=hidden name="db" value="email">


I guess it returns an error because there is something missing in the

<form action=""

tag.

But why is it empty and how can I fix this ?

Thank you very much for your help!

Chris.
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
Have you made any modifications recently?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [A.J.] newsletter "send mass mail" form problem In reply to
Hello Andy,


Thank you very much for your reply.

Well I installed the rating and the review mods.
They all work fine.

But the only thing which doesn't work is the email related stuff.

As mentioned above the form action tag remains empty.

Also nobody never receives a single email when I validate a review. The email path /usr/sbin/sendmail is correct and in links.cfg all the email options are set to 1.

Well Andy if you can help me out, I would extremely thankful.

Cordially,

Chris.
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
All sounds a bit weird to me. Could you try installing a fresh copy, and seeing if the emailing works then?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
Hi Chris,

Check the below variable in the links.cfg

$db_mail_url = $db_dir_url . "/nph-email.cgi"; # URL of admin mass mail script.

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [Andy.] newsletter "send mass mail" form problem In reply to
Andy,


Thanks but it would be to much time consuming to start it over.

I can't imagine doing all this work again. Unsure

But if one day you find the answer please hink about me.

Thank you again for your help.

Chris.
Quote Reply
Re: [tandat] newsletter "send mass mail" form problem In reply to
Hello Tandat,

Thank you very much for your help.

I checked in links.cfg and it's there. (unfortunately)

Cordially,

Chris
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
Hi Chris,

Can you take a look inside the admin_html.pl file at sub html_email_update to see if the variable $db_email_url is in the form tag?

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] newsletter "send mass mail" form problem In reply to
Hello Tandat,

Thank you so much for your help.
I appreciate it.

I have
$db_mail_url = $db_dir_url . "/nph-email.cgi";
in links.cfg and

and two occurences in in admin_html.pl of:

<form action="$db_mail_url" METHOD="POST">

So the difference is I have the word "mail" instead of email.


Also as I told you before when I validate a review nobody (including me) receives an email.

This is truly weird.

Well if you have an idea I'm ready to work on it.

Thanks anyway,

Chris.
PS I attached the admin_html.pl file to this message.
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
 
>when I validate a review nobody (including me) receives an email.

This is different issue of mass email?

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] newsletter "send mass mail" form problem In reply to
Thanks Tandat.

Finally replaced all the paths to the mass mail url by full paths instead of having it created.

And the correct url appeared inside the <form action=""> tag.
Mysterious but it works.

The only thing which doesn't work now is that I still don't get any emails when someone makes a review using the widgetz mod review.cgi.

I searched this forum and didn't find the anwser.
Well I wouldn't want to take your time but if you have an idea on this one too, I'd be more than thankful.

Cordially,

Chris.
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
Hi Chris,

It seems that there is no email function in this file. Is there a email function in your file? If it is not there, you should add this function into this file.

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
Hm, I am actually wondering how you acquired Jerry's review mod, since it's no longer distributed...

There's a modification somewhere in the forum allowing you to send validation emails to reviewers.
Quote Reply
Re: [Tho:mas] newsletter "send mass mail" form problem In reply to
Hello Thomas,


Well i'm an old but still novice links user.

And when I downloaded my first copy the review was still available.

Hopefully because it really works great along with the rating system.

Thank you for the mod. I'll check that.
Is it compatible with review.cgi ?

Cordially,

Chris.
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
Chris,

check out the following thread:

http://gossamer-threads.com/..._flat&post=85348
Quote Reply
Re: [Tho:mas] newsletter "send mass mail" form problem In reply to
Thomas,

Thank you very much.

I'm currently uploading the files with the new codes.
Hoping it will not screw up anything else.
Crazy

Can i ask you something concerning links.db

It seems that the reviews are not updated in this file when I delete one.
I thought maybe it could from the permissions which are not high enough. I tried changing chmod to higher 755 but it says it's not allowed for this file.
It's the only one for which changing permissions does not work.
Any idea ?

Thank you very much for your help.

Chris.
Quote Reply
Re: [Christophe13] newsletter "send mass mail" form problem In reply to
If you mean "ratings" rather than "reviews", then the ratings folder in the ADMIN area needs to be 777 (worldwide readable and writable).
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] newsletter "send mass mail" form problem In reply to
Hello Eliot,


Well yes you're quite right. Wink
I was speaking of the ratings.

But the ratings and the reviews go in two files:
links.db and review.db located in the data directory under the admin.

I don't have a ratings directory.

So when I erase a rating it's also erased in the review.db file but not in the llnks.db file.

I think it's because I can't (for an unknown reason) chmod links.db over 664.
But when I add a link or erase it, it gets erased to in the links.db file.

So the only thing which I can't update in this file are the ratings.

I've read numerous posts from you and i'm absolutely sure that you have the solution. Cool

Thank you very much for your help !

Chris.