Wednesday, April 29, 2009

PHPBB3 Template path could not be found

I received this error when I was trying to login into ACP after writing Auth plugin for integrating site authentication system with phpBB3. In my case the mistake was assigning phpBB3 variable in plugin, that led to altering the global variable.

$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';

Saturday, April 11, 2009

How did I install dual monitors in ubuntu

As I killed one day for this, I can share how I finally managed this. I had an ati driver: with my Radeon 9200. These are two good links for this:

BinaryDriverHowtoATI | Community Documentation

HowTo: Dual Monitors (Xinerama/TwinView/MergedFB/Big-Desktop) | Ubuntu Forums

One of the reasons to install fglrx driver instead of open source ati for ati card is dual mode. As from first link ubuntu documentation:

The 'fglrx' driver does not support cards earlier than the 9500.

Different configurations with xorg.conf file didn't have an effect for me. I even tried to install envy packages with no result. So I took the easier way and installed nvidia Geforce 6200. After that I removed all video drivers via synaptic manager: ati, fglrx, envy, nvidia, upgraded my ubuntu to 8.10, reconfigured x server:
sudo dpkg-reconfigure xserver-xorg
restarted x server. I got an low resolution screen. After I installed nvidia-settings package and with it I configured my resolution, and even dual monitors using Twinview. This program allowed also to save configuration to xorg file. I restarted my x-server and vuala I got cool dual montitors.