Who is online

We have 8 guests online
Joomla Experts Blog, Jm-Experts Blog, Joomla Blog, Joomla Tips and Tricks, Joomla ghosting
Using SSL Secure HTTPS for your Joomla Website
Written by Chetan Madaan    Monday, 16 November 2009 23:20    PDF Print E-mail
( 3 Votes )

I have been trying to do use SSL for the joomla site of a client of mine and have been unable to do it through configuration.php or index.php

here is the simple but effective solution:

insert this code in the .htaccess file for your domain name. Create one if you don't have it.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

replace example.com with your domain name and ou just got it. Make sure you have ssl already installed orelse it will show off a error about security.

 
How to Make your Joomla site Offline.
Written by Chetan Madaan    Friday, 28 August 2009 21:02    PDF Print E-mail
( 1 Vote )

If you want to set your Joomla site offline, you must follow a few simple steps. This option should be used only if you want to make minor modifications. For complex changes, we recommend to make changes on a test server.  So, how to set your joomla website offline?

To put Joomla website offline, you must first login in the administration area. Now, once you are logged in you would need to go to the Global Configuration of the site to make the changes.

The first option that appears at this moment is Site Settings. On Site offline option, click the Yes button. Click the Save button at the upper right. Below you will see a box for Offline Message, this will be the message your visitors will see while your site is offline.

How to Make your Joomla site Offline?

To return online, follow the same steps, except at Site offline option, instead of Yes, you select no.

Then click Save at the upper right.

 
JFolder::create: Could not create directory Warning! Failed to move file. [SOLUTION]
Written by Chetan Madaan    Friday, 28 August 2009 20:43    PDF Print E-mail
( 1 Vote )
JFolder::create: Could not create directory Warning! Failed to move file.

JFolder::create: Could not create directory Warning! Failed to move file.
Guys,
I had this same error while installing a extension on one of my clients site which just drove me nuts.
I check the directory permissions and even made them 777 just in case there is an issue. But, it didn’t work. This is not the directory permissions problem anyhow.
You need to make sure the path of the temporary folder is correct in the global configuration.

Hope it helps!
Fanks!

 
Increase file size upload limit using php.ini or htaccess
Written by Chetan Madaan    Monday, 06 July 2009 18:42    PDF Print E-mail
( 4 Votes )

Increasing file upload size by php.ini

File upload size affected by mainly below PHP settings.
file_uploads = On
This setting must be on. It allows running uploads through HTTP.
Ensure this value is on the value can be On/Off or 1/0 or true/false.
upload_max_filesize = 20M
This value limits the size of uploaded single file. Give it value what ever your requirements.
post_max_size = 40M
This value limits the size of all the uploaded content. For example upload_max_filesize is for single file, if we upload 3 files simultaneously each 15mb total 45mb so it exceeds post_max_size.
Remember post_max_size must be larger about 40% of upload_max_filesize.

max_execution_time = 30
Generally image uploading and manipulating with GD or Imagemagic consumes much time. So it may exceeds 30 seconds. You can modify whatever your requirements. When a script execution time exceeded by this limit the server stops the scripts or gives fatal error.

memory_limit = 128M
Generally image uploading and manipulation with GD or Imagemagic consumes much server memory. When it exceeds this memory the server stops executing the script, then we see empty page or no response from server or we get a fatal error.

Completed example, to increase 10Mb
upload_max_filesize = 10M ;
post_max_size = 20M ;
memory_limit = 128M

Copy the above settings into your php.ini and put it in your web root directory.

Increasing file upload size by .htaccess

php_value upload_max_filesize 10M
php_value post_max_size 20M
php_value memory_limit 128M

Copy the above settings into your .htaccess file and put it in your web root directory.
Almost all web host providers give to override the .htacces ,so you can use above method.

 

 
Top 9 Joomla Security Measures
Written by Chetan Madaan    Wednesday, 01 July 2009 08:40    PDF Print E-mail
( 2 Votes )

Security is becoming an important factor when running a Joomla web site due to the increase in hacker activity targeting the Joomla community. Many site owners focus on the design, content and achieving a good search engine position but loose sight of putting in place the basic security for there Joomla content management system CMS until its too late.

The following tutorial may help you to secure you Joomla web site and reduce the risk of getting hacked.

1) Backup your site

The first and most important step is to backup your Joomla web site which includes taking a backup of all the core files plus the MYSQL database. Make a note in your diary to do this at least once a month because it can be a life saver when if your site gets hacked you can always recover the database and core files in a matter of hours.

2) Upgrade to the latest stable Joomla release

The core development team have released a number of updates which include both security and performance fixes and it is vital that you are running the latest version of Joomla which incorporates the new security updates.

3) 3rd party components and modules

A number of sites have being hacked due to security vulnerabilities in the 3rd party components or modules. Make sure do a complete review of all the components and modules you have installed and upgrade to the latest component or module releases. Also if you decide to remove a component or module always ensure the files associated with the components / modules are removed from your server plus the MYSQL database.

4) Directory Permissions

Once your site is ready to go and you are happy with the components / modules / templates you have installed you must set the permissions on ALL your directories and sub directories to CHMOD 755.

5) File Permissions

Set the file permissions on ALL your files to CHMOD 644

6) Configuration.php permissions

This one is important make sure you set the file permissions on the configuration.php  file to CHMOD 644

7) .htaccess security

The latest Joomla release includes an updated version of the .htaccess file may reduce the risk of your Joomla site getting hacked . Make sure you transfer the .htaccess file to your server and set the CHMOD permissions to 644

8) Joomla! Register Globals Emulation

You need to ensure the register global emulation is set to OFF. To do this open the global.php file and change the following line define( 'RG_EMULATION', 1 );  and change it to
define( 'RG_EMULATION', 0 );

9) Register Globals

From the Joomla administrator area make sure the Register Globals is set to off. If the Register Globals is set to on then contact your web host who can change this for you or open the .htaccess file and add the following line of code which will change the register Globals to off.

php_flag register_globals off

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  6 
  •  Next 
  •  End 
  • »


Page 1 of 6