Xcart - 5.3 disable cache management functionality - caching

Every time I put die or change any file in the project folder I have to manually Login as admin and go to System Tools-> Cache management -> Re-deploy the store and then my changes reflect.
Is there any way to disable this and reflect changes without doing above steps, as project is still in development and i need to check again and again.

I find out a way to disable cache management of xcart 5.x by following below steps:-
Goto YourProjectDirectory/etc/config.php
search for "developer_mode" by default it is Off, change its value to "On".

Related

How to running code on PyCharm with 2nd file [duplicate]

When I run my code by right click-run/debug, PyCharm sometimes creates a new Config automatically called FILENAME(1), and the new config is created according to default config rather than my previous old config (normally called FILENAME by default).
As shown in image below, upper right corner still shows my old config (different from default), but run in right click menu is showing a config ending with (1), which does not exist yet (in edit config), PyCharm automatically creates it after I click on run in right click menu. However, running with the upper right button correctly runs the original config without the (1) (which means the original config still correctly links with this file and is not corrupted).
How do I fix this?
The same problem seems to exist in IntelliJ IDEA (I am unable to reproduce in IntelliJ, but I seem to remember that I encountered once).
PyCharm version: 2020.3.2 Pro with edu license
P.S. I can't find any pattern yet, but it is not a temporary issue, whenever it occurs, it stays as (1) forever, restarting PyCharm or even computer doesn't help, the only way I found is to remove all related config and set thing up from the beginning again, which is very annoying.
A temporary configuration is generated by PyCharm depending how you run the project (there is a difference between the 2 possible runs corresponding to Shift + F10 or Alt + Shift + F10.) To avoid temporary configurations being created run a shortcut or icon that explicitly uses the configuration you intend to use.
In the IDE's "Edit Configurations" dialogue you should delete any temporary configurations, choose the configuration you want to use for your project, possibly using Alt + Shift + F10 to make sure. Do this before trying the right-lick popup shortcut and it should work.
If the above still isn't enough, the temporary configurations are saved in a file. You can check the contents of the file but it is recommendable trying to use the IDE dialogues to solve the problem instead of editing the file directly.
Temporary run/debug configurations
Temporary Run/Debug configurations are recorded in the /.idea/workspace.xml file under the Run Manager section.
Update: Configuring the maximum number of temporary run configurations was disabled in PyCharm 2021.1 but is again possible since PyCharm 2021.2. It can now be configured by going to File > Settings > Advanced Settings > IDE > Temporary Run/Debug configurations limit see the documentation and the screenshot:
Run/debug configurations
Temporary — created every time you run or debug functions or tests.
The maximum number of temporary configurations is 5. The older ones are automatically deleted when new ones are added. If necessary, you can increase this limit in Settings/Preferences | Advanced Settings | IDE | Temporary Run/Debug configurations limit.
Earlier versions: You can configure the maximum number of temporary run configurations in the Template, for versions of PyCharm 2020.1 through 2020.3 see the documentation and the screenshot:
Temporary run/debug configurations
Temporary configurations are marked with semi-transparent icons and are managed the same way as the permanent configurations.
By default, five temporary run/debug configurations are allowed per project, so when you create the sixth configuration, the one created first is removed, and so on. To change this limit, use the Temporary configurations limit field in the Templates page of the Run/debug configurations dialog.

Why the users are still able to checkout the same file even it's been disabled?

In visual studio, team explorer> project settings> source control I have disabled the Multiple Check-outs and also enforced check-in policy for a project. Also, I have changed the workspace to server version but still, the programmers of the projects are able to checkout at a time. why?
Please change your location of your workspace to server. Here are the steps:
1.Team->Team Project Collection Settings->Source Control...->Workspace Settings Tab
Change the default workspace type from "Local (recommended)" to "Server".
2.Source Control Explorer->Workspace Combobox->Workspaces...->Edit...->Advanced->Location Please let other users change the location from "Local" to "Server".

How to re-add deleted build settings

XCode 7 has allowed me to delete a couple of project settings. How can I add them back?
Here's a picture of before and after...
The projects settings aren't really gone completely, only your overrides of the default values were deleted.
So if you go to the All tab next to the Basic tab in your screenshots, you will see the Base SDK and Build Active Architecture Only entries. But you will have to set them again to the custom values you like.

Only menus shown on MODX Manager

After I changed a setting in the ckeditor plugin, the content of the whole manager doesn't load. Only the menus (top and left) are shown. I've already cleared the cache by deleting the content of the core/cache folder, and the cache from my browser.
Remove the core/components/ckeditor folder and clear cache again. Login in the manager, go to packages Manager and remove the ckeditor and reinstall. This is also a way to remove manually packages in modx.
In such a case, also check if you have enabled the compress_js and compress_css options in the system setting (check them with a database administration tool like phpmyadmin) and set them to false if so.
You can verify that this is your problem by opening the development tools of your browser (f12 for chrome and internet explorer and richght click and push q on the keyboard) and look for any loading errors of js or css files.
Hope that helps :)77

Change Jenkins default view

I have been trying to follow the instructions on how to change the default view in Jenkins here.
I've created another view that I would like to be the default, but when I go looking for the Default View setting in Manage Jenkins -> Configure System it doesn't seem to be there. Is there something I have to do to make it show up? Or is it tucked away somewhere else?
If someone has it working can they indicate where about in the config screen (immediately before/after something else) so I can double check.
I am using Jenkins 1.447
from comment> When I go to Manage Jenkins -> Configure System and Default View, all our "public" views are listed there in the drop down.
Make sure the view you created isn't just in "My Views" for your user, and is open to everyone.
"Manage Jenkins" > "Configure System" >
The default view option is just after the "SCM checkout retry count" and before "enable security"
See below:
You should not have to change anything to have it show up. You might need more than one view, but it seems you have already created another one...
You can only choose between default views when you have more than one view. So first, create a new view by clicking the '+' mark on the Jenkins dashboard:
Of course, the '+' will only appear if you have permission to create new views.
Now, navigate to Manage Jenkins > Configure System. The Default View option appears. Using this you can select the default view.
The above applies to Jenkins 1.536.
To change the default view in Jenkins go to Jenkins Dashboard:
Select Manage Jenkins --> Configure System --> Default view
Default view will be available after SCM checkout retry count in MAVEN Project Configuration .
Select your applicable View and Save and you're done.

Resources