PhpStorm: automatically rename file on remote host when renaming it locally - phpstorm

Is there any configuration in PhpStorm that automatically renames file on remote host when you rename it locally and reverse?

There is no such option.
https://youtrack.jetbrains.com/issue/WI-19031 -- star/vote/comment to get notified on progress.
My only suggestion: enable automatic deployment option (as well as some others, possibly) -- it then should upload new file to remote and delete old file (no longer existing local file) from remote.

Related

PhpStorm - Autodownload certain folders

I've set up PhpStorm to auto-deploy changed files to the vagrant box.
However, I run the build scripts in the box, and I can't count the times I shipped some module without copying back (downloading) those compressed JavaScript files, out of vagrant, into my local working directory.
Is there a way to make PhpStorm monitor the deployment server, and download changed files?
Is there a way to make PhpStorm monitor the deployment server, and download changed files?
There is no auto-download.
The IDE is build around "local code first" idea where local is the source and any remote is just a copy.
If you need to download remote stuff I suggest to manually use Sync With Deployed action from Deployment menu: it allows to manually sync files and folders both ways: https://www.jetbrains.com/help/phpstorm/deploying-applications.html
https://youtrack.jetbrains.com/issue/WI-1284 I guess (as it's about syncing remote to local)... Watch this ticket (star/vote/comment) to get notified on any progress.

eXist-db change database files location

I am running eXist-db in servlet mode deployed on an WildFly 10 application server. But after redeploying the eXist-db WAR-file, all stored data is gone. So I want to change the path where the database data is stored. Currently it should be stored in "standalone/tmp/vfs/temp/..." but this dir is deleted on undeploying right?
eXist's default data directory is $EXIST_HOME/webapp/WEB-INF/data, but it can be changed to a different directory, i.e., a directory outside the $EXIST_HOME directory, by editing $EXIST_HOME/conf.xml under db-connection/#files. See the eXist documentation about the conf.xml configuration file here: https://exist-db.org/exist/apps/doc/configuration.xml#D2.2.4.6

css is not working after uploading the file on server with filezilla

css is not working after uploading the file on server with filezilla i added file permission 755 on server and even after that it's not working.
I have changed /web/assets/d01711d6/css/bootstrap.css.
css is not working after uploading the file on server with filezilla i added file permission 755 on server after that it's not working.
This may depend on several factors.
Cache
If the application is hosted it may be that it is a problem of the server cache so the new CSS file is read to the cache expiration (sometimes several days). In some cases the provider it provides configurations for enabling a temporary mode that disables this mode and promptly update the files.
Asset Management
Another factor is related to the fact that the directory where content assets are dynamically generated so not always the name of the directory in the development environment and the production server match. It is in these cases to find (looking for it) the actual directory used by the server and replace the file in the right place.
If, as the practice, changes to css file was made in the original directory and not on the copy of the file created by dynamically from asset management, one usually proceeds by eliminating the directory containing the assets of interest and the first subsequent invocation of the application (the URL / link) a new directory of assets is created for these files

Uploading remote server files after git checkout

I am using phpstorm 7 on my windows host for a git project. The files are synced with a VM via phpstorm's remote server feature, so each time a save is made, the changed file is also upoloaded to my VM.
I am having difficulties when I am pulling newer versions from Git because the only way to send the changed files to my VM is to upload a full copy of the project via phpstorm. Or of course I can send them individually but it also takes too much effort.
So my question is if there is a feature or plugin for phpstorm which automatically uploads only the changed files after a git checkout.
Thank you!
You can :
sync src code with option deployement to delete the file that no existing in target location
create a external tools for sync
create macro that launch a git pull and after launch a sync
create external tools for sync AND others for pulling git branch
When you create a macro or external tools don't forget that you can launch those with a shortcut.

How to update OJS

Would you please let me know how to update OJS (Open Journal System). I have installed it on a shared server and I have no access to the shell, only a web interface and control panel (direct admin) is allowed. I think there must be some update button online, But i could not find it.
Thanks
Download and decompress the package from the OJS web site
Make a copy of the config.inc.php provided in the new package
Move or copy the following files and directories from your current OJS
installation:
config.inc.php
public/
Your uploaded files directory ("files_dir" in config.inc.php), if it
resides within your OJS directory
Replace the current OJS directory with the new OJS directory, moving the
old one to a safe location as a backup
Be sure to review the Configuration Changes section of the release notes
in docs/release-notes/README-(version) for all versions between your
original version and the new version. You may need to manually add
new items to your config.inc.php file.
The easiest thing would be to make a new folder on your shared hosts with the latest version. Copy over the config.ing.php, cache, and public folders. If your files is within your OJS folder as well, copy it too (though, you should move it outside the web accessible location).
Then you'll find an option to upgrade the database in the Admin pages.