# PHP Fatal error (blank page)

**URL:** <https://community.dreamfactory.com/t/php-fatal-error-blank-page/929>\
**Category:** GitHub Installers\
**Created:** [March 17, 2015, 10:20am UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929 "2015-03-17T10:20:05Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roberto](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@Roberto](https://community.dreamfactory.com/u/Roberto)\
**Post date:** [March 17, 2015, 10:20am UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/1 "2015-03-17T10:20:05Z")

</div>

Hello:

I installed dreamfactory for Linux (Centos) with this instructions:

[https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-CentOS-RedHat](https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-CentOS-RedHat)

All ok, but I get a blank page with this log error:

mod\_fcgid: stderr: PHP Fatal error: require\_once(): Failed opening required ‘`[…path ommited by me…]/dreamfactory/platform/web/…/vendor/autoload.php’ (include\_path=’.:’) in […path ommited by me…]/dreamfactory/platform/web/index.php on line 54

I haven’t any directory called vendor, and haven’t any file called autoload.php. Really not exists!!.

Where I can download it?, or why has not been downloaded with git?.

Thanks!!.

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [March 17, 2015, 12:08pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/2 "2015-03-17T12:08:46Z")

</div>

What was the output when you ran the installer script? `install.sh` creates the `{installDirectory}/platform/vendor` directory, so if it doesn’t exist then I’d say something failed while running the script.

---

<div class="post-metadata">

**Author:** ![Roberto](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@Roberto](https://community.dreamfactory.com/u/Roberto)\
**Post date:** [March 17, 2015, 12:29pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/3 "2015-03-17T12:29:54Z")

</div>

Well, I have an dedicated server with some domains. I created a new subdomain like [apps.domain.com](http://apps.domain.com), and I have created the subdirectories inside…

/var/www/vhost/xxxx/xxxxx/apps.domain.com/dreamfactory/platform

dreamfactory and platform have 777 permissions, and user.apache modified (with chown).

In platform directory I have make:

git clone [https://github.com/dreamfactorysoftware/dsp-core.git](https://github.com/dreamfactorysoftware/dsp-core.git) .

And then I executed the installer:

./scripts/installer.sh –cv

The only error is changing permissions, but I resolved it with:

chown -R user.apache \* .git\*

In my httpd subdomain configuration (I use Plesk panel), I have set [apps.domain.com](http://apps.domain.com) to local path: /var/www/vhost/xxxx/xxxx/dreamfactory/platform/web

Now I access to [apps.domain.com](http://apps.domain.com) and I get a blank page with previous error that I have posted.

…/platform/vendor is not exists!!.

You think that problem is installer?.

Thanks!!

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [March 17, 2015, 2:14pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/4 "2015-03-17T14:14:45Z")

</div>

In Apache, have you enabled the rewrite engine and set AllowOverride to All?

---

<div class="post-metadata">

**Author:** ![metosx](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@metosx](https://community.dreamfactory.com/u/metosx)\
**Post date:** [March 17, 2015, 4:37pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/5 "2015-03-17T16:37:45Z")

</div>

Hi, I had the same msg cause the install script didn’t installall the dependencies :

> - info: Updating dependencies
> - error: Composer did not complete successfully (1). Some features may not operate properly.
> - info: Complete. Enjoy the rest of your day!

Trying this command :

> curl -sS [https://getcomposer.org/installer](https://getcomposer.org/installer) | php

I get an error :

> couldn’t connect to host

HTTPS ([https://getcomposer.org/version](https://getcomposer.org/version)) seems to be block by admins on this server.

I hope it can help.

---

<div class="post-metadata">

**Author:** ![Roberto](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@Roberto](https://community.dreamfactory.com/u/Roberto)\
**Post date:** [March 18, 2015, 9:17am UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/6 "2015-03-18T09:17:38Z")

</div>

Yes jeffreystables.

But the problem is that I haven’t /vendor directory.

Thanks.

---

<div class="post-metadata">

**Author:** ![Roberto](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@Roberto](https://community.dreamfactory.com/u/Roberto)\
**Post date:** [March 18, 2015, 9:52am UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/7 "2015-03-18T09:52:43Z")

</div>

I maked a new fresh install in /opt/dreamfactory/platform as said in Centos instructions, and I have the same problem. Directory /vendor is not exists!!.

Thanks!!.

---

<div class="post-metadata">

**Author:** ![cswallace](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cswallace](https://community.dreamfactory.com/u/cswallace)\
**Post date:** [March 18, 2015, 2:37pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/8 "2015-03-18T14:37:29Z")

</div>

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [April 8, 2015, 7:49pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/9 "2015-04-08T19:49:23Z")

</div>

The installer script uses composer to create this directory, among others. Are you certain you’ve set everything up with the proper permissions and have run composer successfully? If you are unable to manually tune your environment as needed, I recommend using a [Bitnami package](https://bitnami.com/stack/dreamfactory). Bitnami modules may be installed [from CLI as well](https://bitnami.com/forums/forums/ez-publish/topics/install-via-command-line).

---

<div class="post-metadata">

**Author:** ![aman\_sinha](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@aman\_sinha](https://community.dreamfactory.com/u/aman_sinha)\
**Post date:** [August 6, 2015, 9:46pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/10 "2015-08-06T21:46:44Z")

</div>

Was it resolved ?  
I have similar issue.

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [August 7, 2015, 3:40pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/11 "2015-08-07T15:40:56Z")

</div>

Hi @aman_sinha, you have installed in CentOS 7 following [the installation guide](https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-CentOS-RedHat), and the installer script failed to create /platform/vendor? Please document your issue better so we can troubleshoot.

---

<div class="post-metadata">

**Author:** ![icebox49](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@icebox49](https://community.dreamfactory.com/u/icebox49)\
**Post date:** [August 20, 2015, 1:06pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/12 "2015-08-20T13:06:12Z")

</div>

I am getting the same issue. Does not create vendor folder.

[/opt/dreamfactory/platform]# ls -la  
total 1268  
drwxrwxrwx. 14 apache apache 4096 Aug 20 12:55 .  
drwx------. 3 apache apache 4096 Aug 19 21:52 …  
drwx------. 5 ec2-user apache 4096 Aug 19 21:54 app  
-rw-rw-r–. 1 ec2-user apache 200 Aug 19 21:54 app.json  
drwx------. 4 apache apache 4096 Aug 19 21:54 .bp-config  
-rw-rw-r–. 1 apache apache 89 Aug 19 21:54 .cfignore  
-rw-rw-r–. 1 ec2-user apache 196 Aug 19 21:54 [CHANGELOG.md](http://CHANGELOG.md)  
-rw-rw-r–. 1 ec2-user apache 2581 Aug 19 21:54 composer.json  
-rw-rw-r–. 1 ec2-user apache 67375 Aug 19 21:54 composer.lock  
-rw-rw-r–. 1 ec2-user apache 1117978 Aug 20 12:55 composer.phar  
drwx------. 7 ec2-user apache 4096 Aug 19 21:54 config  
drwx------. 5 ec2-user apache 4096 Aug 19 21:54 docs  
-rw-rw-r–. 1 ec2-user apache 806 Aug 19 21:54 .dreamfactory.php  
drwx------. 8 ec2-user apache 4096 Aug 19 21:54 .git  
-rw-rw-r–. 1 ec2-user apache 366 Aug 19 21:54 .gitattributes  
-rw-rw-r–. 1 ec2-user apache 567 Aug 19 21:54 .gitignore  
-rw-rw-r–. 1 ec2-user apache 11358 Aug 19 21:54 LICENSE.txt  
drwxrwsr-x. 2 ec2-user apache 4096 Aug 19 21:59 log  
drwx------. 3 apache apache 4096 Aug 19 21:54 .openshift  
-rw-rw-r–. 1 ec2-user apache 568 Aug 19 21:54 phpunit.xml  
-rw-rw-r–. 1 ec2-user apache 38 Aug 19 21:54 Procfile  
drwx------. 2 apache apache 4096 Aug 19 21:54 .profile.d  
-rw-rw-r–. 1 ec2-user apache 3556 Aug 19 21:54 [README.md](http://README.md)  
drwx------. 2 ec2-user apache 4096 Aug 19 21:57 scripts  
drwxrwsr-x. 2 ec2-user apache 4096 Aug 19 21:59 storage  
drwx------. 4 ec2-user apache 4096 Aug 19 21:54 tests  
drwx------. 13 ec2-user apache 4096 Aug 19 21:59 web

Can you please provide a solution?

thanks,

ankit

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [September 8, 2015, 7:26pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/13 "2015-09-08T19:26:46Z")

</div>

What is the output when you run [installer.sh](http://installer.sh)? What is logged in installer.log? Have you followed [the CentOS install guide](https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-CentOS-RedHat)? Please provide additional specifics so I can replicate the behavior.

---

<div class="post-metadata">

**Author:** ![Roy\_Gomo](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Roy\_Gomo](https://community.dreamfactory.com/u/Roy_Gomo)\
**Post date:** [November 23, 2015, 5:46pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/14 "2015-11-23T17:46:15Z")

</div>

This is what I get and can’t seem to be able to fix the issue:

* * *

DreamFactory Services Platform™ Linux Installer [Mode: Local v1.3.10]

* * *

- info: Install user is “root”
- info: Composer pre-installed: /opt/dreamfactory/platform/composer.phar
- info: Checking for package manager updates
- info: External modules updated
- info: Checking file system structure and permissions
- info: Installing dependencies
- error: Composer did not complete successfully (2). Some features may not operate properly.
- info: Complete. Enjoy the rest of your day!

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [November 24, 2015, 1:14pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/15 "2015-11-24T13:14:32Z")

</div>

Did you run [installer.sh](http://installer.sh) with -cv as the options, as prescribed in the install instructions? ( [https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-CentOS-RedHat](https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-CentOS-RedHat) )  
You should have gotten more verbose output about that error with Composer.

---

<div class="post-metadata">

**Author:** ![RJP](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@RJP](https://community.dreamfactory.com/u/RJP)\
**Post date:** [April 17, 2016, 6:22pm UTC](https://community.dreamfactory.com/t/php-fatal-error-blank-page/929/16 "2016-04-17T18:22:10Z")

</div>

I ran into same issue.

Did a few things to get here on ubuntu 14.04…One is that I immediately scrubbed apache after downloading the php packages.

Next, i created a non-root sudo user ‘df’ and installed directly in that users home directory using git pull like so:

`sudo git init .`

```
sudo git remote add origin https://github.com/dreamfactorysoftware/dreamfactory.
git

```

`sudo git pull origin master`

then installed composer

```
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/loca
l/bin --filename=composer

```

the ran `composer install --no-dev` and got error on missing vendor file

Ran same with sudo and no problems…

`sudo composer install --no-dev`
