Joomla Extensions Demo

Support

Do not submit a bug report if you need technical support or have questions.

Forums

Post your suggestions ask for help in the community forums

Contact Me

Missing images/links, any comments, suggestions, need help? Contact me

Skype

Need desperately help?
Skype Me™! But dont abuse of it!

Alternate method to install Joomla/Drupal on Synology NAS

synology_nas4

If you want more control, want to install Joomla yourself or want to install any other CMS, you may also want to try this method. It require some basic knowledge about SSH / file transfer through.

Main differences compare to the other method

  • You won’t have any icons into the packages manager,
  • You wont be able to stop this services,
  • More prone to errors

How to Install

In the Control Panel of your Synology DSM NAS, go to “Web Services” and activate

  • Enable Web Station
  • Enable MySQL

Use a Terminal to connect to your NAS, preferably as admin, using Winscp under windows for example.

Move to the directory

/volume1/web

Upload all your Joomla files into a new directory, for example in

/volume1/web/joomla

Point your browser to http://{youservernasname}/joomla/ and finish the installation of Joomla.

Category: How To

Running Joomla! on Synology NAS

synology_nas

From small-and-medium business to individual users, Synology products offer a full range of choices to fulfill different needs, while sharing some similar characteristics- eco-friendly, quiet, and versatile.

Pre requisites

Download the Synology package Joomla-1.7.2.spk

In the Control Panel of your Synology DSM NAS, go to “Web Services” and activate

  • Enable Web Station
  • Enable MySQL

joomla_on_synology_nas_001

Read more: Running Joomla! on Synology NAS

Category: How To

Digital watermarking with PHP and GD2

joomla_cms

php.logo  

Digital watermarking is the process of possibly irreversibly embedding information into a digital signal. The signal may be audio, pictures or video, for example. If the signal is copied, then the information is also carried in the copy. In visible watermarking, the information is visible in the picture or video. Typically, the information is text or a logo which identifies the owner of the media. [Wikipedia]

If you decide to go with an online watermarking, you can let watermark picture on the fly using php and .htaccess (at the cost of additional CPU server resources).

Read more: Digital watermarking with PHP and GD2

Category: How To

How to Solve a Problem with Joomla! jos_session

joomla_cms

mysql

I was not seeing this error since at least 3 years:

DB function failed with error number 1016

Can't open file: 'jos_session.MYI' (errno: 145) SQL=INSERT INTO `jos_session`
( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( '4bc998b10d92bf4107976d0edacdbb26','1246725653','','0','1','0' )

It happen sometimes and cause are unknown. While it is quite disturbing to have no more access to Joomla! frontend or backend, the fix is quite easy. You must repair this table jos_session, If you have access to


PhpMyAdmin

Require an access to the Plesk/CPA panel.

Go to your Joomla database, select the table jos_session (tick the checkbox) and choose "Repair table" from the drop-down you find at the bottom of the list of tables.

Using PHP

Maybe the most easiest for non techies people

I found this useful script http://www.cafewebmaster.com/repair-all-mysql-databases-tables-php, upload it at root of your host (in /httpdocs) under repair.php for example and run it, you’ll see the following:

repair.table.in.php

Tick repair, provide your login and password for database,

repair.table.in.php2

Remove the scripts after use, or add a die(‘not for use, edit script first’); at the top of it just in case it may be use to inject something in your database!

Shell access

For the most advanced of us, which understand Unix and have shell access

# mysql –udblogin -p

mysql>  use joom;

mysql> REPAIR TABLE jos_session;
+-------------------------+--------+----------+------------------------------------+
| Table | Op | Msg_type | Msg_text |
+-------------------------+--------+----------+------------------------------------+
| joom.jos_session | repair | warning | Number of rows changed from 0 to 2 |
| joom.jos_session | repair | status | OK |
+-------------------------+--------+----------+------------------------------------+

Finding Joomla! login and password

These informations can be found in httpdocs/configuration.php under $user and $password as seen below

..

var $user = 'hkuin47Gdfver';
var $db = 'joom';
var $dbprefix = 'dfrtCsdef_';
var $mailer = 'mail';
var $fromname = 'Happpp';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpsecure = 'none';
var $smtpport = '25';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
var $MetaAuthor = '1';
var $MetaTitle = '1';
var $lifetime = '15';
var $session_handler = 'database';
var $password = afedfhrr546fdhcfcv;

..

And if the repair failed?

Run the following sql to drop the table and make it new. Copy it into the PhpMyAdmin SQL field.

DROP table if exist `jos_session`

CREATE TABLE `jos_session` (
  `username` varchar(150) default '',
  `time` varchar(14) default '',
  `session_id` varchar(200) NOT NULL default '0',
  `guest` tinyint(4) default '1',
  `userid` int(11) default '0',
  `usertype` varchar(50) default '',
  `gid` tinyint(3) unsigned NOT NULL default '0',
  `client_id` tinyint(3) unsigned NOT NULL default '0',
  `data` longtext,
  PRIMARY KEY  (`session_id`(64)),
  KEY `whosonline` (`guest`,`usertype`),
  KEY `userid` (`userid`),
  KEY `time` (`time`)
) TYPE=MyISAM CHARACTER SET `utf8`;

Category: How To

Watermarking your images with ImageMagick

joomla_cms

Digital watermarking is the process of possibly irreversibly embedding information into a digital signal. The signal may be audio, pictures or video, for example. If the signal is copied, then the information is also carried in the copy. In visible watermarking, the information is visible in the picture or video. Typically, the information is text or a logo which identifies the owner of the media. [Wikipedia]

 

I decide to go with an offline watermarking first, but you can let any Joomla!® extension watermark picture on the fly using php and .htaccess (at the cost of additional CPU server resources).

 

Why Watermarking pictures?

There is a lot of reasons, among others:

  • To limit images stealing, advanced users will still be able to crop/blur your watermark through!
  • To drive more new users/returning visitors to your site, anybody using your images in a forums may want to visit your site if the watermark can be read (don’t use complex logo, except if you have a well known brand)
  • To advertise your online work,

Read more: Watermarking your images with ImageMagick

Category: How To

Page 1 of 2

Donations

Thank You for supporting my work
Subscribe to me on YouTube

Latest Articles

  • In this series of post I will outline some common techniques to help Joomla extensions development. As you know Jooml... ...
  • CedTag  has been updated to version 2.5.3 and correct a lot of bugs and contains some nice features. CedTag is t... ...
  • CedThumbnails has been updated to version 2.5.5 and contains 1 new features for both Joomla 1.7 and Joomla 2.5. For ex... ...
  • CedSmugmug  has been updated to version 2.5.2 and correct some bugs and contains some nice features. CedSmugmug&... ...
  • If you want an extra gigabyte of storage on your Dropbox account, the online cloud service invites you to compete in i... ...

Subscribe

Latest Comments

Popular Posts

rockettheme advertisement

dropbox logo

Help Us & Leave Feedback!

  • Do you have an excellent article idea you would like to read about here? Share it!
  • Do you have some interesting tips how we could improve our site?
  • Something missing here? Help us make this blog a better place, leave feedback!
We would love to hear from you! Be active! Write us now!