I have become completely frustrated trying to install WP on my server (hosted at home). I am able to launch the WP content manager and when I find the theme I would like to install, it asks me for my server FTP login. I give it the same logins I use for filezilla but it will not work. I have tried every combination.
So I tried installing from ZIP. I go into "upload" and try to upload the .zip I downloaded from the developer but it takes me again to the FTP login. Same problem as before. The theme I want is called "application" by manshi gori.
here
What am I doing wrong? Thanks!
Here is a way in which you can Disble the FTP Credentials for installing Plugins and Themes from backend
Just Add the following Code in wp-config.php
define('FS_METHOD','direct');
You should check the file permissions:
All files should be 644 and all folders 755.
Related
Starting from yesterday (judging by the error logs), out of the blue, we notice the following error on the site:
PHP Fatal error: Cannot access property WP_Hook::$callbacks in …/public_html/wp-includes/class-wp-hook.php on line 77
The site is working (possibly thanks to the caching plugin), but all attempts to login to admin panel cause the error 500.
We recovered the site from a backup from 6 of March (when the last successful login was), but the error persists.
We also tried to deactivate all the plugins (by renaming the folders via FTP), but still the same error. (Now the work of plugins is recovered from a backup.)
The hosting could not help to solve this problem.
Where to look next?
Site: http://russificateschool.com/
Thank you in advance for the help.
Removing and uploading wp-includes from a fresh WP package solved the problem.
You'll want to overwrite your existing wp-admin and wp-includes folders with baseline versions.
First, get the version number of your Wordpress install by FTPing into
your web host where Wordpress is installed.
Download the wp-includes/version.php and view it, you'll see the version number.
Go to https://wordpress.org/download/releases/ and download the gz or zip file for your version.
Unpack the zip file that you downloaded. This will create folders for wp-admin, wp-content, and wp-includes with other files.
On the web host, rename your wp-content/plugins folder to wp-content/plugins-bak.
On the web host, delete the old wp-includes and wp-admin directories.
Upload the new wp-includes and wp-admin directories to your web host, in place of
the previously deleted directories.
Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).
Upload all new loose files from the root directory of the new version to your existing wordpress root directory.
Test your site to see if it loads. If it does, on the web host, rename your wp-content/plugins-bak folder to wp-content/plugin.
I am struggling with socialengine php installation to my private server. I already have it hosted but want to develop it on my own computer. I have installed xampp, FileZilla server and client and netbeans.
I download and extract my socialengine zipped folder to into a folder within ht docs. Then I upload onto the FileZilla server. I then right click on the folder to copy the path. When I paste this into google browser I am not seeing the socialengine install wizard page where you enter your licence key.
Instead I am seeing an index page listing all the folders and other folders within ht docs directory. I have looked at many tutorials. Deleted everything and re-installed.
Can somebody please tell me what I am doing wrong.
Here are the cases to debug:
Check mod_rewrite enabled
.htaccess is available in that directory.
Server directory index set to index.php (DirectoryIndex index.php) in .htaccess file.
Check permission are fine on files and folders
Trying to upgrade from Magento 1.9.3.3 to 1.9.3.4
but I was able to login, going through some help I made couple of changes and finally renamed the folder downloader and uploaded a freash downloader folder to Magento site root.
But I am getting error
Unable to write to the configuration file.
I have also changed to folder permission for downloader to 777.
The file cache.cfg and connect.cfg are created in downloader folder.
The file created cache.cfg and connect.cfg created are owned by root.
but the error still persists. I am unable to login to Magento connect Manager with the correct admin password.
What I am still missing? I have run out of options.
Any suggestion will be greatly appreciated.
What I am still missing
I have a WordPress site on my webserver and have recently copied it to my localhost testing environment using XAMPP (bitnami) to work on it, and proceeded to re-upload the site back to the server without issue.
Now, everything is functioning fine except for uploading images. Whenever I attempt to upload them, it says it cannot write to the directory.
I have tried turning off date/time arrangement of images, I've tried manually creating the folder its trying to use and temporarily setting the permissions of it to 777 and it works. However, when I change them back to 755 it stops allowing uploads again.
Like I said this has only happened since copying my localhost wordpress back. I've read it may be due to the account WordPress is using to create/write files. Is there any way to find out what this account is? And how would I ensure it has the correct permissions? Could it somehow have inherited the Bitnami XAMPP WordPress account since I copied the files/DB over?
I have access to my sites cPanel if that helps.
don't change permissions change owner
sudo chown www-data:www-data /folderName
After moving a site from local to remote server. I cannot get the magento conect manager to install extensions. No obvious info regarding this paticular error online.
If give an extension url....it will show the preloader for a few seconds, before returning to the connect page, with no error.
If use the package uploader, initially i had a 'could not move files' error...but changing certain dirs to 777 fixed this. I did set all folders to 777, to test if this helped. It didnt.
Anyone know this error? Otherwise manual extension installs for me :(
Could this be apache related....or moving files via FTP from local to remote server? I say this based on some forum posts i read.
Thanks
S
If the following files exist try removing (or renaming if you prefer to be safer) them.
downloader/connect.cfg
downloader/cache.cfg
These are generated by Magento the first time you use connect. The cache file stores a full path to your install, so when you move to a new server this likely isn't a valid path.
chmod 777 var/package/tmp/package.xml
should do the trick.
the directory is from your magento home directory.
Maybe you run out of disc space. I raised disk quota on my server for this account, and the problem disappeared.
If you have SSH/CLI access and are using Magento 1.5+, try running ./mage mage-setup .
If you're on Magento 1.3.x or 1.4.x delete the files in /downloader/pearlib/cache/ and try again.
If you have cpanel hosting where the apache is configured to work with users such as nobody, apache etc.. then the problem is that. the owner of /home/user/public_html/var/package/tmp/package.xml will your cpanel user but this requires apache users permission. so the choice is to temporarily change the file permission to 777