I rencently tried to upgrade my website from Bolt 4.1 to 4.2 to 5.0, without any success. My folder is under git, but unfortunately, while reverting all the files to its original state (v4.1), my website is not acting normal.
The frontend is working fine, but in the dashboard (.../bolt), the side menu is totally empty. The central view shows the list of my contents, and on the right some messages from Bolt.
Does anyone has any idea how to solve this?
Thank you in advance.
Facing the same issue recently, I found the solution. The file system permissions was not set correctly after a checkout of the git repository (folders permissions may have been lost in the process).
By executing the following command, it solved the issue:
chmod -R 777 config/ public/files/ public/theme/ public/thumbs/ var/
I also posted the solution here:
https://github.com/bolt/core/discussions/2318#discussioncomment-3985748
Related
I am stuck with a problem, and it has been more than 12 hours that I have been searching for solutions, and I have not reached any results. I hope that someone will help me.
I transferred sites from one server to another server from the Transfer Tool available in whm, and after the transfer was completed, I was surprised that most of the sites had not transferred their databases. After searching, I learned that the problem occurred due to the difference in the version of databases between the two servers.
I started manually transferring the databases to each site separately, and the problem that I started facing after uploading the database is that the site does not accept updating themes or plugins and needs an FTP connection. After researching to solve this problem, I found one of the solutions that suggests adding code in the wp-config file.
define('FS_METHOD', 'direct' );
After adding this code, I was able to get rid of the problem, but unfortunately I encountered another problem, and I did not find a solution to it, which is when updating any theme or plugin, an error message appears that says
Update failed: Could not create directory. /home/shuhoudc/public_html/wp-content/upgrade/woocommerce-7.2.0-en
I need help resolving this problem and please cooperate and help, thank you
An illustration of the problem that occurs when updating one of the plugins
These are some pictures that show the permissions of files and folders
Illustrative image permissions for files and folders
Illustrative image permissions for files and folders
Illustrative image permissions for files and folders
Illustrative image permissions for files and folders
Illustrative image permissions for files and folders
Please Try this-
sudo chmod 777 -R /home/shuhoudc/public_html
My website had been working well. But recently I started to see some abnormalities.
When I upload a media file, it says the file can't be moved to upload/2022/08; When I create a new post, the featured image choice section on the backend are gone; On frontend, plugin WP-SCSS is reporting file permission issue on the cache folder;
I had to manually change the related folder from 0755 to 0777 to solve these issues. But why all of a sudden it requires 0777 while it never had? The only change I made recently to the server is doing some package upgrade for my linux server. It was a one-click-go and I didn't take a closer look to what had been upgraded but I do remember seeing most items are related to PHP8.0 or PHP8.1. Could this be the reason the file permission issue is acting up?
I have a website that I designed and did all the frontend dev work. I then handed all my files over to my Wordpress developer. They built out the site and gave me access to the files on Gitlab. What I want to do is set up a local copy of the repo on my Mac (which I have done ), branch it and make some CSS changes to the site. Commit those changes and let the developer merge what I have done. I'm new to WP, so I haven't done much in the way of setting up a site. I've watched a couple of videos, but they all seem to be for someone who needs to download and install a fresh install of WP. I don't think this is what I want to do. I downloaded and installed MAMP, and set up localhost, tried to point it to my local repo on my Mac, but that's not working. I just can't find anything to point me in the right direction. Hoping someone here has some advice. Thanks in advance!
If I understand correctly, you've already cloned the site to your local and you've made a database in MAMP? And you've named them the same.
From there you should be able to pull up localhost:8888/databaseName and proceed with the WordPress install that you cloned. If this isn't working check to make sure that you cloned the project into the same directory that you specified when you set up MAMP. Still not working, check to see if you also cloned the wp-config.php file. Then go to the wp-config.php file and make sure the database specified is the correct database name and that username and password are "root". Still no? Make sure the table prefixes in the database are the same.
For background - usually when you install a fresh WordPress, the first screen you come to has you set up all this info. And, if you are cloning a project, usually the config file is in .gitignore since it is specific to where you are using it. š
The back story: I transferred all the data from wordpress.com site to a self hosted site. That messed with a lot of the images in the posts etc. (not displaying) so naturally I just started messing with things (I don't really know what I'm doing). After changing a bunch of file permissions (with FileZilla) the images started to work but now all my plugins stopped working. I deleted them and tried to reinstall and I get this error:
Unpacking the packageā¦
Installing the pluginā¦
Could not create directory. /homepages/35/d579288618/htdocs/kevin-heinrich.com/kevin-heinrich/wp-content/plugins/jetpack/
Plugin install failed.
I don't really know where the "/homepages/35/d579288618/htdocs/..." part of the error is coming from...
I have tried changing ALL my file permissions to 777, no luck.
I tried manually downloading a plugin and putting it into the plugins folder via FTP, no luck. (The folder is in there but nothing appears on my dashboard).
Any help would be greatly appreciated. I'm afraid to keep messing around on my own because well, I break things.
Wow what a simple problem. After literally a month of banging my head against the wall...
My problem was that my plugins folder was in my uploads folder NOT my wp-content directory. I moved and boom solved.
Hopefully any other idiot who tinkers where he/she shouldn't might find this helpful :)
Just had this issue. Check that user and group in /etc/php/php-fpm.d/www.conf are set to www-data. By default it's http.
I've been trying to uninstall a magento plugin I've recently installed to reinstall it using Magento Connect. The log said that the plugin uninstalled successfully and if I go to the admin panel, the plugin's no longer there but when I went back to Magento Connect, the plugin is still listed there so I can't reinstall. Why is this happening?
Based on the answers, what I've tried so far are:
Clear cache through Admin Panel
Removed wordpress entry in core_resource
I've made sure wordpress xml in etc/modules is removed
I've made sure Fishpig folder in app/code/community is removed
Cleared cache in var/cache
Cleared cache in downloader/cache
Checked if there's xml for wordpress in var/package (there was none)
Reindexed magento
And none of this worked. The wordpress extension was still listed as installed in Magento Connect. I've been trying to uninstall repeatedly but it just won't go away even though the log said that the uninstall process completed. I've also tried reinstalling and upgrading. No success.
to remove the extension:
remove all the modules files, includeing the file which enables the module:
app/etc/modules/COMPANY_MODULE.xml
also make sure the entry is gone from the database by removing the correct entry in table:
core_resource
then refresh the magento cache
It should then disappear from connect.
Which module have you installed? Can you give me name so I can give you solution if possible for me. If module add new own tables in db then dont delete any module file otherwise may be magento crash. Its better way to uninstall from magento connect manages.
Clear the .cache folder in the downloader directory, in addition there is also another area where an xml can be present in var/package/
The package files are from magento connect so delete from here and have another check!
delete all files in var/cache/ and double check you are actually working in the right folder! if you have another caching system then clear it.
To delete the extension from Magento Connect (I believe you have already uninstalled it from Magento) you will need to delete the file var/package/Fishpig_Wordpress_Integration_{{version}}.xml
Thank you very much for all your help and time. I really appreciate it. I've managed to solve the problem. It's apparently a problem with permissions. I didn't realize soon enough that the permission for all folders had to be 777. I had most folders set to 777 except for 2 files on my etc folder (local and locals.xml) because of security issues. But after getting a go signal changing said permissions, I managed to uninstall the plugin and reinstall it. Now the Wordpress is fully integrated in the website with no problems and I've also returned the permissions for local and locals.xml back to it's original. Thanks again a lot for all your time.