Blank PHPMyAdmin and can't install WordPress

Hi,

I Suddenly can’t install wordpress from the WordPress Installer. It’s working before, but now it’s not.

When it’s in configuring step, it throws 404 error.

Another Problem is PHPMyadmin is throwing blank page.

OS:
Ubuntu 22.04 LTS

Cyberpanel Version:
2.3

Commit:
3f6e8ab4040cefaa2dfc4a0b5f6d48d495c5aadd

Full Mainlog:
[
[02.17.2024_18-41-13] {‘info@filipcz’: (451, b’4.3.0 info@filippoklllornz: Temporary lookup failure’)}
[02.17.2024_18-46-39] Config path: /etc/apache2/sites-enabled/podlahynevoral.cz.conf
[02.17.2024_18-47-56] ‘list’ object has no attribute ‘find’
[02.17.2024_18-48-26] Expecting value: line 1 column 1 (char 0)
[02.17.2024_18-50-30] Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.
[02.17.2024_18-53-10] Expecting value: line 1 column 1 (char 0)
[02.17.2024_18-54-17] Config path: /etc/apache2/sites-enabled/podlahynevoral.cz.conf
[02.18.2024_00-00-22] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.18.2024_00-00-22] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.18.2024_00-00-25] Creating website result…{‘status’: 0, ‘createWebSiteStatus’: 0, ‘error_message’: ‘Invalid domain.’}
[02.18.2024_00-00-25] ‘tempStatusPath’. [Cron.CheckHostName]
[02.18.2024_00-00-25] Creating website result…{‘status’: 0, ‘createWebSiteStatus’: 0, ‘error_message’: ‘Invalid domain.’}
[02.18.2024_00-00-25] ‘tempStatusPath’. [Cron.CheckHostName]
[02.19.2024_00-00-22] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.19.2024_00-00-22] {‘eg’: (451, b’4.3.0 example@examplg: Temporary lookup failure’)}
[02.19.2024_00-00-25] Creating website result…{‘status’: 0, ‘createWebSiteStatus’: 0, ‘error_message’: ‘Invalid domain.’}
[02.19.2024_00-00-25] ‘tempStatusPath’. [Cron.CheckHostName]
[02.19.2024_03-44-35] invalid literal for int() with base 10: b’0a’ [executioner]
[02.19.2024_03-47-18] Expecting value: line 1 column 1 (char 0)
[02.19.2024_03-47-35] Expecting value: line 1 column 1 (char 0)
[02.19.2024_03-49-58] [CheckIfSSLNeedsToBeIssued] We will issue SSL for testingwpkade
[02.19.2024_03-52-36] Config path: /etc/apache2/sites-enabled/testingwp.filkadesign.cz.conf
[02.19.2024_03-56-08] Expecting value: line 1 column 1 (char 0)
[02.19.2024_04-00-07] Expecting value: line 1 column 1 (char 0)

For WordPress installation error it’s this line:
[02.19.2024_03-52-36] Config path: /etc/apache2/sites-enabled/testingwp.filkadesign.cz.conf

For when PHPMyAdmin is blank it’s this line:
[02.19.2024_04-00-07] Expecting value: line 1 column 1 (char 0)

First thing, do you have wp cli installed? you can check by

wp --help

Yep, I think so.

Can you read the MYSQL Password section from here: Some Dont's After Installing CyberPanel!

There is MySQL root pass in /etc/cyberpanel/mysqlPassword can you use that password and logtin to MySQL as root? If not means your MySQL password is changed.

Yes, it is the right mysql root password and I can Login to the root mysql with that password.

hmmmm

Could be a potential bug, can you open ticket and send me ticket id here. please attach server logins with ticket.

thanks/.

This is the ticket number:
#OKHKKQPB2

Something is wrong with php 8.0 on your server, which CyberPanel use to install WordPress.

root@panel:~# sudo -u cyber2484 /usr/local/lsws/lsphp80/bin/php  /usr/bin/wp core config --dbname=5npp4Rgk64Ig3G --dbuser=5npp4Rgk64Ig3G --dbpass=--dbhost=localhost:3306 --dbprefix=wp_ --path=/home/cyberpanel.net/public_html/
PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 6995261 bytes) in Unknown on line 0

As the same command works fine with php 8.1

root@panel:~# sudo -u cyber2484 /usr/local/lsws/lsphp81/bin/php  /usr/bin/wp core config --dbname=5npp4Rgk64Ig3G --dbuser=5npp4Rgk64Ig3G --dbpass=--dbhost=localhost:3306 --dbprefix=wp_ --path=/home/cyberpanel.net/public_html/
Success: Generated 'wp-config.php' file.

Kindly revert any changes you have made to php 8.0

Hi,

We don’t do anything to that. We just install cyberpanel. At first it works now it’s never work anymore.

Never add anything. It’s just suddenly not working at all. Can’t it be set to php 8.1?

Yes, somehow all of the website that tried to install wordpress changed to php 8.0.

I think blank phpmyadmin also because of this?

I kinda find the problem!

The Memory Limit of PHP 8.0 somehow became 1024MB instead of only 1024M.

The PHPMyAdmin is now accessible.

Now, it’s only for the WordPress Installation error only.

I have Confirmed, Everything is WORKING now.

Okay, the main problem is somehow, the PHP config is setting the Max Memory Limit with additional “B” letter at the end, i.e. 1024MB. While actually it should be only 1024M.

Changing the string to the right format and saving and restarting PHP fixed the problem.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.