Drupal 8 - "Drupal is already installed" - drupal

I try to import an existing Drupal 8 website on my Wampserver, but when I want to access to the backoffice (from /user page) with my id and password, I click on Validate and then I have a page with the message "Drupal is already installed". After that, homepage and other pages are redirected to "Drupal is already installed".
I have to remove the cookie session to be able to access to the website (but impossible to access to the admin).
Has someone already encountered this issue please? I found some solutions on stakoverflow, as increase the max_allowed_packet, but the issue still present.
Thanks a lot for your help!
Regards

Could also be related to the post_max_size in the php.ini. Ran in to similar issues and found this comment on the same issue on drupal.org, and increasing this value was the solution for me.

Related

Wordpress: redirecting to wp-admin/install.php even after reinstalling backup of a version that for sure worked

I'm having major difficulties to regaining access to my wordpress website (was online for 2 years) and to admin login of wordpress. I've been searching for quite a while now to resolve this issue.
I constantly got the too many redirect error and my browser was always redirected to wp-admin/install.php.
I already tried the common solutions:
Clear Your Cache and Cookies of browser,
disable .htaccess,
disable all plugins,
disable theme,
adapt wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Check/restore tables of database;
Check wp_options table (did not find a table wp_options (or similar named) in my database)
Nothing worked, in the end I tried the solution to reinstall my website with an old backup (generated from Duplicator – WordPress Migration Plugin) I generated in May. This issue only occurs since a few days so the backup version of the website was certainly a proper working one.
Unfortunately still the same issue appears, the websites keeps redirecting to wp-admin/install.php.
Anyone who has an idea what the solution could be?
Thanks in advance & kind regards!

Wordpress: You do not have sufficient permissions to install plugins on this site

for an unknown reason so far, my wordpress website shows, whichever page i try to access:
You do not have sufficient permissions to install plugins on this site.
i might fall into a specific wp bug related to unstable release, i'm on "WordPress 4.8-alpha-40040"
i'm not logged in, and the problem occurs whether i'm accessing the root of the website or the admin url.
user rights seem ok (i checked usermeta prefixes).
i tried setting wp_debug to true, the message still shows unvariably..
screenshot from website
thank you for your help!
jerome
One plugin was doing something (probably related to installing another plugin) that caused the error, disabling it solved my problem.

403 error in Wordpress 4.0 options.php

I want to disable comments site-wide on a Wordpress site, but I keep getting this one annoying problem.
I've looked around and all of the results are for older versions of Wordpress. I have a fresh install of Wordpress 4.0 onto a namecheap hosting server.
When I try to disable comments in Settings > Discussion by unchecking the box and clicking on the submit button below, I get redirected to a page that says:
You don't have permission to access /wp/wp-admin/options.php on this
server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
One suggestion from a few threads from 5-7 years ago was to modify the .htaccess and permissions. I tried, it still is returning the same error. Those suggestions were for older, less secure versions of Wordpress, so I'm thinking there should be a different workaround for 4.0. I also for some reason don't have SSH access to the server, probably because of some stupid namecheap / cpanel restriction.
I went ahead and contacted namecheap directly and they corrected it quickly - I don't think there's anything you can do. Specifically, they said:
We have whitelisted Mod Security rule which has been triggered. Please try preform necessary actions one more time.
Hope that helps.
Check your Privileges of wordpress database users.
Check also file & folder permission.
( a folder permission 755 and file permission 644 )

woocommerce_my_account stopped working after moving to another hosting provider

I recently moved my site built in Word Press to another hosting provider and I found the shortcode [woocommerce_my_account] is not working anymore.
Previously, I had a page called account login where I had the shortcode [woocommerce_my_account]. In the settings I set the landing page to be the same page (account login). so, after an user logged in, it was redirected to the same page showing his/her details.
However, in the new hosting provider this is no longer working. After I put the login information and attempt to login it is taking me to wp-login.php page and ask me to enter my login details again.
The URL path that I see in the browser after attempting to login is similar to this <site_name_url>/wp-login.php?redirect_to=http://<site_name_url>/account-login/
Anybody has got to the bottom of this issue? Thank you.
Try adding this to your wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Make sure you change http://example.com with your own domaine. You can also try to search and replace your domaine in the database if it has changed.
You can also try to clear browser cache and cookies. I had an issue like this before, launched a private navigation and it was working fine.
Try setting define(‘WP_DEBUG’, true);, you may see something going on.
Sometimes, php version makes a difference, try to set the same php version on you new host (google the name of your hosting provider + change php version).
When you move sites/restore databases you often need to save the permalinks again.
go to /wp-admin/options-permalink.php and click "save". This will setup your .htaccess file with the correct information for redirects.
Finally, after all of these days searching and trying different things, the answer for this issue in my case was not related with the Word Press installation itself but, with some software installed on the server called varnish, apparently used to cache the site and improve its performance.
After having a support chat with the hosting provider, they mentioned that varnish is breaking the woocommerce plugin.
At this point, I am not sure if varnish is not compatible with woocommerce or the settings applied on the server using this software make woocommerce not to work properly.

Cannot access the site after changing admin password

I have drupal 7 site hosted on bluehost.
After I changed the admin password, I got an error. I then tried to access the site, and I was able to do that, but it was very slow.
Now, I can't access the site as an administrator. It becomes even more weird: If I delete all history and cookies from the server, I can access the site; I can also login as an authenticated user.
When I try to log in as administrator, I get a white page or a "500 internal server" error. (It depends on the browser; I tried Chrome, FF and IE.) After I do that, I cannot access the site even as guest or authenticated user; only when I delete all the history and cookies, I can access the site as guest or authenticated user.
How can I fix this?
This is the error log the bluehost Representative gave me:
[15-Apr-2014 14:48:49 Europe/Helsinki] PHP Fatal error: Call to undefined function intel_path_filter_type_to_arg() in public_html/includes/menu.inc on line 814
Is it possiable this module has something to do with the issue? https://drupal.org/project/intel
I think I disable the google analytic api module. Maybe the problem is related to one of the Drupal SEO modules?
I am really not sure, and cannot connect my site..
Yesterday the site worked great! Restoring the site to yesterdays backup did not help - this is the weirdest thing!
Update: The problem was related to one of the two below (or both):
the error from the intel module
the session cache / cache
Now the site is working good, and the intelligence module is active. The weird thing that restoring the database did not fix the issue.
I am afraid to change the password again or disable the intel module. Do you think it can cause issues again?
Please help
Try to disable Drupal SEO module via database:
UPDATE system SET status='0' WHERE name='seotools';
Disable this module if you have it: https://drupal.org/project/intel
Regards.
All the information you need is in this link: https://drupal.org/node/1023428
Just use ./scripts/password-hash.sh newpwd from your drupal root directory to generate a new hashed password and introduce this in the database using the following query
UPDATE users SET pass
='[HASHED PASSWORD]' WHERE uid = 1;
Good luck!

Resources