Archive for May, 2012
Installing Joomla on Zymic.com
This includes all file edits and so forth. Keep in mind, I’m a complete novice when it comes to Joomla, so my experience in installing it should be about the same as your experience.[/size][/b]
Updated for Joomla 1.6 as of 1/11/11
Now for those who never read my Drupal 6.15 Tutorial here’s a recap on the initial Zymic setup part.
Zymic Hosting Account Setup:
Goto the Zymic homepage and click on "Sign-up/Log-in"
Write down your ftp information, you’ll need it later on then click on "Login to control panel"
Click on the login button as shown here
Type in your password, don’t worry I won’t look….
Now to get your database setup, click on "MySQL Database Management"
Create your database name and click on "create DataBase Name"
Now create your database username and password, be sure to confirm it and press "Create Username"
Now assign privileges to your username to the database you want, be sure everythign is checked off and click "Assign Privileges"
Congrats your database is now created. Be sure to write down your database name, database username, and password. You will need that info in a little bit.
Congrats your DONE with the Zymic setup!
Joomla Setup
Now with that out of the way lets get to installing Joomla. First download the install files for Joomla 1.5
Unzip these files someplace where you can find them, I suggest your Desktop.
Now open up the sessions.php file located in the ‘/libraries/joomla/session’ folder.
Locate the following lines of code and add a @ to the front of them to suppress PHP ini_set errors.
CODE
ini_set(‘session.save_handler’, ‘files’);
CODE
ini_set(‘session.use_trans_sid’, ‘0’);
CODE
if( $trans ) {
ini_set( ‘session.use_trans_sid’, 0 );
}
CODE
ini_set( ‘session.use_trans_sid’, $trans );
CODE
ini_set(‘session.gc_maxlifetime’, $this->_expire);
So now these lines should look like this:
CODE
@ini_set(‘session.save_handler’, ‘files’);
CODE
@ini_set(‘session.use_trans_sid’, ‘0’);
CODE
if( $trans ) {
@ini_set( ‘session.use_trans_sid’, 0 );
}
CODE
@ini_set( ‘session.use_trans_sid’, $trans );
CODE
@ini_set(‘session.gc_maxlifetime’, $this->_expire);
(You can view the full file [here])
Save this file.
Now I want to open up your language.php file located at libraries/joomla/languages and find these 2 lines of code.
CODE
ini_set(‘track_errors’,$track_errors);
CODE
ini_set(‘track_errors’, true);
And edit them to look like this.
CODE
@ini_set(‘track_errors’,$track_errors);
CODE
@ini_set(‘track_errors’, true);
Save this file.
Now you want to go to installation/models/setup.php and look for // Check for zlib support. on line 229 with the folloing code
CODE
// Check for zlib support.
$option = new stdClass;
$option->label = JText::_(‘INSTL_ZLIB_COMPRESSION_SUPPORT’);
$option->state = extension_loaded(‘zlib’);
$option->notice = null;
$options[] = $option;
and you want to add @ in front so it looks like this.
CODE
// Check for zlib support.
@$option = new stdClass;
@$option->label = JText::_(‘INSTL_ZLIB_COMPRESSION_SUPPORT’);
@$option->state = extension_loaded(‘zlib’);
@$option->notice = null;
@$options[] = $option;
Save the file and upload it to your hosting account
The last thing I want you to do is to open up the web editing tool that you’ve been using (Notepad++, Dreamweaver, Frontpage, ect) and create a new BLANK page with nothing in it and save it as configuration.php and place it into your root folder. This is the same folder where your index.php file is located.
Now upload the entire contents of the Joomla folder onto your website. While normally I use Core-FTP or WS_FTP for this I found I got errors during the upload process for some reason. So in this case I recommend Filezilla which you can get at www.filezilla.com.
Note: I had a few failed uploaded files myself, just re-que them once everything is uploaded, should take a good 15-20m to get everything up.
Once everything is uploaded in filezilla select the configuration file that you just uploaded that’s located on your bottom right window and right click and select "File Permissions"
Set the file permissions to 777 and click "Ok"
Now goto your homepage (example: lizontest.zxq.net). Select your language and click on "next" on the right hand side.
Don’t worry about the Pre-Install errors. Just click "Next" to continue.
Click on "Next" again (I’m sounding like a broken record here)
Some people may have trouble with this part as in some cases there will be no NEXT button. If this is the case you can get to the page by entering the url manually. For example is my website is lizontest.com my url would be lizontest.com/installation/index.php?view=license
Fill in your database information that I told you to write down earlier. Once your done click "Next".
Don’t worry about filling this information, I tried to myself, it doesn’t work. Just click "Next" and continue.
Put in your e-mail and password. Because it was my first time installing Joomla I selected "Install Default Sample Data". If your migrating from a previous site select "Load Migration Script" and fill in the necessary boxes.
Remember the admin username is "admin" and the password is the one you imputed earlier.
If you created the configuration file earlier like I told you to and set it’s permissions properly you will be able to SKIP this next step as it involves the same file. Simply delete or rename your installation folder as indicated on the page and your DONE!
You need to do 2 things now. First open up your favorite web editor (Dreamweaver, frontpage, notepad, ect.) and copy the code below into it. Save this file as configuration.php and place it somewhere you can find it, your Desktop should suffice.
Next open up Filezilla again and upload this file to your root directory (same place where index.php is at). While your in there right click on the "Installation" folder and click on "Delete". This will remove the folder.
Once these 2 things are done click on "Next".
Done!
Remember to access your admin panel goto http://yourwebsite/administration (example http://lizontest.zxq.net/adminstration).
FAQ
How do I install new templates without zlib?
* Get your zip files from our (or other) website. Unzip the file on your computer.
* Log on with your ftp client on your site.
* Find "Templates" folder on your root site and upload unzipped directory. The structure should look like this: /templates/mody_bluelight/index.php.
* Log on your Joomla administration section. Go to Site –> Template Manager –> Site Templates
* Select your new template from the list and publish it.
* Go to Site –> Preview –> In new window
« Previous Entries