I deactivated accidentally my customized product from the plone control panel, and now I'm unable to activate it again, as i get the error page saying:
AttributeError("'NoneType' object has no attribute 'getId'",) (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: 'NoneType' object has no attribute 'getId')
I neither can access the portal quickinstaller tool as the index.html page from my diazo theme included into that product appears (even if I disable the theme or deactivate diazo).
I also tried to lunch again the buildout, but nothing changes
Not related to your original question, but you also mentioned problems accessing your site because of Diazo rules. You can configure Diazo not to theme the site when visiting from certain host names or IP addresses. Go to Site Setup->Diazo->Advanced Settings->Unthemed Hostnames and add host names or IP addresses that you don't want themed.
Related
I am getting redirected to my website homepage when I login to the admin area in Wordpress or I get an error message saying 'Sorry, you are not allowed to access this page'
I just migrated my website from one host provider to another using the All in One WP migration plugin. I was able to access the admin area but once the backup, I am either being redirected to my homepage or getting the above error when I try to login. I have already tried to create a new user with admin privileges, modified the wp-config and htaccess files and even updating and changing the prefixes of the database. I have also tried disabling the plugin and theme files and none of them seem to work.
I just want to be able to login to the admin area of my WordPress site.
In such cases the steps I follow to resolve this case are:
Set .htaccess with only the default WordPress redirect rules, which you can check here.
Set the default TwentyNineteen theme as active. Since you do not have access to your admin dashboard you can perform this change by altering the "template" and "stylesheet" rows in your application database which both are located in the "_options" table.
The other option is via SSH. From the WordPress root directory you can execute the following command, which will change the currently active theme to TwentyNineteen:
wp theme activate twentynineteen
NOTE: No matter which option you choose the TwentyNineteen theme should be installed. If you have other WordPress default theme installed rather than TwentyNineteen, you can switch to it.
Deactivate all of the plugins. This can also be performed in two ways without access to the admin dashboard. The first option is to rename the wp-content/plugins folder to:
wp-content/plugins-backup
The other option is once again via the WP CLI tool with the next command:
wp plugin deactivate --all
Another NOTE: In order to use the WP CLI tool, please note that the same should be installed on the server. If you write the command and the terminal respond is:
-bash: wp: command not found
Or something similar ending with "command not found" this means that the tool in question is not installed. In this case you will be unable to use the WP CLI tool or you can ask your hosting provider to install this tool for you.
In my experience with this issue, after all of these changes are performed the access to the admin dashboard is restored. If the issue still persist even after the changes are applied, I would recommend you to contact your current host provider in order to understand if they have any custom Web Application Firewall (WAF) rules, default plugins/optimizations that could cause such issue.
I have setup the AMP plugin in WordPress but while going to see the AMP pages (Appearence->AMP), I saw an error "Non-existent changeset UUID".
Also there is message in console says,
"Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://test.com') does not match the recipient window's origin ('https://test.ve.staging.wpengine.com')."
Please help me to resolved it out.
I've recently taken over administration of a website that has historically been ... poorly managed, and upon trying to use WordPress' built in theme customizer, I was greeted with the same message: "Non-existent changeset UUID.", although I didn't get any related messages in the console.
Apparently my issue was caused by the fact that one of the people who set up the site to begin with had decided to put the public site at www.example.com and the WordPress admin pages at example.com/__wp.
If this is your issue, you basically have two options.
Make sure to log in at both domains.
This may be a little difficult since WordPress' login page is part of the admin portion of the site and thus only logs you in to the admin portion of the site, however this proved to be a good temporary solution for me as there was a plugin installed which added a login widget on the public portion of the site.
Change the WordPress Address to be on the same domain as your Site Address.
The Option appears under Settings > General, but in my case I couldn't change the WordPress Address setting there and had to go into the WordPress database in our company's MySQL server.
After dealing with the above issues, I discovered that this issue had also caused a bunch of resources to be incorrectly loaded from example.com that should have been loading from www.example.com, as well as a number of leftovers from the site's development that were causing some resources not to load because the database thought they were at localhost.
With the help of another Stack Overflow answer I found a Database Search and Replace Script in PHP by interconnect/it (also available on GitHub) which allowed me to repair the mess previous people had made of the website without making a new mess with incorrectly serialized data, or all of the work of manually, correctly serializing the data I needed to change.
My host is nearlyfreespeech.org. I contacted them with this message:
"My problem is, when you navigate thru the menu on my site and click on the various links, I need the navigation bar to say http://www.paulaneeley.com/education-and-experience/, instead of paulaneeley.nfshost.com/education-and-experience/. How do I change all the links from the subpages I made on my site from paulaneeley.nfshost.com/etc to paulaneeley.com/etc ?"
And they responded:
"Take a look in the WordPress dashboard at the settings page. Probably one of these settings isn't using your own domain:
WordPress Address (URL)
Site Address (URL)
Once you find and fix that (so neither of them uses the paulaneeley.nfshost.com addres, this problem will likely disappear. "
So I changed the site's address to paulaneeley.com. I then got this error:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect.
File(/) is not within the allowed path(s):
(/f5/paulaneeley/:/nfsn/apps/php53/lib/php/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/)
in /f5/paulaneeley/public/wp-admin/includes/misc.php on line 133
Warning: Cannot modify header information - headers already sent by (output started at
/f5/paulaneeley/public/wp-admin/includes/misc.php:133)
in /f5/paulaneeley/public/wp-includes/pluggable.php on line 881
I then tried to navigate back to my dashboard and I couldn't access it anymore! My browser gave me this error:
too many redirects occurred trying to open "http://paulaneeley.nfshost.com/wp-admin/".
This might occur if you open a page that is redirected to open another page which is then
redirected to open the original page.
I then read this article:
http://codex.wordpress.org/Changing_The_Site_URL
And tried both the functions.php method and the phpmyadmin method to return back to the original paulaneeley.nfshost.com, which I believe I both did correctly. My site works fine, but I still get an error message when I try to access my dashboard. At the least, I would like to get my dashboard back.
Maybe you've done all the things right, but the nameservers of nearlyfreespeech are stil not forwarding users to your site.
Test for yourself:
http://www.paulaneeley.com, opens just fine but when you remove a www. prefix, the site doesn't opens. A simple ping test to http://paulaneeley.com reveals that nearlyfreespeech's name servers do not have a record for http://paulaneeley.com. Ping returns with an error Ping request could not find host paulaneeley.com. Please check the name and try
again. Indicating there are no DNS records for http://paulaneeley.com.
So, contact them again, and this time tell them to fix this by registering http://paulaneeley.com in their nameservers. And if they ask for money, don't pay them any, because http://paulaneeley.com and http://www.paulaneeley.com are the same sites and www. doesn't mean anything that they should charge for.
And best of luck for your business, maybe one day I'll drop by and will get my hair styled, your work seems pretty cool. :)
And here's your login page,
http://paulaneeley.nfshost.com/wp-login.php
http://www.paulaneeley.com/wp-login.php
Apparently, you've edited your .htaccess file(by mistake?) which used to redirect http://www.paulaneeley.com/wp-login/ to http://www.paulaneeley.com/wp-login.php
In order to solve the problem, you will need to change the setting of your site's database where the root of your domain is found. You can do this by running a mysql update command.
Then, you can change your .htaccess setting.
Another way is to just install it all over again. Just make sure you have a backup of your data, media, and template. This time, make sure that you install it from your domain http://www.paulaneeley.com. Or http://paulaneeley.com. You can only choose one.
I was just working on a Wordpress site and after updating a plug-in (which had not yet been activated, only installed) I activated it. Instead of the activation working, it gave me this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete >your request.
Please contact the server administrator, webmaster#ibsmithmedia.com and inform them of >the time the error occurred, and anything you might have done that may have caused the >error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an >ErrorDocument to handle the request.
I am getting this error on every page of my wordpress site, not just the plugin page or my user admin area.
How can I fix this? Is there a way to undo this plugin activation (I'm pretty sure it's what's causing the issue).
I don't have access to the actual FTP files of the site, I'm working on it for a friend. But I can get access if that's the only way to fix this. Thanks!
I would get access and delete the plugin.
That would be the fastest solution.
I ended up having to delete the folder for the plugin and then going to my htaccess file and remove extra lines that the plugin had added there as well. That resolved the issue.
First you need to connect to your website using FTP client, or File Manager in cPanel. Once connected, you need to navigate to the /wp-content/ folder.
Inside wp-content folder, you will see a folder called plugins. This is where WordPress stores all plugins installed on your website.
Right click on the plugins folder and select Rename. Change the name of the plugins folder to anything that you like. In our example, we will call it “plugins.deactivate”. Once you do this, all of your plugins will be deactivated.
Usually, this method is used when you are locked out of your admin area. If the issue was with your plugins, then you should be able login to your WordPress admin area.
Once you do that, go back to your /wp-content/ folder and rename “plugins.deactivate” back to plugins.
Now you can activate one plugin at a time until your site breaks again. At which point, you will know exactly which plugin caused the issue.
With few information about domain access module, i installed in my site, Am not aware how to
manage content for multiple site,
main site : http://happylife.in (drupal installed here)
Sub domain http://devotional.happylife.in (i am not installed drupal here, simply index.php)
while posting selected domain is http://devotional.happylife.in
But i am getting Error,
Internal Server Error
i am not sure, how drupal will show this content in http://devotional.happylife.in
without any installation in sub domain,
For your reference check this site,
http://happylife.in,click this article, about Venkateswara Temples.
Now page redirect to http://devotional.happylife.in/node/32 ,
and displaying Error Internal Server Error
How to handle content for mutiple site in domain access module.
what steps i should follow,
advise me
I think you've configured your virtual hosts improperly. The domain module works by pointing one or more domains at a single Drupal instance, rather than copying Drupal into separate file structures.
In your example you need to make certain that happylife.in and devotional.happylife.in are both pointing at the same Drupal installation.
For reference, the complete documentation for Domain Access.