The MyBB upgrage 1.6 > 1.8 stucks on Database updating - php

I attempted to upgrade my MyBB forum from 1.6.18 version to 1.18.21.
The script stuck at Database updating:
Updating Database
Performing necessary upgrade queries...
Click next to continue with the upgrade process.
Then instead there is a button that can't be clicked [Automatically Redirecting...]
My site is hosted on a free hosting, so I thinked it is not much powerful to do an ugpgrade, also if my db is not so big, just 55mb.
Then I setup AAMPS on my pc and tried on that.
I edited mysql config file to increment max_allowed_packet to 1000m
But incredibly............ it stucks EXACTLY at the same point with the same result. I left the page for more than 1 hour and it's still stay on the Updating Database page.
Can someone help me please?
I maybe should edit some php or mysql config?

Firstly check the current minimum requirements to upgrade to make sure that you have
enough resources like PHP version, Mysql and diskspace, etc...
If you are on Chrome, you can use the Developer tools to inspect the page and look for any console error. Another way to detect the issue is to enable the warnings in php.ini file. This would help us identify the issue and then we can look forward to solutions to resolve the same.
Reference to enable warning:
Showing all errors and warnings
Give this a try and post back with the errors you have identified and we shall try to resolve it.

Related

Wordpress post/pages not publishing immediately -> missed schedule instead

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.

Why I get this error everyime? `Missed schedule`

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.

Drupal 8 already installed, and sometimes it doesn't. Can PHP fix this?

I downloaded Drupal 8 connecting to IIS, and mysql (mssql as well). When I proceed to install Drupal 8, it tells me that it is already installed. When I delete settings.php, it sometimes would actually install all the way. Sometimes it just says batch error. Other times Drupal says "already installed".
I notice when the site loads, it takes a long time saying "waiting for localhost".
I have php storm running proficiently but it did not find the errors. So maybe it wasn't the file itself.Is there a specific way php storm can fix this?
If anyone can please help me, feel free, I really need guidance for this.
Below are images to what is on my screen.
Link to how I set up the entire file/process. I am aware its mssql. I used both
Other times, it displays a no active batch error.
This only occurs with Drupal 8. WordPress, Joomla, and Drupal 7 works perfectly.
You can fix this issue by copying code of default.settings.php into your settings.php and install it into empty database.
It's normally occurs when you really have the Drupal installed on your database.
Try to delete the database that is configured on your settings.php and run the /install.php again.
It will solve your problem.

How to fix WhiteScreen in Easyphp while installing Prestashop for the first time?

i´m new to this place and new to the hole programming stuff so please be patient.
I started the try to install Prestashop on Easyphp Devserver for my own and had a few Problems i solved allready but for my actual Problem i didn´t find an answer on the internet.
I´m using Easyphp 16.1 and want to install Prestashop 1.6.0.5 on it. I created a database via phpmyadmin, my http server is running with php 5.6 and even my database server is running with mysql.
Now i started the installation and it worked fine till that point when the installation should start. Everytime i start Step 6 "istallation" i get an White Screen instead of an bar that shows me the installationprocess going on.
First i´ve been reading about an error in cause of Ressource-configurations that may be increased. I did. No Change.
Then i saw an commendation in Step 3 when my Systemcompatibility got checked from the istallguide that is (roughly) "No PDO for mysql".
I activated it in the php.ini file and checked wheter its activated and sure it is now. But my white screen appears still everytime i try to install.
Somebody now ideas what i could do?
Many Thanks :)

Installing wordpress on WAMP gives empty tables only

I’m installing wordpress on WAMP and i have problem.
nstallation is not completed properly and all database tables are empty ( wp_users are empty ). Not sure how it manages to create tables but not enter data. after last step of wordpress install, page is not loaded completely, it doesn’t say “WP installed and you can now login". Cannot login(login error). I tried creating new user for database with all privileges and using these details for installation. Still doesn’t work. All database tables are empty, something is preventing entering sample data and I’m not sure what this could be.
Wamp server is working ok! (apache and mysql run and work).
Check your php error log and apache error log. The issue is probably that the script is timing out somewhere in the database creation and load step.
If so try increasing the max_execution_time in your php.ini.
Edit the php,ini using the wampmanager menu system to ensure you are editing the correct file.
Try changing it temporarily to a larger number like
max_execution_time = 240
But change it back to something sensible like 30 or 60 once the install has completed.
I had this problem and I resolved incrementing max_execution_time until 240.
Thanks!
I did some research on Google and it turns out more people are having these problems on WAMP and in most cases they are adviced to check if their PHP version isn't too low - i'd suggest doing the same, so:
Make sure your A-M-P environment meets the Wordpress requirements (A-M-P versions and required mods).
Make sure the user in database you are passing credencials for in installation steps have all required privileges (and FLUSH PRIVILEGES).
P.S. Some person asked yesterday similar question on official WordPress forums - there is no answer so far, but following this topic won't hurt:
http://wordpress.org/support/topic/installing-wordpress-on-wamp-gives-empty-tables-only

Categories