MAMP Pro and PDO-dblib - pdo

For some days I've been using MAMP Pro 3.07 from http://www.mamp.info.
Great tool and all works fine.
But now I have the problem, that for a new project I need to connect to MSSQL.
I searched for a howto the last 3 hours in www, but canĀ“t find a working answer or am I to stupid?
Is there a possibility to install "PDO-dblib" on MAMP on OSX Yosemite?
Or can somebody explain me how I can do this?
Thanks in advance!

From PHP website:
PDO_DBLIB: This extension is not available anymore on Windows with PHP 5.3 or later.
I see MAMP allows you to use different versions of PHP, so if you choose php 5.1.6 it may work. There is also a comment there from a guy who wrote its own class for this purpose. I am adding you also the pecl repository for this PDODblib.
Apart of this I am recommending you to use the latest version of PHP and do not rely on maintained extensions. PDO, which comes now by default with PHP, allows you to connect to MSSQL databases and you can find documentation here and here.

Related

Trying to transfer older version of mediawiki to new server

So, in college I had a Debian server which used to host a wiki, with mediawiki version 1.9. This server stopped working, and all I have now is its HD. I want to transfer this wiki to a new server, which also runs Debian, but I can't do that with Debian's current stable version of mediawiki, 1.15, because it is not possible to transfer a wiki to another version of mediawii.
So, my idea is to install mediawiki 1.9 on the new server, and then move the wiki. But I am having problems with installing it.
When I go to http://my_hostname/config/index.php, to configure the new wiki, so that I can transfer the other one, I get the following message, and nothing happens:
Checking environment...
Please include all of the lines below when reporting installation problems.
PHP 5.3.3-7+squeeze8 installed"
I really don't have a clue on what is wrong. ANY help would be greatly appreciated!
Like you commented yourself, it would certainly be worth a try to using your existing configuration. The configuration is typically some site preferences and database configuration, so make sure dat your database is setup in the same way as before.
Regarding your configuration problems, maybe php filters away the errors. You can check this by searching for error_reporting in your php.ini.
Just follow the instructions at http://www.mediawiki.org/wiki/Manual:Upgrading. Probably no point in trying to install at MediaWiki 1.9.
You may want to do a clean install of MediaWiki 1.18.1 first just to make sure your system is ready, all dependencies met, etc.

How to add glassfish 2.x to Netbeans 7.0.1 on mac os x

I have been trying to install glashfish 2.x into netbeans 7.0.1 for three days now. Needless to say, I have tried many, many things. Presently I am here: According to Netbeans.org, glassfish 2.x should be in the list of available plugins. But it's not there.
Will anyone please share their success with me? I am using mac os x.
Thanks
Tell me about it. Been fighting this off and on now for a week. Keep having to go back to 7.0.0 prior to adding the 'fixes' to plugins. Utterly frustrating!
Did you guys check what you had in your netbeans update center ? I have heard people mentioning that they had URLs for 6.9 and plugins (such as GF2.0) will not show up until you modify that URL for 7.0

Ubuntu Server 64bit 11.04: setting up as "Ruby on Rails" server with SQLite3

I have looked so long for nice tutorials, but still couldn't find any for Ubuntu 11.04. I wan't to set it up to learn by this book: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
The tutorials I found are not quite up to date and also doesn't aren't for 11.04 Ubuntu.
I am asking for quick tutorial, what's the best way to set up RoR server.
Also if you know any other great Ruby on Rails tutorials, as the link I wrote above, please don't hold back and definitely share the link to it.
Ty in advance!
PS! I already messed up one of my Virtual Machines, but luckily I had made snapshot of clean install.
Ubuntu has Rails packages already. It should be as simple as doing apt-get install rails-ruby1.8, which'll install Ruby as a dependency as well.
Ryan Bigg has a very nice tutorial called Ubuntu, Ruby, RVM, Rails and You. Since you're configuring a server you will probably have a look at some tips about deployment & best practices written by the creator of RVM himself.
I'm sure you have it done already though since it's an old question, but I the links will be of use to someone else.

Xwiki - Error with Apostrophe in Space Title or Page Title

I have installed a fresh install of XWiki on a Windows platform.
The XWiki instance was installed using hsql for data storage.
The XWiki instance is hosted on Apache Tomcat.
Some of my users entered an apostrophe into the title of a page as well as the page content.
I received the following error:
http://jira.xwiki.org/jira/browse/XE-767
What is my next step to fix my broken XWiki instance?
Is there a way to upgrade a XWiki instance to a version that works? How do I save my existing content?
From reviewing the developers comments, it appears that issue has been corrected.
I, however, do not have enough background in Java or XWiki to know how I can move forward.
Thank you in advance for your help.
Indeed, the best solution is to upgrade to a newer version. Don't worry, upgrades are not that difficult.
http://platform.xwiki.org/xwiki/bin/AdminGuide/Installation#HUpgradinganXWikiInstallation
There are two parts in an upgrade: the platform, meaning all the files on the filesystem, and the wiki content, since quite often things change in the default wiki documents. Your specific bug can be fixed by upgrading the platform part, so if you're not too confident about upgrading the wiki content, you can just leave the old content in place.
In order not to lose your current database, be sure to leave the old "database" folder in place, and just replace the "webapps\xwiki" part.
From the error report the versions that fix the issue are
2.7 - http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise27
2.6.1 - http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise261
You can upgrade to one of them or to any following version, like XE
3.0 - http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise30
All versions can be downloaded from http://forge.ow2.org/project/showfiles.php?group_id=170
In a project that has such a rapid development cycle is very good to upgrade often in order to benefit from the latest features and bug fixes.

Can anyone provide any tips regarding a development environment for SilverStripe?

I'm pretty new to developing with SilverStripe. At the moment I'm using Firefox / Kate for development on the new platform.
I was wondering what other people use? Has anyone used Eclipse with any success? Are there any other IDEs / environments / approaches that work well with SilverStripe?
Try using Netbeans for PHP-development, works great for me.
I'm using Aptana, an Eclipse based IDE.
I'd recommend searching on here for PHP IDEs for a better answer.
I use Zend Studio 5.5 which is no longer distributed since they replaced their custom app with a Eclipse variant. I would go with Aptana Studio if you think about going with an Eclipse variant.
Just make sure that you can syntax highlight .ss files like .php and you are fine with any that let you see your whole project as you will jump to/from /mysite and /themes folders quite often.
The Silverstripe documentation recommends the PHP Development Tools PDT for Eclipse amongst others: http://doc.silverstripe.org/tools