Comments (4)
Thanks for your feedback.
-
What web server are you using?
-
How does your directory structure look like for your Reflect site? I needs to look like this...
(your domain name e.g. example.com)/
├─ reflect/
└─ (your document root. e.g. public_html)/
├ index.php
├ css/
├ js/
├ .htaccess
Cheers!
from reflect.
i'm use openserver
(folder install)/
├─ (domains)/
└─ reflect/
└─ my-domain.com/
├ index.php
├ css/
├ js/
├ .htaccess
└─ modules
├ memcached
├ heidisql
from reflect.
In regards to line 14 on index.php:
require_once __DIR__ . '/../reflect/core/src/Controller.php';
The preceding '/' indicates an absolute path starting from the document root.
So based on the error you encountered, it seems like 'my-domain.com/' is not actually your document root. This could be due to your web server's virtual host configuration.
Try replacing line 14 on index.php with this:
require_once $_SERVER['DOCUMENT_ROOT'] . '/../reflect/core/src/Controller.php';
Does that work for you now?
If that does not work, then this probably means that 'my-domain.com/' is indeed not your document root.
from reflect.
Make sure that index.php sits inside your document root.
Your directory structure should look something like this:
(your domain name e.g. example.com)/
├─ reflect/
└─ (your document root. e.g. public_html)/
├ index.php
├ css/
├ js/
├ .htaccess
Also make sure that the folder you think is your document is ACTUALLY your document root.
from reflect.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reflect.