Giter Club home page Giter Club logo

Comments (12)

johnpitchko avatar johnpitchko commented on September 2, 2024 1

Its I the php.ini file

IIRC the steps:

  1. $ vagrant up
  2. $ vagrant ssh
  3. $ php --ini should return the path to the PHP configuration file used by Apache.
  4. Edit this file (vim, nano, whatever).
  5. Search for short_open_tag and change from false to true
  6. $ sudo service apache2 restart

from wpdistillery.

renansavidan avatar renansavidan commented on September 2, 2024 1

Its I the php.ini file

IIRC the steps:

  1. $ vagrant up
  2. $ vagrant ssh
  3. $ php --ini should return the path to the PHP configuration file used by Apache.
  4. Edit this file (vim, nano, whatever).
  5. Search for short_open_tag and change from false to true
  6. $ sudo service apache2 restart

@johnpitchko
Worked for me thanks

from wpdistillery.

philgyford avatar philgyford commented on September 2, 2024

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.

flurinduerst avatar flurinduerst commented on September 2, 2024

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.

johnpitchko avatar johnpitchko commented on September 2, 2024

from wpdistillery.

johnpitchko avatar johnpitchko commented on September 2, 2024

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.

ragotrebor avatar ragotrebor commented on September 2, 2024

hi @johnpitchko i have the same issue, where do you set the short_open_tag?

from wpdistillery.

ragotrebor avatar ragotrebor commented on September 2, 2024

@johnpitchko thx, i will check it out

from wpdistillery.

kranai avatar kranai commented on September 2, 2024

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.

flurinduerst avatar flurinduerst commented on September 2, 2024

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.

kranai avatar kranai commented on September 2, 2024

from wpdistillery.

flurinduerst avatar flurinduerst commented on September 2, 2024

Hi Kish, please open a new issue for this as it is not related to the topic of this issue.

Also, please

  1. show us your config.json
  2. let us know what you see when accessing the local IP
  3. let us know if you encountered any errors in the process
  4. 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)

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.