Find us on Facebook

LightBlog
Responsive Ads Here

Thứ Bảy, 24 tháng 2, 2018

Question:

My site seems to still be up and usable but I can’t access the ‘new post’ page. I get this error: Briefly unavailable for scheduled maintenance. Check back in a minute. It’s been that way since last night sometime. I did not do an update but perhaps WordPress did. I seem to be able to access all other areas of admin. I found several posts saying to delete the .maintenance file but I can’t find it and I’m really a novice – I need the simplest solution. Please help!

Answer:

maintenance file is invoked on the fly doing an auto upgrade. It is a hidden file like .htaccess files. Located in the root of your WP install, you can delete it using FTP program or loging in server and select to view hidden files. Please review this codex for more info: http://codex.wordpress.org/Common_WordPress_Errors#Maintenance_Mode_Following_Upgrade
Question:
Hi,
I activated a template and installed all the required plugin available there. I checked after installing the js_composer(visual composer plugin). I am getting the Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 1280 bytes) in /home/manimozhian/public_html/wp-content/plugins/js_composer/include/classes/settings/class-vc-license.php on line 155
As it is a required plugin I need that plugin to work.
PLz anyone help..
Thanks in advance.
Smita ðŸ™‚
Answer:

To solve this problem you have to increase memory limit
First you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.
Next, you need to paste the following code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’
define( 'WP_MEMORY_LIMIT', '256M' );
Question:
[ Moderator note: moved to Fixing WordPress. ]
Hey,
I want to upload and install a plugin and the size of the plugin is 6 MB. But as I click the install now button WordPress gives an error.
“The uploaded file exceeds the upload_max_filesize directive in php.ini”.
Please Help.
Answer:

1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M
2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.
3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account.
(in the above examples, the limit is set to 128MB)
See also: How do I Import a WordPress WXR file when it says it is too large to import?
Question:

I recently created a localhost version of W Pon Windows 7 for development purposes:
Using MySQL 5.7.17 which was already installed
Installed Apache 2.4.25 in the root C:\Apache24.
Installed PHP 7.1.3 at C:\PHP and checked for proper function
Installed WordPress 4.7.3 at C:\Apache24\htdocs\wp and generated wp-config.php appropriately.
Logged in to WP for the first time and allowed it to configure the database, etc.
Problem is when I login using http://localhost/wp/wp-login.php in Firefox or IE, I get the normal login screen, enter the correct credentials, and it redirects to view the localhost/wp/wp-admin directory contents. I then need to click on index.php to get to the dashboard.
When I enter http://locahost/wp in the browser, I get the directory contents for C:\Apache24\htdocs\wp.
I have tried all the recommendations at https://codex.wordpress.org/Login_Trouble, but to no avail.
The problem is probably something simple, but I am just not seeing it.
I appreciate any help!
Thanks… LTWert

Answer:

Check your .htaccess file in the WP root. Does it’s access rights allow WP to update it?
A typical WordPress standard section in this file looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
I.e. also check that mod_rewrite is active in your install. En easy way to check that is by running phpinfo()
Question:

Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details
This is the warning I get. Can you please help me out?
Answer:

The API has changed. You now need to get an API key from google dev console and pass it on as a param when loading the maps –
https://developers.google.com/maps/documentation/javascript/get-api-key
Then edit ‘post-google-map/map-lib/Google-Map-Class.php’ line 32 to include your API key;
$js_footer .= '<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&key=YourApiKey"></script>';
Question:

I have recently inherited this webpage account for our club. When I go to log into the webpage admin section it displays the following error:-
This page isn’t working
http://www.outandabout4x4club.org.au is currently unable to handle this request.
HTTP ERROR 500
I was advised by the previous user that all she did was try to update WordPress as advised, it then went blank and wouldn’t let her back in. I have tried everything to get it back up and running.
Please HELP! Many thanks.
Answer:

Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your Dashboard, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins(no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Seventeen theme to rule-out a theme-specific issue. If you don’t have access to your Dashboard, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.
If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.
If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that specific time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
Question:

I installed LAMP at AWS EC-2.
But I couldn’t install WordPress with this message
‘Your PHP installation appears to be missing the MySQL extension which is required by WordPress’
What should I do? As per the message on my site (This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the Apache HTTP server installed at this site is working properly.
) Apache looks to be installed properly.
I am just a very beginner!!
Answer:
If you’re a beginner, you probably should not be running a VPS on AWS. It calls for a lot of Linux sysadmin skills.
Try
sudo yum install php-mysqlnd