Opera Unite
by David Scott on Jun.17, 2009, under Ramblings
I like Opera. Its browser is sleek and fast. Widgets are a breeze. Page load is fast.
Its just got a ton better too with a new service called Opera Unite. Basically a file sharing service run from your browser. Or a web server running from your computer.
To quote from Opera:
With Opera Unite, we [...]
Cannot find php.ini in /usr/local/lib
by David Scott on May.12, 2009, under Linux
After re-installing php 5.2.9 on Centos I realised video uploads weren’t working. I needed to change the max_post limit and the max file upload limit.
Lo and behold my world was shattered when upon changing the values in my php.ini file (located in /etc/php.ini) the changed values didn’t take hold.
After crying for a few minutes I [...]
Incrementing Variable in Smarty
by David Scott on May.06, 2009, under Design
Constantly forgetting how to do this so I’ll post it here.
To increment a variable in Smarty - particularly useful if tracking table rows and when to start a new one.
{assign var=myCounter value=0}{foreach from=$latestproducts item=product}{$product.NAME}
{if $myCounter eq 2}
{assign var=myCounter value=0}{else}{assign var=myCounter value=$myCounter+1}{/if}{/foreach}
As the code gets messed up in the formatting, I’m reproducing below in an image:
In [...]
Apache using older version of PHP
by David Scott on Apr.28, 2009, under PHP
Its happened a few times now when installing PHP.
Running Centos 5 and installing php 5.2.9
After a lot of ./configure using the following :
–with-bcmath –with-bz2 –with-calendar –with-ctype –with-curl –with-date –with-dbase –with-dom –with-exif –with-ffmpeg –with-ftp –with-gd –with-gettext –with-gmp –with-hash –with-iconv –with-imap –with-libxml –with-mbstring –with-mime_magic –with-mysql –with-mysqli –with-openssl –with-pcntl –with-pcre –with-PDO –with-pdo_mysql –with-pdo_sqlite –with-posix –with-pspell –with-Reflection –with-session [...]
Microsoft Profits down 32%
by David Scott on Apr.24, 2009, under Ramblings
In a sign of the times Microsoft today reported a drop in profits by a whopping 32%.
Sounds terrible until you realise that they now ‘only’ turned a profit of $2.98 billion! No chance of them going bust anytime soon.
I’ve spent the past week fighting the urge to format my laptop and install Linux. Windows Vista [...]
tcpserver: fatal: unable to bind: address already used
by David Scott on Apr.09, 2009, under Servers
Sweet Suffering ****!
Have I ever done anything to deserve being burdened with email servers?
Please kindly make the errors stop.
Yours in Trust,
David Scott.
I’m running webmin on a server with Qmail and vpopmail. Of Course, in my long running battle with email servers, after a reboot mine decided to start refusing all connections. Telneting to the [...]
PHPFOX - JOOMLA Integration
by David Scott on Apr.07, 2009, under Scripts, joomla, phpFox
Its finally done!
phpFox and Joomla - I’ve integrated them! Its for sale over at Best-Scripts.com. Some of the key features:
- Integrated Signup
- Integrated Login
- Integrated Logout
- Integrated password change
- Integrated profiles
- Integrated Edit profiles
- Most recent articles submitted by user appear on their profile page
- Link from submitted [...]
Qmail svc stat command not found
by David Scott on Apr.03, 2009, under Ramblings
If you are trying to start / stop or get stats from qmail with the command ‘qmailctl’ you might get the following error or something similar:
qmailctl svstat: command not found line 49
Its most likely caused by daemontools not being installed. Do a search for it for how to install on your system. For Centos [...]
BT-Ireland cut me off!
by David Scott on Apr.01, 2009, under Ramblings
Well, finally finished the phpfox-joomla integration! Ready to launch it and … my ISP cuts me off!
Yes, the geniuses (geniii ?) up at BT Ireland were double charging me through two direct debits. When I (nicely) pointed this out, their solution, instead of cancelling one direct debit, was to cancel the whole account. There ya [...]
Joomla 1.5 session time out integration
by David Scott on Mar.27, 2009, under joomla
Runnning into a session timeout issue with Joomla. I’ve it integrated with fireboard and even though I’m still logged in on fireboad, when I return to the main joomla site I’m logged out.
The solution is the time out settings on Joomla - 15 mins.
You can edit the session timeout variable from the adminpanel in joomla. [...]
