GithubHelp home page GithubHelp logo

nasapress's Issues

Updated code

The latest commit was a few years. I am running into problems getting this theme to work with modern/latest wordpress, npm, yarn, etc.

Can you please update the codebase and provide new install instructions. We very much want to use this theme for a NASA public website.

NASAPress Live Preview and Customize Link

While testing in a multi-site instance of WordPress, I noticed the following behavior.

  1. Clicking on Live Preview option generates what appears to be an endless loop that eventually fails with a "The page isn’t redirecting properly" error. Functions.php does contain a note about the Live Preview button not functioning as expected.

  2. After activating the plugin, the theme has a Customize button. Clicking on it results in the same behavior as the issue noted above.

  3. After activating the theme, I clicked on the Customize link from the Admin menu. In the Customizer, there is a field called Active Theme. Normally, this field contains the name of the Theme. Instead, it contains a folder directory.

This is a great theme, though the directory structure is different from other WordPress themes I've reviewed.

Hoping there are plans to fix these bugs.

Thanks.

Odd Font Collision on Linux Chrome

Saw the announcement on Slack and figured I'd take a look. When I went to the Glenn site linked, I saw an odd collision on my Chrome browser:
screenshot at 2017-09-25 08-18-21
Note how the Glenn and the About Us are having a hard time together.

Now this is Linux + Chrome so the fault might be mine, but I'd thought I'd let you know. Note that the collision goes away at 110% zoom, so...maybe my default font size is too large?

Matt

PS: I like how at 150% zoom, it turns into a mobile-like site. Very cool.

Install does not work on ubuntu 22 or windows 10

Performed the following on a brand new install:

  • installed apache2, mysql-server, php8.1
  • install and setup latest wordpress and database
  • tested default wp site works
  • apt install nodejs
  • apt install npm
  • curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php
  • sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer
  • npm update
  • npm install --global yarn
  • composer update (from nasapress theme dir)
  • composer install (from nasapress theme dir)
  • apt install pngquant
  • apt install libpng-dev
  • yarn (from nasapress theme dir)

Yarn seems to work:
yarn install v1.22.18
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 14.12s.

However, we receive an error when trying to preview or load the theme

Sage › Error
Theme must be activated prior to using the customizer.

This is after clicking "Activate". After doing that, the entire site fails to load.

Apache error.log shows the following:

[Sat May 21 11:07:56.329934 2022] [php:warn] [pid 44368] [client 192.168.11.237:7980] PHP Warning:  file_put_contents(/var/www/html/wp-content/uploads/cache/compiled/f4727a5b4c8b9602fbc0a5ff2c6ea65496d4503d.php): Failed to open stream: No such file or directory in /var/www/html/wp-content/themes/nasapress/vendor/illuminate/filesystem/Filesystem.php on line 122
[Sat May 21 11:07:56.330031 2022] [php:warn] [pid 44368] [client 192.168.11.237:7980] PHP Warning:  include(/var/www/html/wp-content/uploads/cache/compiled/f4727a5b4c8b9602fbc0a5ff2c6ea65496d4503d.php): Failed to open stream: No such file or directory in /var/www/html/wp-content/themes/nasapress/vendor/illuminate/view/Engines/PhpEngine.php on line 42
[Sat May 21 11:07:56.330043 2022] [php:warn] [pid 44368] [client 192.168.11.237:7980] PHP Warning:  include(): Failed opening '/var/www/html/wp-content/uploads/cache/compiled/f4727a5b4c8b9602fbc0a5ff2c6ea65496d4503d.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/wp-content/themes/nasapress/vendor/illuminate/view/Engines/PhpEngine.php on line 42

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.