lesterchan / wp-dbmanager

Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
https://wordpress.org/plugins/wp-dbmanager/
71 stars 26 forks source link

Update wp-dbmanager.php #14

Closed flickster closed 9 years ago

flickster commented 9 years ago

Increase maxlength value from 100 to 105 for "Path To Backup" field (Row 644). On one particular host (123reg) the way they store files means that for longer domain names, the character limit exceeds the maxlength 100.

History: Updated an old WP installation. Host (123reg) had changed folder that client site resides in from 22 to 23. But the long domain name meant the total number of characters for the full path exceeded 100, so could not update the new folder path until the change was made to the core wp-dbmanager.php file. Understand this may not be universal, but thought would suggest it.

The 123reg path looks something like this: /websites/123reg/LinuxPackage##/accountname/fullwebsiteurl/public_html/wp-content/backup-db

Thanks