drupal6 updaitng the date module - module

When looking at the update.php I get this error.
date module can not be updated. Its schema version is 5104. Updates up to and including 5210 have been removed in this release. In order to update date module, you will first need to upgrade to the last version in which these updates were available.
how can I fix this?

You should download and install version 6.x.2.4 of the module, run update.php and then install the latest version of the module, and run again update.php.
Previous versions are available by clicking at the "View all releases" link at the bottom of the project page.

Related

Best practice to update dependency v-calendar from beta to v2

what is the best practice to upgrade the dependency v-calendar from beta to the latest version v2.3.0?
I know the question is opinion based, but I am new to the field, what are the pros and cons of the way to do the upgrade.
We use "v-calendar": "~1.0.0-beta.14" in production. The latest version is currently v.2.3.0
I can think of two ways:
update to the latest version with yarn add v-calendar#latest?
upgrade incrementally until the latest version is reached with yarn upgrade "v-calendar"?
What should I do to reach the latest version? thank you
ps. we are using vue: ~2.6.10
Unless the package you are using has an upgrade guide (99.99% of them don't), there is absolutely no point in doing an incremental upgrade. If it has an upgrade guide, read and follow its instructions.
The easiest way to upgrade is to change the package version to latest (in most IDE's if you press Ctrl/Cmd and hover the package number shown in package.json a tooltip will show you currently installed version, latest wanted version and latest available version). After you changed it (by typing the latest version in), run yarn install.
In the vast majority of cases, that's all you need to do, because most packages are built with backwards compatibility (existing features remain and new features are being added). If that's not true in your case, you'll have to reimplement it following their documentation. Typically it's no big deal.
Also, note there is no risk in attempting to change to a newer version. If things break, you just go back to package.json, change version back to lower, run yarn install again and everything is back to square one.

How to merge updates in source code instead of replacing with latest version in npm install package#latest?

I have uploaded a package on npm which a user can install and making required changes in the source code. Currently, when I install the latest version over pre-installed but modified package using
npm install packageName#latest
to update it to the latest version; my modifications are overwritten. I want to get the latest version but keep my changes as well. One can say, I want to merge the latest version with my modifications. Any help to achieve this goal will be appreciated.

Upgrading Prestashop from 1.7.0.3 to latest with 1-click Upgrade module

I currently have a 1.7.0.3 Prestashop that I'd like to upgrade to the latest stable version. When I start upgrading from the 1-click Upgrade module, the latest version is downloaded correctly but I get an error about the backup name not specified. I then disabled this option of backing up files and database as I couldn't find where to fill in this information (I made manual backups).
I am then told that 17152 files have to be modified, whereas the version comparison tells me that only 5157 files need to be modified and 895 deleted. And the upgrade is stuck at 17152 files left with a great number of ajax calls being made until I get the following error:
[Ajax / Server Error for action upgradeFiles] textStatus: "error " errorThrown:" " jqXHR: " "
As I was looking for a solution, I tried to upgrade from the local directory by choosing this option in the expert mode of the module. But when I save my choice, it is not taken into account and stays on the option "Major version", and therefore downloads the upgrade from Prestashop instead of using the local directory. I get the same result if I choose the option "Minor version". Debug mode brought nothing in the process.
How can I get the upgrade to work?
You can NOT do that with the 1-click module.
Read more here: http://build.prestashop.com/news/prestashop-1-7-faq/#is-it-be-easy-to-upgrade-from-previous-versions-of-prestashop-to-v17
It's also discussing on this topic: Upgrade Prestashop from 1.6.0.11 to 1.7 (latest version)
However you can migrate your data from your old Prestashop website to Prestashop 1.7 using this free module: https://www.prestashop.com/forums/topic/820013-migrate-or-upgrade-prestashop-16-or-other-versions-to-17-%E2%80%93-free-module/
You can not update PrestaShop 1-Click Upgrade with PrestaShop 1 to upgrade PrestaShop from version 1.6 to 1.7. So these versions have completely different structure and are incompatible between itself.
But you can import data from version 1.6 or another version to version 1.7 using our module.
This is a paid module, 199 euros, but it can help with such problems when other options do not work.

Best way to ensure latest F# FAKE?

What is the best way to ensure that all developers and the build server are using the latest version of FAKE?
If a build.cmd like the one from FSharp.Data is used, the developer will not be on the latest until they delete FAKE from the packages folder or just delete the whole packages folder.
If you add FAKE as a dependency in .nuget\packages.config, your build.fsx script must include the version information and be updated each time you change versions. You will not automatically get the latest version.
With NuGet 2.8.1 you can remove the "if not exists" parts - NuGet will check (very slowly) if the latest FAKE is installed.

Install SmartyPDT 0.0.9.1 in Eclipse Kepler

I just installed the latest version of Eclipse Kepler which is RC3 (found at http://www.eclipse.org/downloads/index-developer.php). I had been using this "smartyPDT" (found at https://code.google.com/p/smartypdt/ ) plugin for all previous versions but i cant seem to install this plugin anymore. I get the error
Cannot complete the install because one or more required items could not be found.
Software being installed: Smarty Feature 0.91.0
(org.eclipse.php.smarty_feature.feature.group 0.91.0)
Missing requirement: Smarty Feature 0.91.0 (org.eclipse.php.smarty_feature.feature.group 0.91.0) requires 'org.eclipse.php 0.0.0' but it could not be found
I tried with the old version of smartyPdt which is 0.9.0 and also the 0.9.1. Any idea how to solve this issue or better yet how to get the SmartyPDT to work wih Kepler?
Here's a quick fix -> Just use the juno update site to install a compatible version of PDT with the smarty plugin:
(1) Start eclipse.
(2) Under the help menu, click on install new software.
(3) Click Add.
(4) Input any name, then http://download.eclipse.org/releases/juno/ in the location field, then press ok.
(5) Select the newly added update site from the drop down list, then select Eclipse PDT and install.
(6) After eclipse restarts, installing smartypdt will work now.
* * * If you've already installed PDT via the Kepler update site: * * *
just go to your eclipse installation,
open the features folder,
DELETE the entire folder named org.eclipse.php_3.2.0.201306051924,
Restart eclipse, then follow then install PDT via the juno update site.
smartyeclipse-4.3keplerpdtpluginsfeatures
These steps just worked for me on Eclipse Kepler:
Install Juno version of PDT
Install Smarty PDT
Remove Juno version of PDT
Install Kepler version of PDT
You have latest versions of PDT and Smarty plugins.
To install Smarty PDT to latest PDT use http://p2-dev.pdt-extensions.org/ update site. Feature is under "Text Editors / Productivity tools" category.
There is hope to solve this issue
One way I have been told to solve this issue is this
Download the Smarty PDT
Unpack its content.jar to edit the content.xml file inside
Delete both lines 36 and 134 containing the org.eclipse.php dependencies listed and save the changes
Re-pack (compress) the content.xml into content.jar and re-pack the content.jar into its original location/folder.
Install the plugin as usual
I tried this method and the installation worked without any glitch.
Thanks a million to a user stanisla...#gmail.com on directing me through all this. Take a look at https://code.google.com/p/smartypdt/issues/detail?id=71 for further details on this issue
NB: After installing I dont get any syntax highlighting at all. I cannot even locate any smarty related stuffs in the eclipse preference modal window.
At least there is a progress...
I have prepared an archived update site compatible with Eclipse Kepler and the latest PDT release.
Find the download and further information at http://www.bar54.de/blog/2013/02/phpeclipse-and-smarty/
For those which want to try the badfish331 answer, it works, but only the unistall process part is wrong.
To unistall your current PDT software, go to "help"=>"about eclipse"=>"installation details" and unistall PDT.
Then install the Juno's PDT, smartyPDT and everything should be working well.
Click "install new software" under "help" menu
click "add"
give it a name (ie. PDT Extensions)
add http://p2-dev.pdt-extensions.org/ in the location field
press "ok"
type in "smarty" in the filter bar.
click the checkbox and click the "next" button and continue through saying "yes" or "ok".
File Association
- General -> Editors -> File Associations
- "Add" new file association "*.tpl" (for example).
If this is a known file extension for Smarty, it will automatically get associated to the right program and you can just click "ok" at the bottom.