i'm working on word-press to create eCommerce website and i have face same problem.
i'm working on PC using XAMPP in localhost server. i have create new page in word-press and after that when i have publish the page and then i click on view the page to see the page whose the page look like ,the page show error "object is not found".
also error in menu on website link navigation.
i have already set permalinks as post name.
and now i have search many time on google but i doesn't found any solution.
i'm very feel frustrating.
please help me to find out the solution.
Are the links defined correctly in your database corresponding to your local Wordpress installation?
If yes, maybe FollowSymlinks are disabled and hence your Permalinks are not working correctly.
See the accepted answer from this SO thread:
Wordpress and Xampp not open child pages
Hope this helps.
define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
define('SAVEQUERIES', true);
ini_set( 'log_errors', 1 );
ini_set( 'error_log', WP_CONTENT_DIR . '/debug.log' );
add these lines in wp-config.php and then visit the page, this will not resolve the error but create a debug file in the wp-content folder so you can have the better idea where the issue is.. :)
Related
Greyed out URLs on WordPress
We have found similar thread about this issue here on SO but we're not coders or programmers so if anyone could explain step-by-step in idiot-proof layman's terms how to edit these greyed out URLs, it would be super appreciated - thanks! (picture in link)
There are many ways to change the greyed out URL.
Here I have shared all 3 methods for the same.
1) Change WordPress Site URLs from Admin Area
This is the easiest method to change the greyed out URL.
Simply login to your WordPress website and go to Settings » General page. From here you can change WordPress site URLs under the ‘WordPress Address’ and ‘Site Address’ options.
2) Change WordPress Site URLs Using functions.php File
Please follow below path and open functions.php file
go to /wp-content/themes/your-theme-folder/.
Next, you need to add the following code at the bottom:
update_option( 'siteurl', 'https://example.com' );
update_option( 'home', 'https://example.com' );
3) Change WordPress Site URLs Using wp-config.php File
Simply open wp-config.php file from your root directory
You need to add the following code just above the line that says ‘That’s all, stop editing! Happy publishing’.
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
Also, you do with the database but I am not recommended.
I am creating a WordPress theme in the localhost. I do not know why I see a white screen when I logout from the dashboard.
If I login again into the dashboard I can visit the site again. Everything is working good.
Note: If I change the theme, the issue is gone by then.
There might be some Error in the new theme you are creating.
You can go to Wordpress root directory "wp-config.php" file and add a line
define( 'WP_DEBUG', true )
That will display you the error instead of the white screen.
define( 'WP_DEBUG', false ) can add this in wp-config to check
Wp-admin or wp-login.php is blank. First time I'm having this problem.
I use godaddy basic wp plan. I can't reinstall wordpress
But I have tried by changing the "wp-Sg7k4r-options" folder name.
I renamed the theme and trying to deactivate plugins. But still I have the problem. The "information -scheme" shows some plugins still active.
I don't understand what to do? Can anyone help me?
The answer is simple:
Turn on WP Debug.
There is a good chance that you are seeing the error because of any PHP errors. And once you turn on WP_DEBUG, it will show you all the errors which you can track and fix the error.
How to debug:
Open wp-config.php file in your editor and add the following code to it.
define( 'WP_DEBUG', true );
I am trying to figure out why I am getting a white screen/blank page... I first experienced this when editing a page. After I hit update, the post.php page went blank. When I tried to access the site (top level) it was a blank white page. When I went home, to a new network, the site worked just fine. So I began editing the pages again. I hit update again, and got the white page again. Can't see the front end of the site either. If I access the site from my phone, not using wifi, I can see the site. But here is the kicker... If I try to access ANY Wordpress site on my server, I get a blank white screen. I've searched and can't find anyone who has experienced this? Any help or direction is much appreciated. This is a new VPS server from HostGator. I have contacted HostGator but so far they haven't been able to replicate it.
White screens are PHP errors. Try Debug and see what PHP errors you are getting.
See https://codex.wordpress.org/WP_DEBUG
Add
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
in wp-config.php and the debug.log file will be in wp-content.
Add this line
define( 'WP_DEBUG_DISPLAY', true);
to wp-config.php to log and dump them to the browser.
For me this was a conflicting plugin - Yoast SEO - I disabled it and it stopped the error.
It occurred whenever I tried to update a post as an admin user.
I have a website on SHIVAPALACE.IN but it is not opening, the admin panel works fine but the front end doesn't open and no error is shown, i have tried to delete my .htaccess and create a new one but nothing works. only a blank page is seen. Can someone help me?
Thanks & Regards
Akshat
Update 1.0
Try this method.
1.Add the following code in your wp-config.php file.
error_reporting(E_ALL); ini_set('display_errors', 1);
define( 'WP_DEBUG', true);
2.Disabling All Plugins
3.Increasing the Memory Limit
If all above didnt work. Then it is a strong indicator that your web hosting provider is having some issues