GithubHelp home page GithubHelp logo

database-sync's People

Contributors

miniragnarok avatar tamlyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

database-sync's Issues

Sync failed. Invalid dump.

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.

Error while pulling: Sync failed. Invalid dump.

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') { .... }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.