I'm getting an error Missed schedule on WordPress. I get this error while I try to publish content or after I make a change something including updating some CSS(Customizer). I have never encountered such a problem before with WordPress. My server is completely under my control.
Checked in WordPress date and time
Checked server date and time
Checked PHP date and time zone.
Disabled all of the plugins and reactivated one by one still doesn't work.
I made research about that but most people are providing solutions with plugins. But I don't need to use kind of plugins.
OS: CentOS 7 64bit + Plesk Onyx
PHP Version: 7.4.8 run as FastCGI
Wordpress Version: 5.5
Theme: Generatepress
Somebody has fond a workaround: change CentOS+Plesk to Ubuntu+Plesk.
I have finally found a solution to the problem. Changing the system is not a useful option for me.
In this forum they explain the problem: here
And it brings us an explanation in the plesk forums: here
It is basically a problem in CentOS7, the UTC file is not valid and this causes problems in publishing changes in WordPress.
The problem is solved by replacing that file "/usr/share/zoneinfo/UTC" with a correct copy (I have taken it from another server with CentOS6).
And everything works correctly. You don't even need to reboot.
Related
I experienced strange behaviour of wordpress. Whenever I want to publish a post or page it says "Missed schedule". But I have no intention to schedule. I want to publish something directly.
Some times later (I assume when wp-cron runs) the pages gets published. But this bahaviour is immense problem for me developing the page, as the customizer crashes and is not able to update changes. Usually a "immediately" published post should be published, well, immediately. Never had this issue before on other systems. I do not need the scheduling function at all, but now I am forced to schedule anything?
Setup:
CentOS 7, PHP 7.4, Apache 2.4, MySQL (Fresh Setup of the LAMP Server) Als tried PHP 7.3/MariaDB.
Installation of latest wordpress 5.5.1 without any issues (but also tests with older versions caused the problem)
Check of Servertime vs. Wordpress timezone - everything fine here
Standard Theme adter installation, no plugins active!
Checked the rights for apache user, everything fine (755/644)
Checked the "run wp cron" plugins, but thats not solving the issue.
I assume there is some problem with wp-cron or the db but most probably my server setup is missing some dependency/configuration? (But I tried different Tutorials for installation, so must be something very basic...)
Somehow it seems like nobody every experienced this issue, as I googled for hours... Hopefully sombody with more backend experience can explain whats happening here and how to fix it.
Here is a picutre of how the workflow looks like
If you are publishing without schedule Wordpress will publish it unless something prevents it from happening.
There is a known issue where if you use localhost server may have issues with Gutenberg so for test purpose try https://wordpress.org/plugins/classic-editor/ and see if its fixing it for you. If it does its probably a problem with your server settings preventing the rest api to work or issue with wp-cron.php.
Same problem here with all installations of WP in a VPS.
No useful info on google.
Somebody has find a workarround: change Centos+plesk to Ubuntu+Plesk. This seems to work fine.
I have finally found a solution to the problem. Changing the system is not a useful option for me.
In this forum they explain the problem: here
And it brings us an explanation in the plesk forums: here
It is basically a problem in CentOS7, the UTC file is not valid and this causes problems in publishing changes in WordPress.
The problem is solved by replacing that file "/usr/share/zoneinfo/UTC" with a correct copy (I have taken it from another server with CentOS6).
And everything works correctly.
You don't even need to reboot.
I have this well known problem about a recently installed WordPress.org that has an error on any part that tries to connect to the WordPress.org servers (updating, installing plugins, insalling themes, etc).
Error message:
Warning: An unexpected error occurred. Something may be wrong with
WordPress.org or this server’s configuration. If you continue to have
problems, please try the support forums. WordPress could not establish
a secure connection to WordPress.org. Please contact your server
administrator.
I know that this sounds familiar. I've found hundreds of similar posts over the internet, but every single solution people give doesn't work. Some posts even have tens of completely different answers like "just do this" with only frustrated people that can't solve the problem with those (like me).
I've spent the whole day trying to fix it with no solution :( So, yes, I'm kind of almost hopless now. I'd really appreciate if someone can lend me a hand with this.
This is what I have:
A WordPress.org fresh install
MariaDB brand new database and user
Apache server ("httpd")
PHP 7.4
CentOS 8 in a GCloud VM micro-instance
A just installed LetsEncrypt certification
This is what I've tried:
Checked if cURL is installed
Checked that OpenSSL is installed
Manually added api.wordpress.org and downloads.wordpress.org IPs in my hosts file
Checked that my firewalls allow 80 and 443 ports traffic in and out (gcloud and CentOS iptables/firewalld)
Checked that ;extension=curl.so is present in my php.ini
Checked that the vhost is correct in the apache conf file
Checked that I can ping both WordPress URLs
Prooooobably I've tried some other things, but I cannot remember now (seriously, I'm into this for like 7 hours now)
If someone has a clue on how to solve this, I'd be really happy. I can send any other information, log, or anything that is needed. And, BTW, I started learning about admin and creating webservers a few weeks ago, using a CentOS netinstall in a local VM and using it as a simulation; I created the webserver, created a wordpress website, and everything went juuust fine... it's only this real VPS in gcloud that gave me this problem :(
Don't know if you solved your problem, if not, read that:
I've had the same pb and done all things you do.
I run a up to date CentOS 8 with a fresh install of an up to date wordpress.
Answer
I found my solution here : An unexpected error occurred. Something may be wrong with WordPress.org
Open /etc/selinux/config and change the line SELINUX=enforcing to SELINUX=permissive
and reboot.
so simple... My problem is solved now. I removed all other changed I've done (wp_config.php, cURL.php, hosts, ...)
Thanks you Abu Bakar
I am plannig to start a simple php application to do that I instaled Mamp because I worked with it before, it is good, but now I am facing a problem, as the title says, my Apache Server is not starting, it starts and then when MySql starts it stops, I did not understand what was happening so I tried some solutions I found here in stackoverflow.
One of the solutions suggested that this is a problem in the latest version 4.1.1, so he provided a link to the previous version 4.1 and it is true because this problem was not there before, I took the exe file and installed it but I had the same problem, maybe Mamp version changing has helped him but did not worked for me.
The second solution is a solution that has been suggested by many people, and I think it is a solution, but I could not implement it and that's why I am here.
The solution says that changing the php version in the Mamp - Preferences - php to 7.2.14 instead of 7.3 solves the problem, I tried it but I get an error, Windows interface pops up and saying that something in not found, I did not get what was that, and googled it but I am still unable to understand what is missing and I feel like that nobody before me faced the problem x).
The message in french but here is what is saying :
The processus starting point zend_wrong_parameter_count_error##16 is
not found in the library of dynamic links.
C:/MAMP/bin/php/php.7.2.14/ext/php_gd2.dll
I think the message is clear, something is missing, and it is this file php_gd2.dll, I checked and it is true, but how am I going to add it correctly ?
I downloaded the file from a website and added it to my php7.14.2 folder but I get the same error.
Any help would be much appreciated, I wanted to start the app a month ago and faced this problem and then changed my plans just because of it and now I need to fix it to move on.
I am trying to install PHP on my IIS web server running version 7.0. I downloaded the php-7.1.8 Non Thread Safe for Windows 64. I then procceded to follow the steps found here: https://www.howtogeek.com/50432/how-to-install-php-on-iis-7-for-windows-server-2008/.
I had no issues with the install but when it came to the last step of creating the test PHP page and launching, instead of getting the results, i'm being asked to Open or save the file??
I've also tried putting this into a live website and accessing it outside the web server. When I try this I receive a 500 - Internal Server Error.
I had tried this about a year or two ago and got frustrated, so I gave up and have retried today but experiencing about the same result. Don't know what other information would help, but i'm willing to provide what's necessary. Thank you for any help.
After continuing research I ended up using the Windows Installer version (https://www.microsoft.com/web/platform/phponwindows.aspx) and then went back through the configuration steps of the php.ini file.
I am running a PHP site that uses Ajax and jQuery as well. The site will run fine for quite some time, and suddently my pages (and ajax-retrieved sub-pages) comes back with the message
PHP has encountered an Access Violation at 77FCAFF8
It seems that rebooting the server corrects the issue. Running PHP Version 5.1.6 (Windows NT 5.0 build 2195). I did a some searching on here and some other sites, and there seems to be no fix..
URL REMOVED
UPDATE:
I think I'm on to something.. will get back to you.
UPDATE
After reviewing the IIS setup, i noticed there was no Handler Mapping setup for the website. This, of course begs the question - how did it ever work in the first place, when it was originally setup this way!? I added the handler mapping and it seems to be Okay so far.
UPDATE
The problem popped its heads out again this morning after 36 hours without encounering it. Back to the drawing board.
UPDATE
We ended up just moving the site to a secondary web server where we were able to upgrade PHP without an issue.
This is a PHP issue somewhere. You could spend some time narrowing down which function you're using that is causing the problem. I would instead upgrade to a newer version of PHP. If still no luck, try a slightly older version. There have been significant changes with version 5.3.2.
After some research I think this may be the solution (Taken from http://bugs.php.net/bug.php?id=28929 ):
[2010-06-11 15:12 UTC] in2ishun at yahoo dot com
***************** SOLUTION!!!!
I realize this issue is AGES old, but it still manages to be the top hit on Google searches as of now (6/2010).
I fixed my own instance of seeing this error. W2k3, IIS6, PHP 5.2.6, MySQL 5.1.
The problem is in the pathing. When I used the MSI installer for MySQL without doing an "advanced" installation (where I could manage the install details), it added a path to the system environment that contained spaces. Even after changing the path environment to use the Windows short-name location of the mysql bin directory, it still didn't work.
The solution was for me to reinstall mysql and set the default installation path to just off the root (e.g. C:\mysql). Once I did that the error went away and my app started working.
There are a number of sites with a variety of potential solutions to this issue and several of them mentioned paths and the "libmysql.dll" file (in the "bin" directory of your mysql installation).
If this helps you solve your problem, consider leaving a comment here so others can see that it works.