Coder Social home page Coder Social logo

Installation about iscaffold HOT 10 OPEN

shrinker31 avatar shrinker31 commented on August 20, 2024
Installation

from iscaffold.

Comments (10)

tiborsaas avatar tiborsaas commented on August 20, 2024

Try to turn on error reporting, does PHP logs show you any error?

from iscaffold.

olawolemoses avatar olawolemoses commented on August 20, 2024

Mine is showing "Dotenv: Environment file .env not found or not readable. Create file with your environment settings at C:\xampp\htdocs\crud.env" please help

from iscaffold.

tiborsaas avatar tiborsaas commented on August 20, 2024

Oh, my bad. You need a .env file in the iScaffold root. Rename the .env.example to simply .env and setup DB connection details.

from iscaffold.

olawolemoses avatar olawolemoses commented on August 20, 2024

thank you, but its showing blank now

from iscaffold.

shrinker31 avatar shrinker31 commented on August 20, 2024

I find env.example, I renamed to .env, I write db connection details, and still nothing. I am a new. I have to read all instructions you give as. Thank You for fast response. Next week, I'll tell you what I learn. :)

from iscaffold.

shrinker31 avatar shrinker31 commented on August 20, 2024

Hi,
I have this in log:

PHP Fatal error: require(): Failed opening required '/application/libraries/dotenv/src/Dotenv.php' (include_path='.:/Applications/MAMP/bin/php/php5.6.10/lib/php') in /Applications/MAMP/htdocs/iScaffpro/index.php on line 9

Thank You

from iscaffold.

Qoyyuum avatar Qoyyuum commented on August 20, 2024

Hi Tibor,

Already tried renaming the file to .env but it doesn't work. It needs to have a file name. Or are we missing a dependancy in our machine?

from iscaffold.

advdi avatar advdi commented on August 20, 2024

I have the exact problem as @shrinker31 stated above. And here's what i've tried :

  1. Rename.env.example into .env and fill the details

  2. Edit the index.php and change

    require("/application/libraries/dotenv/src/Dotenv.php");
    require("/application/libraries/dotenv/src/Loader.php");
    require("/application/libraries/dotenv/src/Validator.php");

    into

    require __DIR__ . "/application/libraries/dotenv/src/Dotenv.php";
    require __DIR__ . "/application/libraries/dotenv/src/Loader.php";
    require __DIR__ . "/application/libraries/dotenv/src/Validator.php";

from iscaffold.

Szistvan94 avatar Szistvan94 commented on August 20, 2024

I have the exact problem as @shrinker31 stated above. And here's what i've tried :

  1. Rename.env.example into .env and fill the details

  2. Edit the index.php and change

    require("/application/libraries/dotenv/src/Dotenv.php");
    require("/application/libraries/dotenv/src/Loader.php");
    require("/application/libraries/dotenv/src/Validator.php");

    into

    require __DIR__ . "/application/libraries/dotenv/src/Dotenv.php";
    require __DIR__ . "/application/libraries/dotenv/src/Loader.php";
    require __DIR__ . "/application/libraries/dotenv/src/Validator.php";

Edit the index.php and change

require("/application/libraries/dotenv/src/Dotenv.php");
require("/application/libraries/dotenv/src/Loader.php");
require("/application/libraries/dotenv/src/Validator.php");

into

require("application/libraries/dotenv/src/Dotenv.php");
require("application/libraries/dotenv/src/Loader.php");
require("application/libraries/dotenv/src/Validator.php");

from iscaffold.

Szistvan94 avatar Szistvan94 commented on August 20, 2024

Hi Tibor,

Already tried renaming the file to .env but it doesn't work. It needs to have a file name. Or are we missing a dependancy in our machine?

Application/config/database.php

Change this->
$db['iscaffold']['dbdriver'] = 'mysql';

To this->
$db['iscaffold']['dbdriver'] = 'mysqli';

from iscaffold.

Related Issues (11)

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.