Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation #10

Open
shrinker31 opened this issue Apr 1, 2016 · 10 comments
Open

Installation #10

shrinker31 opened this issue Apr 1, 2016 · 10 comments

Comments

@shrinker31
Copy link

Hi,
I followed all the steps but when I open iscaffold I have a blank page. I tried to install on Mac with MAMP, I activated 775 permissions for the file in question, but still does not work. I do not know what's wrong. Please help me if you can.

Thank you.

@tiborsaas
Copy link
Owner

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

@olawolemoses
Copy link

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

@tiborsaas
Copy link
Owner

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

@olawolemoses
Copy link

thank you, but its showing blank now

@shrinker31
Copy link
Author

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. :)

@shrinker31
Copy link
Author

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

@Qoyyuum
Copy link

Qoyyuum commented Nov 27, 2016

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?

@advdi
Copy link

advdi commented Jan 10, 2017

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";

@Szistvan94
Copy link

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");

@Szistvan94
Copy link

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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants