Comments (12)
Its I the php.ini file
IIRC the steps:
$ vagrant up
$ vagrant ssh
$ php --ini
should return the path to the PHP configuration file used by Apache.- Edit this file (vim, nano, whatever).
- Search for
short_open_tag
and change fromfalse
totrue
$ sudo service apache2 restart
from wpdistillery.
Its I the php.ini file
IIRC the steps:
$ vagrant up
$ vagrant ssh
$ php --ini
should return the path to the PHP configuration file used by Apache.- Edit this file (vim, nano, whatever).
- Search for
short_open_tag
and change fromfalse
totrue
$ sudo service apache2 restart
@johnpitchko
Worked for me thanks
from wpdistillery.
Same here. I tried downloading https://github.com/flurinduerst/WPSeed/archive/master.zip and checked the functions/functions-dev.php
file on https://phpcodechecker.com and that didn't seem to have a problem with it. I'm not sure what's wrong with it.
I had to set:
theme: false
at the bottom of wpdistillery/config.yml
to get WPDistillery to install.
from wpdistillery.
The default theme, WPSeed, requires the PHP-Setting short_open_tag to be set to true
. I'm pretty sure the error is caused because it's on false
on your webserver/VM.
Please let me know if that's the case, so we can close the issue or start further investigations.
from wpdistillery.
from wpdistillery.
I confirmed the issue is caused by the short_open_tag setting
@flurinduerst what is the best resolution? My belief is that wpdistillery should work 'out of the box', so perhaps the default theme could be changed to something else?
from wpdistillery.
hi @johnpitchko i have the same issue, where do you set the short_open_tag?
from wpdistillery.
@johnpitchko thx, i will check it out
from wpdistillery.
Hi
I have this same issue when installing word press from WPDistillery.
I edited the file /etc/php/7.0/cli/php.ini and search for short_open_tag
and this is what I saw
short_open_tag = off
do I change this to "on"? also this file php.ini is "read only file"...how do i change this
rgds
kish
from wpdistillery.
yes @kranai. short_open_tag
should be set to on
when using WPSeed. (Feel free to use any other theme if you don't want to change that setting).
johnpitchko wrote down how to set it to on
two posts ago.
from wpdistillery.
from wpdistillery.
Hi Kish, please open a new issue for this as it is not related to the topic of this issue.
Also, please
- show us your config.json
- let us know what you see when accessing the local IP
- let us know if you encountered any errors in the process
- let us know what version of WPDistillery you're using.
-> at 192.168.33.10 you should see the WordPress Frontpage without any CSS because you didn't run npm/gulp from WPSeed at that point.
from wpdistillery.
Related Issues (20)
- Scotchbox, vagrant and wordpress localhost error HOT 1
- PHP warnings on vagrant up / vagrant provision with WPSeed HOT 3
- Error on vagrant up with WPSeed HOT 1
- Install multiple themes HOT 4
- Improve Performance on Windows HOT 4
- config.yml error in Theme section HOT 1
- How can I remove plugins? HOT 2
- wpdistillery.vm can't be reached HOT 5
- Add Remote DB Support HOT 1
- Install fails at theme HOT 4
- Unable to Install on ScotchBox Pro HOT 4
- Wordpress runs but i can't open any post,comments ,archives.. etc HOT 2
- How To Use Multisite Fork HOT 1
- Clean install, Call to undefined function wp_dashboard_setup() when trying to access /wp-admin HOT 3
- Guest Additions required but not installed HOT 6
- Public URLs HOT 1
- Vagrant Up stops after dos2unix install HOT 1
- Outdated guest additions HOT 1
- WPDistillery Script Aborts towards end HOT 5
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 wpdistillery.