GithubHelp home page GithubHelp logo

Comments (4)

shamblett avatar shamblett commented on July 21, 2024

Hi ayeon,

File import has a bug in the beta6 issue that has been fixed, see issue 7, what I suggest you do is the following :-

  1. Force remove your Provisioner install so we start from a clean base.
  2. Re-install provisioner
  3. Get the file /core/components/provisioner/model/provisioner/provisioner.class.php from
    here and replace the on in your install(/core/components/proviosoner.....) with this one.
    This will get file import working.
  4. Import your files from the remote site, Provisioner will put these in its import directory as you say, from there you must use the local revo file manager or manual tools to move them where you want them in your local file hierarchy.

At the mo only ascii files are imported correctly, binary files such as gif files will probably fail with a '0 length' error. This is known but not fixed yet.

You don't need to touch index.php or anything else.

Hope this helps.

from provisoner.

ayeon avatar ayeon commented on July 21, 2024

Thank for quick reply.

The error in file import wasn't my concern at this moment. Everything imported thru Provisioner was located under "provisioner" context. If I create a document(webpage) with simple text only under "provisioner", and select "preview", then the fatal error occurs.

Finally I seem to avoid the error though. I simply set 0 to "haskeywords", "hasmetatags" fields in modx_site_content table. They were set to 1 if I create any document under "provisioner" context. I don't know the details but now I can view my page without error thru web browser.

Thanks again for all the support.

from provisoner.

ayeon avatar ayeon commented on July 21, 2024

Sorry. Now I understand better. Somehow the records from the tables modx_site_keywords, modx_site_metatags weren't imported to the new db. This causes the error. :)

from provisoner.

shamblett avatar shamblett commented on July 21, 2024

Yes, correct, this doesn't happen, there is an issue already raised about importing associated data with a resource, I'll leave this open and see what we can do here with meta tags and keywords.

from provisoner.

Related Issues (20)

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.