Archive for the ‘programming’ Category

Ubuntu and NetBeans 6.1 Install Issues

Monday, March 10th, 2008

I’ve just spent about an hour trying to install the new NetBeans 6.1 Beta on my Ubuntu machine and kept getting this message in the terminal and then a bank installer screen:

Running the installer wizard…
/usr/share/themes/Human/gtk-2.0/gtkrc:71: Engine “ubuntulooks” is unsupported, ignoring…

Now you might assume that this is a problem with Ubuntu’s native look and feel not being supported or maybe some kind of java version problem. I did, and so spend some time making sure I had the latest jdk and  then tried to pass a java platform argument into the install script all to no avail.

It turns out to be a problem with java and compiz. Turn the Visual Effects settings to none in System>Preferences>Apperance and the installer runs as it should.

PHP Fcgi Woes!

Monday, November 12th, 2007

Just uploaded a new PHP script to our web server and got this:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /usr/local/psa/home/vhosts/xxx/httpdocs/xxx on line 37

The new file is PHP5, the web server is running PHP4.xx.

(more…)