There is no mail handler configured

First - Congrats on the new release - looks great!

Just upgraded to play around a little and when I post new comments I get the error:

There is no mail handler configured

and I do not get a email notification. Am I missing a setting somewhere? I have the default zenphoto_sendmail plugin enabled.

Thanks -

Comments

  • Looks like the mail handlers need to load earlier in the sequence. Please change line 6 of zenphoto_sendmail.php to read `$plugin_is_filter = 5|CLASS_PLUGIN;`

    Then go to your plugins page and do an APPLY.
  • fretzl Administrator, Developer
    Same here.
    Unfortunately changing line 6 of zenphoto_sendmail.php does not solve it.
  • It takes more than just changing the line. You also have to re-save your plugins--thus the "Then go to your plugins page and do an APPLY."
  • Following sbillard's instructions worked for me (I just upgraded to 1.4 and experienced the same mail handler problem).
  • Hello, I am installing zenphoto-1.4.0.2.tar.gz on Ubuntu 10.10. and I am facing the same problem.
    line 6 of zenphoto_sendmail.php already looks like this $plugin_is_filter = 5|CLASS_PLUGIN;
    Also let me know whats the url of plugin page.
    Thanks,
    Mallik
  • acrylian Administrator, Developer
    That page is quite obviously on the backend...
  • You need to re-save your plugins. There was initially a bug in that line that has been corrected. However unless the plugins are re-saved the database does not get corrected.
  • sbillard, thanks for your reply. I am new to the zenphotos and its not clear to me what do you mean by "re saving the plugins". I see five sub folders in the /zenphoto/plugins folder. none of sub folders contain any file. I guess I am missing something which is obvious to you guys. Please give me more details.
    I appreciate your help.
    Thanks,
    Mallik
  • acrylian Administrator, Developer
    Go to the plugins tab on the backend and hit "apply" again.
  • Hi acrylian, Kindly explain how to go the "plugins tab on the backend". I guess its a .php page which has apply button OR you want me to do changes in mysql DB.
    Please elaborate in detail. Thanks for your patience and help!
    Mallik
  • acrylian Administrator, Developer
    Visit the Zenphoto backend and you really should see it...
  • I scanned all the files but couldn't find it :(
    Can you help me?
    Mallik
  • acrylian Administrator, Developer
    Sorry, did you even take a look at what you installed and how to use it? No need to scan files. You really should know that there is an administration backend you have to login to use Zenphoto at all. There you find the tab...
  • Hi acrylian, Let me explain what has happened. I started the installation from zenphoto/zp-core/setup.php. then set up was completed and next task was to create administration account. Then account was successfully created and I am asked to login to the admin account with user name (which I have provided in previous step) and password shown to me on screen from CAPTCHA. When I enter the username and password (CAPTCHA) I get a message that "Mail send failed. There is no mail handler configured."

    So now I am locked. The admin account is created but I can not login since I don't get my new password on my email.

    >>>You really should know that there is an administration backend you have to login to use Zenphoto at all. There you find the tab...

    solutions mentioned in this thread don't help because I can not login to admin account. I guess I need to so some changes directly in DB.
    which will have same effect of "click the apply button on plugns page"
    to break this dead lock.

    I hope I was able to explain my problem.
    Thanks again for looking into this,
    Mallik
  • acrylian Administrator, Developer
    Well, how shall I/we know that when you don't tell all info to your issue in the first place? You talked about comments...

    After installing you should have entered a user name and a password of your choice. With that you should be able to login. No captcha needed to create that inital account at all.

    If you enter the captcha you actually reset the password. Of course if your mail handler is not configured no mail can be sent. Now you have to follow this instructions:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#16
  • Hi, please see my response below.

    Well, how shall I/we know that when you don't tell all info to your issue in the first place? You talked about comments...
    >>> sorry I guess I should have created a new thread for this though I did mention in beginning that I am doing fresh installation of latest release.

    After installing you should have entered a user name and a password of your choice. With that you should be able to login. No captcha needed to create that inital account at all.
    >>>I tried this but it did not work. If it had worked I wouldn't have come up with this issue in first place. Can you test this use case with the current release and confirm the issue.

    If you enter the captcha you actually reset the password. Of course if your mail handler is not configured no mail can be sent. Now you have to follow this instructions:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#16
    >>> This is the deadlock situation I explained earlier.

    Please let me know if I should create a new thread for this.
  • acrylian Administrator, Developer
    sorry I guess I should have created a new thread for this though I did mention in beginning that I am doing fresh installation of latest release.
    Yes, but yo udid not say that you have problems logging in. See:
    Hello, I am installing zenphoto-1.4.0.2.tar.gz on Ubuntu 10.10. and I am facing the same problem.
    line 6 of zenphoto_sendmail.php already looks like this $plugin_is_filter = 5|CLASS_PLUGIN;
    Also let me know whats the url of plugin page.
    We have no reports about not being able to create the master account and I did not encounter that myself. Sorry.

    You will have to look into your server's error logs. If you don't know where these are aks your host the same
    This is the deadlock situation I explained earlier.
    Where did you explain anything to this? You have to access your database using a tool like phpMyAdmin and delete a table (that's not the same as a "tab"...). If you don't know how to do this again ask your host.
  • I'm having this problem too. I also can't find the file
    zenphoto_sendmail.php

    Where is it located? I have the latest version of ZP.
  • acrylian Administrator, Developer
    It's a plugin so it is in `zp-core/zp-extensions`.
  • toxalot Member
    I have this same problem. I changed line 6 of zenphoto_sendmail.php and clicked Apply on the plugins page. I still get the following error message when posting a comment.

    Error posting comment:

    * There is no mail handler configured

    I tried disabling zenphoto_sendmail and then re-enabling it, and I still have the same error message.
  • well, certainly if you delete that line the plugin will never show up enabled! Leave the line in, then disable/enable the plugin. If it still does not work then you are not running the support updates. (Since you somehow did not mention your Zenphoto version as is required by our forum rules!)
  • toxalot Member
    I never said that I deleted the line; I changed the line.

    As stated in the second post in this thread, I changed line 6 to read

    $plugin_is_filter = 5|CLASS_PLUGIN;

    Sorry forgot the version: 1.4 [6454] (Official Build)

    I don't know what you mean by "running support updates". Is there some feature for automatic updates?

    ZenPhoto was installed via AppsUniverse provided by the host.

    The process to manually upgrade seems a bit of a pain for a minor release. I tried to check the changelog (clicked on the link on the download page) to see why I might want to upgrade, but the page is blank.
  • acrylian Administrator, Developer
    `$plugin_is_filter = 5|CLASS_PLUGIN;` is how the line should look.

    You need also to enter an email address on the main options to be able to send mails. It might be that mailing does not work on your server or the mail address is not right. Maybe also ask your host.

    Current version is 1.4.0.4 and we state clearly in several places (like the forum rules) that we can't support installation helper scripts.

    The upgrading is actually really easy. Thanks for the note of the changelog link on the download page. That links has a slash too much at the end (it would not have been that hard to find that category on the news section's sidebar though....)
  • The easiest solution would be for you to load the current version of the release--1.4.0.4--as this problem has long been fixed in these updates. But also you can just re-apply on the plugins tab after you have made that change. The original post also directed you to do that.
  • toxalot Member
    I understand that helper scripts are not supported. I only gave that for info. I thought there might be an update script. It sounded that way when you said, "not running the support updates".

    You come across as frustrated and rude when talking to users. But I am getting frustrated and angry because you seem to feel that you are superior. You accuse me of not reading the forum rules, but you can't even be bothered to read my post properly.

    I ALREADY TOLD YOU THAT I CLICKED APPLY ON THE PLUGIN PAGE. That is the second time you have told me to do something that I already clearly stated in my first post.

    I'm telling you that the fix stated in the second post of this thread did not work for me.

    If I am reading between the lines correctly, you are saying, "We don't care. There is a new release. Use that and don't expect any help from us in applying your own fix."

    Maybe you don't say that outright because you are not trying to be rude, but it's not working. I'm beginning to regret choosing this script.
  • acrylian Administrator, Developer
    Sorry if this sounded rude to you. You know written text comes often a little different than meant. We are really a small team of volunteers and we can only support the current release due to lack of resources. This is stated on several places on our site and the forum rules.

    Above you tell you use 1.4 which is clearly not the current. You did not tell if you tried that yet. There is no upgrade script, but how to upgrade is explained on our site. It is really not that hard.

    We don't support these helper scripts because we don't know what they do and we had often issues reported that were directly related to them doing something wrong . So we actualy don't care for these, right, and are a little tired to explain this all over again (exception might be SimpleScripts now as these guys had contacted us a while ago to improve their script - We don't know if they managed it though yet).

    Of course we care for our users and want Zenphoto to work for all but servers are not all the same. It may still be that the mail handler on your server is not configured correctly itself. Did you contact your host or consult its FAQ if anything special is needed?
  • Specifically, (trying not to sound too blunt) the 1.4.0.4 release is a BUG FIX release. If you are not willing to load a fix release then there is actally nothing we can do to help you. You stay on a release with bugs in it you maintain those bugs. Pretty simple? You actually have to install fixes to get them to work for you.
Sign In or Register to comment.