I have successfully setup multi site in wordpress, hosting on my own server.
I am able to access both websites, which we will call site1.com and site2.com for our purposes.
I can log in to site1.com/wp-admin without a problem, however when I try to go to site2.com/wp-admin, I get the generic apache error:
The requested URL was not found on this server.
I have no plug ins installed, I have replaced my .htaccess file as per instructions when configuring the multisite mode. As well as edited the wp-config.php as instructed.
Not sure what is going on, I’ve been trying to read multiple posts similar to my issue, but nothing seems to be working.
Any help is appreciated!
]]>I specify that the PHP-Mysqlnd library is installed.
System:
CentOS Linux 8.2.2004
Webmin 1,953
Virtualmin 6.10
Nginx
PHP 7.2
Log error Nginx:
[error] 19696 # 0: * 16 FastCGI sent in stderr: “PHP Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP) in / home / myvideoimage / public_html / wp -includes / load.php on line 141 “while reading response header from upstream, client: 192.168.1.12, server: myvideoimage.com, request:” GET /wp-admin/install.php HTTP / 1.1 “, upstream:” fastcgi : // unix: /var/php-nginx/159611529162207.sock/socket: “, host:” 192.168.1.13 ”
2020/08/01 09:44:09 [error] 19696 # 0: * 16 FastCGI sent in stderr: “PHP Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP ) in /home/myvideoimage/public_html/wp-includes/load.php on line 141 “while reading response header from upstream, client: 192.168.1.12, server: myvideoimage.com, request:” GET / wp-admin / install. php HTTP / 1.1 “, upstream:” fastcgi: // unix: /var/php-nginx/159611529162207.sock/socket: “, host:” 192.168.1.13 ”
Do you have any idea about the problem and how to solve it?
I tried to insert the line: define (‘WP_CONTENT_DIR’, ABSPATH. ‘Wp-content’);
at the end of wp-config.php, but it doesn’t work.
Thank you very much.
]]>I have several sites installed on a LAMP Ubuntu server managed by Virtualmin/Webmin (on DigitalOcean).
Wordfence is working ok until now, but each time I’m adding a new site and a new wordfence install, firewall does not activate, but only after restarting Webmin service.
So, first step is activating firewall (download htaccess etc.) but the message received is that the firewall is not activated yet. Waiting several hours the situation is the same. Proceed to restart Webmin cpanel, and voila, wordfence firewall is now activated.
Do you have any explanation?
Thank you,
]]>Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Any suggestions… also to throw a HUGE curveball I am hosting using virtualmin & webmin on a FRESH virtual server. Any and all help makes you awesome!
]]>Thanks in advance.
]]>This plugin is failing to recognize gzip as an option. There is an Ubuntu 14 php bug that has been worked around in other projects. The bug is gzopen isn’t available when gzopen64 is installed on the system. Is this likely my problem or does somebody know what I may have malfunctioning on my server?
php -r ‘var_dump(function_exists(“gzopen”));’
is false and
php -r ‘var_dump(function_exists(“gzopen64”));’
is true
https://www.ads-software.com/plugins/backwpup/
]]>I got a VPS with CentOS 5.7 on it. I’ve asked the hosting people to give me VirtualMin as it is free.
I tried several ways to install WordPress on it but i can’t get the work done. I came across a lot of tutorials on the net and tried them but it isn’t helping !
Finally i am getting this message when i try to install WP
“Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”
But i have the MySQL installed. Can anyone help me out with Installing WP on VirtualMin/Webmin
]]>You do not have sufficient permissions to access this page.
My user account has been the original, using a non-standard name, from a fresh install of WP3.1.3 with the only action after install being to import a dumped xml from a multisite install elsewhere into this new singlesite install, assigning all the imported posts to my admin user (as opposed to creating a new user for the imported posts).
I have tried resetting my plugins dir by renaming away and back again while navigating to the plugins screen between to force deactivation of all plugins.
Also attempted was creating a temporary admin user, deleting the original admin user and recreating as administrator role. This also did not work. I have tried accessing the admin screen from both the recreated user on the original username and the temporary user before assigning posts across, so the issue is not related to post owner assignment.
I hope this is enough information to outline the issue. Steps: Fresh install of WP3.1.3 single site, import from wordpress export of a multi site blog, assign posts to admin user during import, activate akismet, receive error when attempting api key config.
[ edit to point out it’s not just akismet ]
]]>