Git Product home page Git Product logo

Comments (2)

miconsult avatar miconsult commented on May 27, 2024

Just to elaborate:

After following the installation guide on read the docs I have done the following:

-> set up a mysql database, "midas" with midas as a user granting all permissions top that user.

I then goto the site http://midas/index.php/install and get the following screen:

screen shot 2015-11-18 at 9 00 49 am

Then I select "goto next step":

I get the following screen:

screen shot 2015-11-18 at 9 02 04 am

I then select the mysql database from the dropdown:

screen shot 2015-11-18 at 9 02 52 am

I fill in my credentials:

screen shot 2015-11-18 at 9 04 27 am

I then select "setup database and account" underneath the mysql filled in credentials. I do not set up any other databases. The following error appears:

screen shot 2015-11-18 at 9 05 59 am

These are lines 114-115 from the InstallController.php file

 if (!isset($sqlFile) || !file_exists($sqlFile)) {
                    throw new Zend_Exception('Unable to find sql file');
                }

Which in itself seems to be where the it fails. Further up in the code on lines 111 and line 112, the following appears:

$sqlFile = $upgradeComponent->getNewestVersion(true);
                $sqlFile = BASE_PATH.'/core/database/'.$type.'/'.$sqlFile.'.sql';

the other variable set there seems to be $type
Which is defined earlier in the script as $type = $this->getParam('type');

looking at the front end name="type" is not defined as I haven't selected a DB type.
screen shot 2015-11-18 at 9 29 31 am

I then select a DB type, but the value of the hidden input with POST name "type" doesn't update, which is what the InstallController.php script $type variable refers to.

Does any of that help?

I can replicate this EVERY time I goto install the Midas from the Docs. Help!

from midas.

bbenoist avatar bbenoist commented on May 27, 2024

@miconsult

Does anyone have this current version working, that was built from a scratch machine or VM?

Vagrant box is working for me but I'm still struggling to do the same with Docker images :rage4:

Would it be possible for one of the Devs to follow the instructions given to setup from scratch (on read the docs), with a VM?

You should be able to try it by yourself with the Vagrant box that's defined in the Vagrantfile file at the root of this repository. Provisioning is made with Ansible and files present in the provisioning directory.

If your vm-host OS is Windows, you'll need to reuse #236 😉

I can share my script for setting it up

If your scripts consists of one or more Dockerfile, publishing them might help #237

from midas.

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.