Loading...
 
Architecture / Installation

Architecture / Installation


Tikiwiki on GoDaddy - New user e-mail verification problem

posts: 4

Hello,

I have just installed Tikiwiki version 1.9.8 on my GoDaddy PHP hosting account (this is a shared hosting account, not dedicated). I am using it with MySQL version 4.1, also hosted at GoDaddy.

In my searches I see various comments that Tikiwiki won't work on GoDaddy due various issues, however mine seems to work flawlessly, with one exception...

When I have new user registration e-mail verification turned on, the user gets the following message: The registration mail can't be sent. Contact the administrator

When I modify the settings so that all PHP errors are shown to the user, the error shows: Warning: mail(): Bad parameters to mail() function, mail not sent. in /home/content... (the rest of the path is truncated and I can't seem to get any more of it to display)

I do have the sending e-mail address setup properly, and this is proven by the fact that I receive all other automated e-mails from the site (including the e-mail to me that a new user has registered). The only e-mail function that does not work is the registration piece that e-mails the user with the validation link.

If I disable e-mail verification, everything works fine, however obviously that presents it's onw problems.

Question 1: Does anyone have Tikiwiki working on a GoDaddy shared account or am I wasting my time?

Question 2: Does anyone have any ideas on what to try next, I have tried everything I can think of?

Thanks!

posts: 1633 Canada

Hi nhall,

I have seen this bug before.

It seems to be because the email sent is malformed. On many mailservers, it's OK. But on others, it's blocked.

Tiki uses 2 different libraries to send email. The one used for the newsletter works fine whereas the the one for "e-mail verification" doesn't work on some servers.

I will check if I can dig up something...

Best regards,

M ;-)

posts: 4

Thanks for checking. I just tried registering on your site and yes indeed you have duplicated exactly what I am experiencing.

Thanks for digging into it, I am eager to see what you come up with because I have been banging my head on this for days and I feel like I am so close to having my first ever Tikiwiki site up and running.

posts: 4

I contacted GoDaddy technical support and explained that from what I am being told, their SMTP server doesn't like something about the Tikiwiki new user verification e-mails, yet it works with most other hosting companies.

Initially I thought they were actually going to look into it, but after a few back and forths with them, I got the expected "we don't support third party software or scripts".

Can anyone help me get this working on GoDaddy. I know there are other and perhaps better Tikiwiki hosts out there, but I have quite a few domains and other hosting accounts with GoDaddy and it won't be easy for me to change, so I really want to get this working there.

As I stated earlier, I know that lots of people say it won't work with GoDaddy for various reasons, but it appears to me that those issues may be things of the past, as I am well beyond the issues that most others described. The ONLY thing that doesn't work is the registration e-mail piece.

Thanks for any assistance you can provide.

posts: 1633 Canada

Can you try commenting out one line in lib/webmail/tikimaillib.php?

Image
Copy to clipboard
Index: lib/webmail/tikimaillib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/webmail/tikimaillib.php,v retrieving revision 1.3.2.9 diff -r1.3.2.9 tikimaillib.php 22,23c22,23 < if (!@ini_get('safe_mode')) < $this->setReturnPath($sender_email); // in safe-mode, return-path must then be configured at the server level --- > //if (!@ini_get('safe_mode')) > // $this->setReturnPath($sender_email); // in safe-mode, return-path must then be configured at the server level
posts: 1

This looks like you commented TWO lines. I commented them both. The email worked, but the actual registration didn't.

Is this a clue to solving this problem? Should I have just commented out one? Which?

posts: 6

Just wondering if there was a solution to this GoDaddy problem, as I am having the same thing!!

Thanks very much,

Tim



posts: 7

Same issue here. I have also contacted godaddy and we'll see what comes from it.

I'd really like to get this taken care of or at least get some insight into what is not liked by godaddy so that the email can be altered to work with them.


posts: 7
I am having the same problem on godaddy.com it looks like this is an ongoing issue. Surely someone has been able to come up with a solution. I have tried the suggestion here for commenting out the lines in the tikimaillib.php but it actually made things worse. The registration page will not load and instead a blank page is given. I've also noticed a number of other posts with the same issue described in them. Clearly this has been a major issue for some time. Someone please help with this my page isn't much good without new user registration.