Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author zingiri

    (@zingiri)

    Is this a new installation or an upgrade? What version are you using?

    Error while installing the plugin on wp 3.2.1

    Plugin Author zingiri

    (@zingiri)

    It would be helpful if you provide a bit more info about the error you’re encountering …

    Zingiri,

    I can’t say what the others encountered, but here is the error I get when installing on WordPress 3.2.1 on a WinXP machine:

    Plugin could not be activated because it triggered a fatal error.
    Could not create phpList database tables

    If there is anything else I can tell you that would help, let me know.

    Plugin Author zingiri

    (@zingiri)

    Local installations are always the hardest to debug. Most likely curl missing, permission problems or really a database access problem.
    I suggest you try on a hosted Linux server.

    Zingiri,

    Thank-you for the reply. It’s a long story, but I have to develop locally for now and I will be uploading later (hopefully in the coming few weeks). I’ll try again at that time when I can work on the host.

    uacstudios

    (@uacstudios)

    I found this error was because the server my website was hosted on didn’t resolve the website’s DNS name locally. Therefore, when cUrl tried to visit a URL to create the databases, it was failing to visit the local server. Append these two lines immediately after “function zing_mailz_activate() {” on line 115 of the mailz.php file in the root of the plugin:

    error_reporting(E_ALL);
    ini_set('display_errors', '1');

    If it is the same error, it will show you the URL which could not be resolved. You can visit this URL manually to create the tables in the database (hence the error when this is not done). Then retry activation and it should work.

    (Sorry if this doesn’t make much sense, written in a hurry).

    uacstudios

    (@uacstudios)

    Also worth noting that this (cUrl to local address) seems to be the method that the plugin uses to display pages in the admin panel. Maybe a solution to the dev would be to have an option to use a proxy for the cUrl parts.

    Geoff Wass

    (@geoff-wass)

    uacstudios,

    Thank-you for your message. You know more about this stuff than I do. I placed your snippet of code into mailz.php and got this when I tried to activate the plug-in on my local PC:

    Warning: HTTP Error:22/The requested URL returned error: 400 at https://localhost:28860/wp-content/plugins/mailz/lists/admin/index.php?plugin_status=all&paged=1&s=&page=initialise&firstintall=1&wpdb=DiNuovo2&wpf=wp_&wph=localhost&wpu=wordpressuser&wpp=MySQL123%21&wppageid=&wpsiteurl=http%3A%2F%2Flocalhost%3A28860 in C:\Documents and Settings\Work\My Documents\My Web Sites\DiNuovo2\wp-content\plugins\mailz\classes\http.class.php on line 186
     Could not create phpList database tables

    I have a feeling this is the same issue as you described. I am sure it will be useful to Zingiri.

    Thank-you again for sharing this.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Mailing List] fatal error when activating plugin’ is closed to new replies.