Drupal6: Content Access Permissions can't be rebuilt - drupal

I created a new content type, so it wants me to rebuild content permissions. I clicked the link to do so. It progressed through but seemed to get hung up towards the end. It stayed in the same position for 20 minutes, so hit refresh. I got the following error message:
The content access permissions have not been properly rebuilt.
What is wrong here?
UPDATE: The problem appears to be with the Nodeaccess module. When I disable it, this problem goes away. When I re-enable it, the problem returns. I'm not sure what to do about it, as that module is essential to the functionality of my site.
UPDATE 2: I installed Content Access instead of Nodeaccess, but the problem persists. Perhaps it's some underlying issue with my site?

A few people on drupal.org have posted about changing database from mysqli to mysql in settings.php
Not sure if that is the right way, but here are the pointers https://drupal.org/node/363316

Related

Wordpress plugin is not working after migration to a new server

I have moved my wordpress site to a new server, and login.php is working right.
But in there many plugins is not working well, for example the login page is not linked to any other page after I submitted my username and password.
Here is the login page link:
https://cpalocate.ca/login/
I have entered the invalid username and password, it will also show the blank page, but not error page.
When I add this code in wp-config.php
define('WP_DEBUG', true);
it showed this text. " Notice: Constant WYZ_THEME_DIR already defined in /home/.....".
And I have fixed that, but the same problem.
Now there is no any error debug, but the login page is also not working.
I changed the php version of my site in cpanel, but the same.
Anyone has your idea to solve this issue?
It is possible (I'd even say likely) that on your old server it was using PHP 5.6 (or at least a different version of PHP than your new server) and now you're on 7.0, 7.2 or even 7.3. It would seem that if that's the case, some of your plugins are incompatible.
You should edit your wp-config.php and add
define('WP_DEBUG', true);
so that you can see the errors on your screen, at least until you figure out which plugins are causing the problems.
If it is a matter of PHP version, check with your host to see if they can roll you back, or you'll have to either contact the plugin author and have them update the plugins, or you need to fix the code yourself, based on whatever the error messages you see are.
Edit: if this doesn't solve your problem, first try a default WordPress theme like twenty-nineteen or whatever. If that doesn't solve it, then disable each plugin one at a time until you find the culprit.
I have turned off all my plugins and turn back it one by one.
I have found one of my plugins is caused this problem, it is PM Pro Settings.
So I deactivated it and there is no any problem now.
I am using other plugins on behalf of that one.

Edit Page save button not showing in wordpress

my website was running smoothly without any issue but after a long time now I opened admin panel to edit a page but there is no save/publish button is available and also the WYSIWYG controls are also not visible. I tried on Chrome/Firefox/IE/Opera but all browsers are getting same issue. I replaced the post.php file in /wp-admin, but no change happen and the problem remain.
Following is the screenshot of page editor:
What is the way to resolve this issue?
According to the date of this question which belongs to 6 months ago, I think it's resolved now anyhow! But I just try to share my similar experience.
For my case, the hosting company had some update and migration. In
their new configuration, the Permission/Ownership of the WordPress
directory did not match with the new web server configuration.
I had to change all the permissions of files to 644 and I had to make sure all the directory got 755.
You should have 'root' access to the server or ask your hosting company to fix it. Also, it's better to check this post as well.

Wordpress admin after login shows "Could not retrieve data" error

Yesterday I was working on a WordPress site, and it was perfectly working. And now today when I logged in through login details the blank page is appearing with this error:
Could not retrieve data.
I don't know what's wrong in that, suddenly it stopped working.
You could always take the usual steps :
Deactivate all plugins to see if one of them is causing the problem (you can do that by removing their folders from the wp-content/plugins directory).
You can also check your server logs, it might give you information, maybe a database connection problem ?

WordPress SVN Commit Failed

My plugin has been approved in wordpress. But I am having trouble to upload the plugin via SVN. When I am filling out the username and passowrd and ticking on the save authentication this box is showing again and comes 4 times. Finally it shows Commit Failed! Please anyone help me how I can solve this issue.
Thanks
If your credentials aren't accepted, either you're entering them wrong (make sure you've got the correct case, as it's case-sensitive), you don't have the required permissions on the URL you're committing to, or the URL you're committing to is incorrect (again, it's case-sensitive, so make sure that you've got everything perfect).
But to get an authoritative answer, you need to ask the WordPress folks as they're running the server and granted you the access.

Drupal Admin is not able to access edit views page

I have a Drupal site and the Drupal site's admin is not able to access the edit views page.
Lately, the site has also had the problem of Content Access permissions which required me to rebuild the permissions.However, the warning that 'Content Access Permissions need to be rebuilt' continues to persist.
Whenever I goto admin>build>views page, it redirects me back to admin>build page.
Could it be a problem of content access permissions? Should I rebuild it? Would it solve the problem.Its a cumbersome process and many a times, the permissions are not built properly so I was hoping to avoid it. Is there another way of doing it than through the admin console.
When you get redirected back to the build, it's because the path doesn't exist.
In Drupal when you go to admin/build/views, it try
admin/build/views
admin/build
admin
The problem is that views isn't installed, or that you need to clear the menu cache, which can be done at admin/settings/performance. If you needed permission, you would get an access denied page instead.
This happened to me, because somehow my views UI got disabled. I enabled it again on the module page and problem solved.

Resources