Default install of Sage 9 beta showing blank page

What’s the output of the page source - is it entirely blank? If so, sounds like you didn’t configure your devUrl (or publicPath) correctly in resources/assets/config.json as mentioned in https://github.com/roots/sage#theme-development

1 Like

Its completely blank with no stylesheet attached. The devurl is just localhost/sage9 which is the name of the wordpress installation folder in /var/www/html root (standard apache linux stack) and the PublicPath is /wp-content/themes/sage9 (same theme name as the wp installation folder.) There is no page source either!

Reinstalled Wordpress 4.8 in standard wordpress root folder and transferred the theme after changing dev and public urls, exactly the same error.

Again reinstalled wordpress with the 3 default themes, They are selecting and showing with 5 pages + menu etc fine. Intstalled and built Sage 9 beta, selected the theme, shows a blank page with no menu ? (Changed dev an public urls to suit)

Twenty Seventeen theme

Sage 9 theme

Can you screenshot your appearance/themes screen? Sometimes WP gets confused about Sage themes and tries to activate them from inside /resources.

As above ?

Its got a little worse, now after building everything with yarn in to dist folder and switching to sage9 theme, there are errors with illuminate, no uploads directory/files.

Have you run composer install from inside the Sage directory?

It should be giving you better errors even if you haven’t…

I reinstalled and built everything I ran composer install and its already done ie:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
[anton@localhost starter]$

Chrome console shows no sources whatsoever so it looks like wordpress is detecting the theme but not loading it correctly.

Not getting the illuminate errors now.

Check the permission of cache. For view the error message. set WP_DEBUG to true.

Any news with this problem, I’m getting exactly the same

Also experiencing the same blank screen. No errors, no source, nothing.

Check your PHP error logs. Usually this kind of behavior means that a PHP script is throwing a fatal error, but your server is not configured to print errors out.

1 Like

I get 3 warnings because “wp-content/uploads/cache/a6944b956f2942900cd20a06b07124e345620452.php” doesn’t exist. But there is no fatal errors. If I create the file I don’t get any errors, just a blank page with no php errors, just nothing.

Don’t create those files, they need to be automatically generated. Try removing your uploads/cache directory entirely.

See also: https://github.com/alwaysblank/blade-generate

1 Like

When I install Sage, it doesn’t create the “upload/cache” folder, that is why I get the error, I tried to create it by myself but it didn’t work.

I have tryed https://github.com/alwaysblank/blade-generate and it works! thank you very much!

2 Likes

For the include(): Failed opening… error. What I did is to create cache folder under uploads and it works.

1 Like

I’m using linux mint and when installing lamp I had the problem that when activating the theme I loaded blank only the file index.php solved it by adding permissions to the folder wp-content

chmod -v 777 wp-content

and uploads/cache could be created

and now everything works fine for me. :slight_smile:

:rotating_light: Don’t do this :rotating_light:

See Changing File Permissions – Documentation – WordPress.org

And https://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress

1 Like