ez publish community gateway

› 2011 Aug 25th - Meeting minutes

Resuming activities after the summer break ! On the agenda : Job Board, Event Planner.

 

You can find the previous minutes here : 2011 July 11th - Meeting minutes

26/08/2011 7:04 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Job Board : information

Ever dreamed of having an eZ Publish-specific job board ? Read-on and tell us how you picture it !

26/08/2011 3:52 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› First release of PHPIDS

So there we are, welcome to the brand new project page of PHPIDS for eZ Publish! The very first release of this extension is scheduled to be rolled out in about 2-3 weeks, alongside with PHPIDS 0.6.6.

26/08/2011 9:46 am (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

derick rethans

› Remote Debugging PHP with a Firewall in the Way

Remote Debugging PHP with a Firewall in the Way

The PHP debugging extension Xdebug has "remote" debugging capabilities for single-step debugging PHP applications. This works by setting your favourite IDE into listening mode and instructing Xdebug (with one of the handy browser extensions for example) to initiate debugging. When Xdebug is instructed it tries to make a connection to the IP address and port number that are configured in php.ini. On this IP address and port Xdebug expects to find a listening IDE. This IP address can just be 127.0.0.1 in case your IDE and web server/CLI script run on the same machine. But as Xdebug supports remote debugging, PHP/Xdebug could also be running on a totally different machine than your IDE. In that case, you need to pick the IP address of the machine on which the IDE is running as the configuration value for xdebug.remote_host. Alternatively you can set xdebug.remote_connect_back to true, so that Xdebug may simply pick up your client machine's IP address from the HTTP headers.

There could however be a firewall in the way that prevents Xdebug connecting directly to your IDE's IP address. That can be because the network you are on employs NAT in which case you could try (to convince) to get your system administrator to install a DBGp proxy. In some cases, he might not be willing to do so, or perhaps, there is simply a black box that doesn't allow either a proxy to be run on it, or port forwarding to be set-up on. In this case, there is no way Xdebug can connect to your IDE's IP address and port. Or is there?

Breaking the Firewall Down

There is another solution, at least, if you have SSH access to the development machine where Xdebug is running on. In this case, you can simply ssh in and set-up a tunnel:

ssh -R 9000:localhost:9000 username@dev.example.com

This command opens up port 9000, configured with the first 9000 in the command, for listening on the machine where you ssh-ed into. Every connection that is made to this port is then forwarded to localhost:9000, which in this case is port 9000 on the machine from where you ran the ssh command from. When you set Xdebug's xdebug.remote_host setting to localhost and xdebug.remote_port to 9000 you know have instructed Xdebug to connect to your SSH-tunneled connection which is forwarded to your local port 9000. And that is exactly where your IDE is listening for incoming debugging connections. Result: Firewall circumvented.

If you are so unfortunate to be using Windows on the client side then you don't have the luxury of being able to use the simple SSH client. However, you can set-up tunnels with putty as well. After configuring your normal session, go to the Connection, SSH, Tunnels section of the configuration and fill in Source port and Destination, and select Remote, just like in this screen shot:

putty-tunnel-settings.png

Then click the Add button and you will see the following on your screen:

putty-tunnel-result.png

Don't forget to go back to the Session tab and press save. You're now ready to login and when you do so an SSH tunnel will be created just like in the Unix case above.

You can check whether it worked by running: netstat -a -n | grep 9000 on the SSH prompt after logging in. You should then see:

derick@xdebug:~$ netstat -a -n | grep 9000
tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN
tcp6       0      0 :::9000                 :::*                    LISTEN

The tcp6 portion might not be there, but that's all right. There, even with Windows: Firewall circumvented.

25/08/2011 10:42 pm (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Technical Marketing / Online Specialist - Oslo, Cologne or Lyon

Appealing headline ?

Read the full offer there : http://ez.no/About-us/Careers/Technical-Marketing-Online-Specialist

25/08/2011 2:07 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Survey : Should you receive notifications about your own posts on share.ez.no

Håvard came up with a suggestion, we decided to submit it to the whole eZ Community through a short survey.

25/08/2011 9:46 am (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Tip: Setup Ubuntu 11.04 for eZ publish dev

Sometimes it's just better develop in Ubuntu, so in this post I will show how to setup your Ubuntu for eZ publish dev.

24/08/2011 8:33 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Part 2 of Leading a professional, vendor-backed open-source community

Last time i put pen to paper was for the first part of this series of posts on leading a professional, vendor-led open-source community. I gave you my short, biased version of the open-source community management history, and started brushing-up what i consider as the basics of open-source Community Management. Please bear with me while i continue entertaining you with this part.
Grab your mug, turn-up the volume of your favorite tune. Action.

 
23/08/2011 11:44 am (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› eZ Publish Community Project 2011.8 hitting the road today

Build number 5 of eZ Publish Community Project is now available, going by the sweet name of 2011.8. Read on for all details.

22/08/2011 6:30 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Tip: The minimum content action extension

In this post I will show how to create the minimum content action extension.

19/08/2011 2:53 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

eZ publish™ copyright © 1999-2005 eZ systems as