tamlyn / database-sync Goto Github PK
View Code? Open in Web Editor NEWWordPress database sync plugin
Home Page: http://wordpress.org/plugins/database-sync/
WordPress database sync plugin
Home Page: http://wordpress.org/plugins/database-sync/
Hi,
Awesome plugin!
Though, on one project iām trying to pull the DB from my dev-server (remote(digital ocean)) to my local dev.
Iām getting the error Sync failed. Invalid dump
While on an other project, same local dev, same remote dev-server, it works awesome.
Not sure what is happening. I might doing something wrong.
What should I check?
Hope you can help me out with this.
First off, we love your plugin. We've used it on 10+ projects and it makes multi-user development much easier.
For some reason I'm receiving an error when trying to pull from our remote->local database.
The error is Sync failed. Invalid dump.
I've done some debugging of my own to trace the problem. Line 81 of database-sync.php holds the $result of the post request. The response is over 500,000 characters so I'll save you the details and just give you the beginning (I shortened the file path too).
"
\nNotice: Undefined index: dump in C:\plugins\database-sync\database-sync.php on line 171"
The line being referenced is from the dbs_pull function. I had to comment out this if statement on my remote server to get the plugin to work.
if ($_GET['dump'] == 'manual') { .... }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.