View/Preview not working
-
Hi,
I’ve installed the latest WP revision manually at my Fedora 35, mostly using these hints:
I’ve had Apache, PHP and mySQL installed already as I develop webpages from the scratch, so my local server is quite fine. It is a localhost, no virtual hosts etc – everything for offline web dev is working (obviously with online out connections).
Now, I’ve installed WP in:
/var/www/html/<some_webpage>/
directory, so /wp-admin, /wp-content, /wp-includes etc all are directly there. Installation itself was quick, with no errors.My issue is, when I choose “Posts” or “Pages” from left-hand side menu, and click “view” or “preview” in main pane under any of these posts or pages, blank webpage shows up and browser tab reloads it in a loop.
I’ve tried to investigate which element causes this issue and it looks like it’s a:
/wp-includes/template-loader.php
which specific line:
do_action (‘template_redirect’);Because I don’t know anything about WP – it’s why I’ve installed it to learn – I’d like to ask you what might be an issue here ?
All files/dirctories are recursively 755 with “apache” owner, so that’s not an issue. I’ve got no plugins installed (however elementor installed by curiosity doesn’t want to make preview as well), theme is 22 by default, I’ve got no templates (however Starter Templates plugin will not change anything).Any clues, please ?
Thank you in advance. -
Hi there,
The best place to get help with that is to post in the official WordPress.org support forums:
https://wordpress.org/support/forums/
The forum you have posted is for the WordPress.com hosting platform, which is different than the WordPress software that your site is using. You can learn more about these differences here:
-
Thank you for quick reply.
Sorry about this, I was in rush with multiple tabs opened, and eventually somehow presumed this one was a good place. I will try your link, I appreciate your help. -
- The topic ‘View/Preview not working’ is closed to new replies.