Sidagi.gr, launched in November 2011, is a gourmet website containing a large number of recipes from all over the world. With a steady flow of new recipes, along with tools such as the calorie meter and the categorization per ingredient, it provides a fresh outlook to the cooking recipe presentation and discovery as a whole.

24h.gr is a news portal aspiring to cover every event that happens in Greece. With a team of journalists feeding more than 200 news items per day, video channel with exclusive interviews, detailed breaking news analysis and stock exchange coverage it might as well be one of the upcoming authoritative news portals.

PC Magazine is the leading technology publication, worldwide. Published by Ziff Davis in 34 countries, it plays a major role in technological evolotion.

Trustworthy, authoritative and innovative, PC Magazine knows the technology market better than anyone and through the reliable test performed by PC Labs it is in a unique position to precicely imprint a clear picture of products and the overall market status. PC Magazine's PC Labs are the largest labs for objective review of technology products and services in Greece.

International title with strong tradition and reliability in the Greek market, which is cultivated after 16 years of success, continuously innovating topics coverted and the magazine's style.

Madame Figaro addresses the modern, informed sofisticated woman that loves fashion and beauty and helps her define her identity and style through current issues and fashion editorials always registering the latest trends.

T3 Magazine is the largest technology lifestyle publication in the world, all the while being the most widespread title internationally; with 21 localized versions in 36 countries and over 500.000 readers worldwide.

It has a unique concept, modern style and in all the markets it is a part of, it represents a high quality, leading technology lifestyle guide. The publication arrived in Greece in December 2005 and has been published by Attica Media Group.

S: (n) geek A person who has chosen concentration rather than conformity; one who passionately pursues skill (especially technical skill) and imagination, not mainstream social acceptance

Huge fan of

Why is my system CPU so high?

in PHP, lstat, open_basedir, system cpu, top, drupal, Linux

Had some performance issues with a client, recently. The server is an absolute beast, and should be able to easily handle the single website hosted on it. Alas, pages took forever to load (D7). A simple top showed that load was at about 60, and CPU utilization was at 10% for user and ... 95% for system. Wait what?

Read more »

Upgrading Redmine to MariaDB

in Redmine, ruby, MySQL

On a stock CentOS installation ( DB wise, ie MySQL 5.1 ) we decided to roll out MariaDB. And it was wonderful, as all our LAMP apps didn't even seem to notice that something has changed. Not the same could be said about Redmine though...

Read more »

Recovering InnoDB tables from ibd and frm files

in MySQL, innodb, recovery, Linux, ibd, frm, shell

First day of the year in the office, and a call came up "site isn't working". Browsing to the site, I noticed it couln't connect to the database. Thinking it was probably some glitch, I logged in remotely to the server, to find that the filesystem was readonly. After trying to figure out why me, being root, could not do anything to the filesystem... it rebooted. My first filesystem crash.

Read more »

Protecting your cache folders

in joomla, Apache, htaccess, vulnerability, PHP

I spent the past few days in the VERY unpleasant situation where I had to remove tons of spam-sending scripts from a couple of websites I host. These were in relation to unsecured, unmaintained Joomla! installations, and exploited the cache folder. I won't bother you with the why or how, just know that the vulnerability existed, and has been fixed for versions 2.x and up -- NOT 1.x. Here's the simple way to secure yourself without changing the Joomla site code.

Read more »

Drupal filefield errors on node forms

in drupal, formAPI, filefield, error

For a recent client, I needed a node-add form in a custom path. Unfortunately, loading the form there via code (in order to prepopulate the node object) lead to all sorts of FileField errors, and the solution proved to be extraordinarily simple.

Read more »

Apache SSL certificate errors - wrong certificate

in Apache, ssl, vhosts, IE, windows xp

So you've configured Apache just like you want to. You've even added an SSL certificate to allow your users to securely navigate on your site. And you test it, and everything works, across all browsers you have access to... and you receive a dreaded call that there is a certificate error on a client (typically some higher up, because that is just your luck). What the hey?

Read more »

Saving Excel files with HTML tables - quirks

in html, tables, PHP, excel, style, formatting

Sometimes you need to save data from your webpage to an excel file. Though there are many libraries that can accomplish that the "proper" way, it is much faster (and easier!) to just output an HTML table to a file with the "xls" extension. However, there are a couple of things to note to make theming look as it should!

Read more »

No save button on vocabulary page?

in drupal, taxonomy, vocabularies, hierarchical select

I recently got a call from the content managers of a website I support, complaining that they couldn't reorder vocabulary terms any more. Specifically, the Save button was gone! Took me a while, but here is why, and how to solve it (if you just want the solution, scroll to the bottom)

Read more »

Making field collections play nice with hook_node_presave

in drupal, field collection, hook_node, endless loop

Field Collections are basically multifields in Drupal 7. They're so much user-friendlier than having referenced nodes, and so much lighter. However, if you try to add items to them (that is, an unlimited field collection field) in hook_node_presave , you get stuck in an endless loop. If you have XDebug or similar, you will see the extremely unhelpful message " Maximum function nesting level of '100' reached, aborting!". So what now?

Read more »

Debugging Active Directory in CentOS

in centos, active directory, command line, ldap, query

Having a Linux server querying Windows Active Directory for credentials gives your users a wonderful, unified experience - they only need a single logon for the intranet, and their machine. However, sometimes you need to browse the AD tree to see if/what is going on. Two things I've learned while debugging follow.

Read more »

Pages