PHP filter_var URL Bug - cloudcontrol

My Cloudcontrol project is currently suffering from this PHP-Bug: filter_var($url, FILTER_VALIDATE_URL) acting weird in PHP 5.3.2
Can you do anything about it? I worked some days ago so I guess you've updated the PHP Version.
My Project's name: mitfahrmonster
Thanks
Matthias

the luigi stack with PHP 5.3.2 didn't change within the last days. We will have a look at this bug.
As a general suggestion, if it is possible use the pinky stack (PHP 5.4.14). This will be the default stack within the next days. phpinfo: http://pinky.phpinfo.cloudcontrolled.com/
You can switch between the two stack with cctrlapp app_name/dep_name deploy --stack {luigi,pinky}
Best regards
Tobias Wilken

Related

'XrmFakedContext' does not cointain a definition for 'ExecutePluginWith'

I'm trying to upgrade a unit test project to the latest version of FakeXrmEasy 2.1.2 and I'm getting the error below:
'XrmFakedContext' does not cointain a definition for 'ExecutePluginWith' and no accessible extension method 'ExecutePluginWith' accepting a first argument of type 'XrmFakedContext' could be found
Any ideas what I'm missing?
This might happen because some methods were moved into dedicated namespaces and so some extra using statements might be necessary.
Please try adding these usings:
using FakeXrmEasy.Abstractions.Plugins;
using FakeXrmEasy.Plugins;
Also please check the documentation site with other steps that might be useful. In particular the Quick Guide to migrate in 6 steps is probably an essential resource:
https://dynamicsvalue.github.io/fake-xrm-easy-docs/quickstart/migrating-from-1x/

dlclose not unloading nested shared library on gcc, linux

I have gone through other questions on SO with no luck for eg:
C++: dlclose doesn't unload the shared library
I have encountered with two shared objects(unfortunately i can't expose the code).
lets say
liba.so and libb.so
liba.so implicitly links libb.so.
And an application explicitly links liba.so using dlopen() with RTLD_LAZY flag.
Everything is working fine except that dlclose() isn't unloading liba.so, although its returning successfully. lsof command is showing both liba.so and libb.so as loaded.
As the answer to above question suggests, dlclose() only decrements ref count. But as nothing else is using those libraries I expect dlclose() to actually unload it.
I have tried these two so's with different application with same problem. So I guess the problem is within the libraries.
Can someone please give suggestion about what might be the cause.
Hmmm... finally it seems that the problem has been found.
That's a bug in OpenSUSE.
Here is the link:
https://bugzilla.novell.com/show_bug.cgi?id=680125
The code is ran on OpenSUSE 12.1 and the bug was resolved in OpenSUSE 12.2.

Error:couldn't initialize class SK.gnome.twain.TwainManager

I bought the license for Morena - Image Acquisition Framework version 6.0.1.0. when I want to run applet in web browsers there is below error
java.lang.NoClassDefFoundError: Could not initialize class SK.gnome.twain.TwainManager
Can somebody please advise on what can be done.
Please,help me
I hope you solved it after so much time, but I'll try to answer the question, because google direct me here.
There are two possible problems:
List item Like is said in support page - The cause of this error is often in the license. Your trial license may have expired, for example.
List item Other possibility is your jdk version, you can solve it installing an old jdk version.

Symfony2 install ChillDevProxyTemplatingBundle - Cannot import resource

i´ve just installed the ChillDevProxyTemplating Bundle for symfony2, described here:
https://github.com/chilloutdevelopment/ChillDevProxyTemplatingBundle/blob/master/Resources/doc/installation.md
My templates was rennamed correctly by the bundle (from 'default' to 'php'), but when i try to call my controller I get the following error:
Cannot import resource "." from (...)app/cache/dev/assetic/routing.yml". (The following loader(s) are not registered: default).
Has anyone an idea how to fix??
Thanks a lot !
As explained here: https://github.com/chilloutdevelopment/ChillDevFileManagerBundle/issues/27
You might just need to install ChillDevViewHelpersBundle to get it working.
I previously added answer to this question, but it was removed by moderator since my reputation was not high enough to post a comment.
But now thanks to support of community I was able to investigate this problem:
https://github.com/chilloutdevelopment/ChillDevProxyTemplatingBundle/issues/2
It's now fixed :). Thank you for pointing the problem.
The problem was, that Assetic, in dev environment tries to parse all the templates based on templating engine name so it needs loader for each templating engine - of course for "default" there was no loader and thus caused an exception.

ASP.NET Display SVN Revision Number

I see in the Stack Overflow footer that the SVN Revision number is displayed. Is this automated and if so, how does one implement it in ASP.NET?
(Solutions in other languages are acceptable)
Make sure that the file has svn:keywords "Rev Id" and then put $Rev$ somewhere in there.
See this question and the answers to it.
In my rails app I have a secret action which literally does this:
render :text => `svn info #{RAILS_ROOT}`
This is the equivalent of Process.Start( "svn info..." ) if you're only familiar with .NET)
If I'm wondering if the guy who manages the servers has updated the site recently, I can hit this URL, and have a look.
in our continuous integration setup we use SVNRevisionLabeller and pass the variables from this to MSBuild to use when creating the compiled website dll. It's then available to .NET using GetCurrentAssembly() in the final build.

Resources