stackemedia

cvs server: sticky tag _ for file _ is not a branch

This was posted in Development, Error Solutions on September 2nd, 2010

We use TortoiseCVS for version control, today I got the error

cvs server: sticky tag ” for file ” is not a branch … correct the above errors first!

This was caused by getting a previous revision of the file and trying to commit a change to that file; however you can only commit to HEAD.

To get rid of this error and commit your changes, right-click the file, CVS > Update Special > Check “Get tag/branch/revision” > select HEAD > click OK.

You should then be able to commit your changes.

Our TortoiseCSV version is 1.10.10

jQuery Validation to Booking Plugin

This was posted in Development on May 5th, 2010

It has been a few months since I did any development on my Wordpress Booking plugin, mainly due to other projects going on that I wanted to complete before continuing on this one.

Version 0.1 of the Booking form did not have any validation, but I have added this in version 0.2 (baby steps). I still need to add validation for telephone numbers, but otherwise it is working on required fields and email address.

I have uploaded the changes to the demo site at demo.stackemedia.co.uk, which you can use to play around with. Still lots and lots to do on this, but I have no other personal projects planned (besides a little twitter Wordpress plugin), so can give this my focus.

If you like what I have started, please let me know – I find it encouraging that people are interested.

If you need any further incentive to check this project out, then you will be happy to know that this plugin will be available for free, it is a work of love. (If you wanted to though, you can buy me a coffee or a pint ;-) ).

Here is a screen-shot of the validation in action. The validation makes use of jQuery – so JavaScript must be enabled on the browser for it to work.

smbookingformval

New site template

This was posted in Development, General on April 22nd, 2010

The standards for developing web sites are constantly changing. Cast your minds back to when you had to develop sites using nested tables *shiver* – with some exceptions (curse you Sharepoint 2007) , I’m glad I don’t need to use nested tables in my site designs anymore.

Now  pure CSS designs are all the rage. In accordance with changing standards, and also to keep my skills fresh, I have once again updated my Wordpress template. The design is “mostly” finished; however me being me, no doubt I will tweak it further over the coming months. I am happy as it is though, otherwise I would not have made it live.

Read the rest of this entry »

Wordpress Booking Plugin demo

This was posted in Development on December 31st, 2009

I have been working on a Wordpress Booking plug-in. It is currently in the early stages of development (very alpha); but what I have done so far appears to work OK. You are welcome to check it out at http://demo.stackemedia.co.uk/.

So far, you should be able to make a booking via the front-end and the admin. You should get a confirmation message when you do the booking; I would use a service like http://meltmail.com/ to test – so that you are not displaying your email address.

Further instructions on the site.

If you have any comments or things you would like to see in the final plug-in; please add them to the demo sites feedback page.

Wordpress Booking Plugin

This was posted in Development on November 11th, 2009

Recently I had to look into either using a third-party booking plug-in (for renting properties), or writing my own. I became apparent to me that there were not many plug-ins out there that added this functionality to Wordpress. The ones that I found were usually lacking in quality and features.

I am creating a Wordpress plug-in that will be feature rich, and easy to use. My goal is to turn Wordpress into a booking system that can be used for booking the use of anything from holiday properties to rental cars.
Read the rest of this entry »

IIS ASP.NET tab not showing

This was posted in Error Solutions on July 6th, 2009

Platform: Windows Server 2003
Issue: ASP.NET tab not showing in IIS; thus unable to select dotnet version.
Solution:

1. Uninstall IIS
2. Reboot server
3. Install IIS
4. Open the command prompt (start, run, “cmd”)
5. Type: “cd C:\WINDOWS\Microsoft.NET\Framework\v1.x.xxxx”
6. Type: “aspnet_regiis.exe -i”
7. Type: “cd …”
8. Type: “cd v2.x.xxxxx”
9. Type: “aspnet_regiis.exe -i”
10. Open iis (start, run, “inetmgr”)
11. Check that the ASP.NET tab is visible and that you can change the version of .net.

Web enabled feedback form

This was posted in Development, MOSS/Infopath on June 19th, 2009

You may want to include a feedback form or questionnaire on your Share Point site. Not every one will have the InfoPath client installed on their local machine, so the best way to ensure that everyone can access the form is to web enable it.

Enabling the form for use within a web browser is fairly simple: the only drawback being that you will be fairly limited during design as to what controls and functionality you might use. Saying that, for a simple survey, you won’t need anything beyond the basics.

To start off it would be best to setup your site and document libraries first. (I will presume that you do not have a site setup already so we will start from there). Once the site and libraries have been setup, we will create the form in InfoPath.

Read the rest of this entry »

Error 1718. File FileName was rejected by digital signature policy (VS.NET)

This was posted in Error Solutions on June 17th, 2009
Error: “…\Windows\Installer\{some value}.msp did not pass the digital signature check”
(Error 1718. File FileName was rejected by digital signature policy.)
Platform: Windows Server 2003
Task: Installing Visual Studio 2005 SP1
Solution: Download the patch from Microsoft located at http://go.microsoft.com/fwlink/?LinkID=73863

Content controls have to be top-level controls (VS.NET)

This was posted in Error Solutions on June 17th, 2009
Error: “Content controls have to be top-level controls in a content page or a nested master page that references a master page”
Platform: Windows Server 2003 / Visual Studio 2008
Task: Viewing a new page created in a project containing a Master Page, which had not been set to use Master Page at creation.
Solution: A solution may be found at

http://www.net-aspect.com/Articles/Error–Content-controls-have-to-be-top-level-controls-in-a-content-page-or-a-nested-master-page-that-references-a-master-page.aspx

TF10121: The path ” is not found or not supported. Type or select a different path (VS.NET)

This was posted in Error Solutions on June 17th, 2009
Error: TF10121: The path ” is not found or not supported. Type or select a different path
Platform: Windows Server 2003
Task: Removing a project from one solution and adding it to another.
Solution: The problem is that a stale reference to the old project is still stored and when we add the
project, it gets back an empty string when we try to get its old directory path.

To workaround, close the original solution and new solution. Re-open the new solution and re-add
the project. It should now add properly.

Still doesn’t add properly? Try removing all Source Safe Bindings:
1. Open project file (csproj) and delete the lines similar to:

<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>

2. Delete source safe files (i.e. *.vspscc)


Tested browsers: firefox, chrome, IE8