dynamic and snapshot views in clearcase - view

I have been using clearcase snapshot views in my current project. so, it requires update to refresh content. does it mean any update I do on view is updated to the servers and any updates others do are updated to my view? . Also, If I try to checkout a file in snapshot view which somebody else has already checked out in his snapshot view but not updated, will I succeed?

does it mean any update I do on view is updated to the servers?
Only if you do a cleartool checkin (commit the new version of the files you were working on after a checkout)
and any updates others do are updated to my view?
Only if you do a cleartool update (a refresh of your snpashot view)
If I try to checkout a file in snapshot view which somebody else has already checked out in his snapshot view but not updated, will I succeed?
You will if the other checkout was unreserved.
If it was a checkout reserved, you won't be able to checkout (but you will be able to hijack the file)
See:
"What is the difference between a reserved checkout and an unreserved checkout?"
"Identifying hijacked files in a snapshot view"
Hijacking an element in a snapshot view involves making it writable and making a change to it.

Related

Chrome extension won't update

I'm making a Chrome extension. Right now, it's only available to test users. Some of the test users can access it, but some just get a "404" page. Also, when I try to update the code (uploading a new zip to the extensions), it acts like it updates. But when I go to the Web store page, it still lists the old version. It says it might "take a few minutes" for changes to publish, but it's been days and they still aren't published.

moving cs cart to another directory without data

Firstly, I have made a sub directory for development and installed cs cart MVE in it.
I want to copy the current cs cart sub-directory and add it to the main domain folder without the testing dummy data I have added in the development phase.
How can I do that?
Secondly, if I have made new changes in the future on the development folder, how can I apply this change to the main domain folder?
Thanks a lot for the help in advance.
Note: a step-by-step guide will be very helpful!
There are a few ways to accomplish those results. First of all, if you just want the demo data to be removed you can alter the database and do the following:
Alter the table and remove every single product, property, banner, etc. Though if you have this code setup you could just run it in one time. Though I do not recommend this as this is way more work than needed and this wont get rid of the images and such stored by the demo data.
You can also do the following:
Go to the products section, click the checkbox in the top left and after that click the gear icon in the top right and select: "Delete selection". Do this a few times and for everything needed (banners, payment methods, shipping methods, etc.) and you are all set.
Or you can do this (recommended):
You can do a store-import of your current store and then switch the directories around so you have no downtime. This is also the way I do my development. You can get the store-import addon for free in the cs-cart marketplace.
But if you were looking for a way just to copy a store without transferring any data you could think about what you want to copy. Basically every setting is stored in the database (so are this similar?). Furthermore every image path, etc. is stored in the database (so are these similar?). And so on. The best way I see how you can do this is by running a store import (this will give you the option to remove all the demo data before importing the new data, you could install a new version of cs-cart with no data, then it will delete all the current data you allready have.)
Hopefully my answer suffices, feel free to ask if you stumble across some problems.

Magento cart page is not showing

My Magento cart page is not showing at all. It just comes up with a blank page. Previously this site was developed by another developer and He has disabled the Checkout process. Now I cannot find which settings he has done to stop the checkout process.
Can anyone tell me what are the possibilities to stop the default module from working.
Also every thing else is coming right on the cart page. Header and footer and all the things just that it is not rendering the html for cart block. The Content just came up empty, with no HTML.
Please open the adminpanel and then go to the
System/Configuration/Advanced
there is a tab Disable Modules Output and then enable the Mage_checkout module
As I have told you the previous developer have disabled the modules. But that was not the case the developer have installed some extensions to disable the checkout process but that does not work very well. Then he tries to delete the extensions the wrong way so the entries that were made by those extensions was still in the database table "core_config_data".
And these values are being used by the left over files of the extensions ans he has overridden the magento core files for that. I just copy and replace the core magento files and also cleared the table "core_config_data" table and all things got working once again.

Manually Removed Joomla Component but Title Still Showing Up in Extension Manager

I had a component cause a bunch of errors at installation in my Joomla website. I tried the normal way of removing it by visiting the extension manager and clicking uninstall. This did not work, so I visited these two locations and deleted all the files:
../administrator/components/com_badcomponentname
../components/com_badcomponentname
I then went into phpmyadmin and dropped all the tables that were associated with com_badcomponentname.
The only thing that is left is the listing in the extension manager. I want to be 100% done with this component, but the name still shows up. I can disable the listing and that gets it out of the components drop down list in the admin panel. Where can I go to manually remove the reference?
You say that you dropped all the tables that were associated with the component, however if it is still showing in the Extension Manager, then go back into PhpMyAdmin, go into the table jos_extensions (jos being the prefix which may be different for you) and remove the reference in there too
Ideally you would want to to a search on all tables for the name of the component with or without the prefix com_.
Also inspecting the install SQL files would give you a better idea if you deleted all the associated tables.
In my case, based on #Valentin Despa's answer, I grep'd the full SQL dump of the site, and found the stale menu items in the jos_menu table.

Where is the changelog of a Joomla page?

I'm new with Joomla, but I should fix some bugs on a page. Do you know, where can I find the changelog of the page? Is there any log, or I have to looking for some extension?
If you are referring to keeping a trace of changes in page formatting, then an external tool such as git or svn will do the trick.
If you however want to monitor changes to the contents of a page (text, title, meta etc), then you want to look into a plugin. I have used com_versions successfully on fairly large sites (3000+ articles 10+ authors) and it worked nicely. No configuration, just a new button in your edit field where you can inspect and choose previous versions. You can find it here: http://www.fatica.net/extensions/simple-content-versioning.html

Resources