• Resolved Webby Scots

    (@webby-scots)


    Hi,

    I am writing here, because I know that Lester has stopped supporting his plugins, and I have just solved a major problem that I know a lot of people are having.

    I was using WP-DBManager happily on several sites on my Plesk dedicated server until about 6 months ago. Backups started failing with 0bytes file size. I didn’t have time to properly look into it until now, but today I finally did and I found the problem.

    I have written a post detailing what was causing the issue on Plesk and what I have done to solve it. I have also posted a link there where you cn download it from Github – read the post here WP-DBManager Stops Working After Update – Modified Plugin for Plesk

    https://www.ads-software.com/plugins/wp-dbmanager/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I am still maintaining my plugins actually =)

    Have you tested it outside of Plesk? or rather does your fix is specified to Plesk?

    If it is not specified to Plesk could you submit a pull request to https://github.com/lesterchan/wp-dbmanager?

    Thread Starter Webby Scots

    (@webby-scots)

    Hi Lester,

    You misunderstand. I read on forums.lesterchan.net that while you are still maintaining your plugins, that you had stopped offering support. It was not my intention to step on your toes in anyway, simply to help out anyone who is having difficulties with what is truly a fantastic plugin.

    Now, down to business. I said it was a Plesk fix is because I wrongly assumed this to be the case. However, actually on further investigation I have found that the problem is not down to Plesk or the inclusion of the port and sock in the command, rather that they are being setup incorrectly. In my original install of WP that I started using your plugin it was handrolled, it was when I moved from .co.uk to .com that I installed it from Plesk applications, and whereas I used only localhost as the host it had added :3306. The plugin checks for the port, but after exploding at : an if statement

    if (is_int($db_host[1]))

    is returning false because after being exploded it is being treated as a string – for example line 51 of database-backup.php. This causes the port to be used as sock instead. I have now pushed a new version to Git with a new name with the original command intact, but this fixed, so this makes it a widespread fix not related to Plesk.

    I posted here actually because I was hoping to attract your attention, and the attention of the community, because I know a lot of people have had the same issue as me with the backup failing and a 0bytes size file and, as my site is very new (new venture) I wanted to try and get the word out about it being a possible fix. I don’t know if I have done it in the right way – I am fairly new to actually putting my work out there, so if I have offended you or stepped on your toes I am sorry. If so, perhaps you can add me on SVN and I could post this as a patch, or you can do it and credit me with a link – the latter would be really great for me. I will update my blog with this update now, but after you fix I will delete the git and simply link to your main plugin.

    Plugin Author Lester Chan

    (@gamerz)

    Looks like a valid fix, I will get it back to the plugin ASAP.

    I think I would need your help if you can fork https://github.com/lesterchan/wp-dbmanager, (help: https://help.github.com/articles/fork-a-repo), then apply your fix to the forked repo then send a pull request https://help.github.com/articles/creating-a-pull-request =)

    Of course, I will credit you in the readme and the commit history would have your name since you submitted a pull request

    Thread Starter Webby Scots

    (@webby-scots)

    I have forked and sent pull request. Once you release the update I will do away with the other repo and adjust links accordingly. Thanks for the link in the readme – much appreciate. I previously had a writing business, did all the SEO and SM work there, now I have to start from scratch for this new venture so all help gratefully received.

    Plugin Author Lester Chan

    (@gamerz)

    Awesome, what is the link you like me to link to in the readme?

    Plugin Author Lester Chan

    (@gamerz)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP-DBManager Mod for Latest Versions of Plesk’ is closed to new replies.