Help - Search - Members - Calendar
Full Version: Joomla 1.6 Setup Guide [jan-2010]
Zymic Webmaster Forums > Zymic Free Web Hosting > Tutorials
Pages: 1, 2, 3
lizon
Jacob - Added complete file for reference
Dan - Added installation edit for zLib

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.... wink.gif



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

Source: http://www.joomlatribune.com/joomla-tutori...-templates.html

Note: This took me about 10 seconds to look up myself ^.^



FOLLOW UP TUTORIAL [installing sample data]:

http://www.zymic.com/forum/index.php?showtopic=23327
Darman
QUOTE
Don't worry about the Pre-Install errors. Just click "Next" to continue.

without zlib setting of templates is impossible!
unless to make attempt on a line through ftp
Dave
QUOTE(Darman @ Jan 19 2010, 12:58 PM) *
without zlib setting of templates is impossible!
unless to make attempt on a line through ftp


You must install themes manually.
lizon
QUOTE(Dave @ Jan 19 2010, 07:02 AM) *
You must install themes manually.


Yeah I'll add that once I figure out how to do that. Like I said I'm a novice to Joomla. I didn't even know you could install the themes through It's control panel. I'm used to doing things manually in Drupal.
Dave
QUOTE(lizon @ Jan 19 2010, 04:50 PM) *
Yeah I'll add that once I figure out how to do that. Like I said I'm a novice to Joomla. I didn't even know you could install the themes through It's control panel. I'm used to doing things manually in Drupal.


I believe you can but only if "zlib" compression is supported on the server. We don't have this enabled on Zymic, so it must be done manually.
Once again, thanks for the tutorial.
lizon
you might want to update the tutorial sticky ^.^
IPEST
Hello men,
Thank you for this tutorial, i'am testing it!
Incidentally, the file "session.php" is now in the "/ Joomla / libraries / joomla / session".
Thank you again!
lizon
QUOTE(IPEST @ Jan 21 2010, 01:54 PM) *
Hello men,
Thank you for this tutorial, i'am testing it!
Incidentally, the file "session.php" is now in the "/ Joomla / libraries / joomla / session".
Thank you again!


not sure how i made that mistake, fixed it though
IPEST
Hello again,
I test this and it works well.
Thank you again for this tutorial!
We can make Joomla configuration work fine if we create an empty file called configuration.php place it in /joomla root directory and make it writable (permission 777 with the ftp client) before ....
So we will not have Pre-install error (configuration.php is not writeable).
Thank you again and sorry for my poor english
lselbach
Error Message
I've followed all the steps and still get this error message when I access my joomla installation
http://porfazer.zxq.net/joomla/

Notice: Undefined property: JConfig::$debug in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/includes/framework.php on line 58 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/zxq.net/p/o/r/porfazer/htdocs/joomla/configuration.php:1) in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/libraries/joomla/session/session.php on line 423 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/zxq.net/p/o/r/porfazer/htdocs/joomla/configuration.php:1) in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/libraries/joomla/session/session.php on line 423 Warning: Cannot modify header information - headers already sent by (output started at /www/zxq.net/p/o/r/porfazer/htdocs/joomla/configuration.php:1) in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/libraries/joomla/session/session.php on line 426 Database Error: Unable to connect to the database:Could not connect to MySQL

I appreciate any help.

Cheers and thanks in advance.

Lucas Selbach
gabore
QUOTE(lselbach @ Feb 7 2010, 09:15 PM) *
Error Message
I've followed all the steps and still get this error message when I access my joomla installation
http://porfazer.zxq.net/joomla/

Notice: Undefined property: JConfig::$debug in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/includes/framework.php on line 58 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/zxq.net/p/o/r/porfazer/htdocs/joomla/configuration.php:1) in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/libraries/joomla/session/session.php on line 423 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/zxq.net/p/o/r/porfazer/htdocs/joomla/configuration.php:1) in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/libraries/joomla/session/session.php on line 423 Warning: Cannot modify header information - headers already sent by (output started at /www/zxq.net/p/o/r/porfazer/htdocs/joomla/configuration.php:1) in /www/zxq.net/p/o/r/porfazer/htdocs/joomla/libraries/joomla/session/session.php on line 426 Database Error: Unable to connect to the database:Could not connect to MySQL

I appreciate any help.

Cheers and thanks in advance.

Lucas Selbach


For me it looks like you accidentally left out making a comment from one of the ini_set lines in session.php. huh.gif
puya3d
QUOTE(gabore @ Feb 12 2010, 09:04 AM) *
For me it looks like you accidentally left out making a comment from one of the ini_set lines in session.php. huh.gif


Yeah, that is not the prol

He have to update the tutoial (very great tutorial) to make the new joomla the ini_set files there are a lot of other not on the tutorial

423 426 were new not on the tutorial

There also, the An error has occurred.:

Cookies do not appear to be enabled on your browser client. You will not be able to install the application with this feature disabled. Alternatively, there could also be a problem with the server's session.save_path. If this is the case, please consult your hosting provider if you don't know how to check or fix this yourself.
NerdyGurl
SOLVED DONT WORRY - Blonde moment wink.gif
Followed each step as above and got this...

CODE
Command:CWD /installation/language/bn-BD
Response:550 Can't change directory to /installation/language/bn-BD: No such file or directory
Error:Failed to retrieve directory listing


QUOTE(NerdyGurl @ Mar 25 2010, 09:06 PM) *
Followed each step as above and got this...

CODE
Command:CWD /installation/language/bn-BD
Response:550 Can't change directory to /installation/language/bn-BD: No such file or directory
Error:Failed to retrieve directory listing


Please note this was in file zilla
milentije
QUOTE(puya3d @ Mar 7 2010, 03:48 AM) *
Yeah, that is not the prol

He have to update the tutoial (very great tutorial) to make the new joomla the ini_set files there are a lot of other not on the tutorial

423 426 were new not on the tutorial

There also, the An error has occurred.:

Cookies do not appear to be enabled on your browser client. You will not be able to install the application with this feature disabled. Alternatively, there could also be a problem with the server's session.save_path. If this is the case, please consult your hosting provider if you don't know how to check or fix this yourself.


It seems that placing // like it is explained in tutorial fixes the problem
ckkok
Hi, I'm a newbie for joomla is looking for help.
I ran through the process until finally I uploaded the whole joomla folder to my directory. But I don't know it was the "root directory" or not. The location of the whole joomla folder is at the same level as the index.html, images folder.

You had wrote :
"Once everything is uploaded go ahead and goto your homepage (example: lizontest.zxq.net). Select your language and click on "next" on the right hand side."

When I click on my website : http://lbpgroup.99k.org/
It doesn't appear the Joomla setup page for me to select the language !! ??

Please help! unsure.gif

lizon
You uploaded your files to the wrong place.

http://lbpgroup.99k.org/joomla/

Root Directory refers to your top level directory. It is the root, the beginning, the base of all directories for your website. When I goto my joomla test site in my FTP client I see this:



You have all of your files inside a separate /joomla folder. The files should not be inside a folder, they need to be inside the root directory.

Let me try o explain it to you this way:

/ ----root directory
/joomla ------joomla folders

Move all the files from /joomla to / (the root directory).

Coprendo?
ckkok
Hi, Lizon

Yes! I got your point! It's completely now done with the joomla upload.
Thanks! rolleyes.gif
ckkok
Need help again! wacko.gif
I create the configuration.php and upload to the root directory and after that I delete the Installation folder.
After that when I click Next, the below appear :

404 Page Not Found!

The address you have entered has not been found. This may be due to an outdated link, typo or a page no longer on our system.

Please help!
ckkok
when I type in http://lbpgroup.99k.org/administrator
the below appear :

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /www/99k.org/l/b/p/lbpgroup/htdocs/configuration.php on line 6

I have checked and confirmed there is no spelling mistake in configuration.php as below :

<?php
class JConfig {
/* Site Settings */
var $offline = '0';
var $offline_message = 'This site is down for
maintenance.<br /> Please check back again soon.';

Please help!
lizon
Should be like this:
CODE
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';


NOT this

CODE
var $offline_message = 'This site is down for
maintenance.<br /> Please check back again soon.';


The file is read line by line, to close a line properly you need ;, which is missing on the code that you posted.
ckkok
QUOTE(lizon @ Apr 15 2010, 04:28 PM) *
Should be like this:
CODE
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';


NOT this

CODE
var $offline_message = 'This site is down for
maintenance.<br /> Please check back again soon.';


The file is read line by line, to close a line properly you need ;, which is missing on the code that you posted.


Hi, Thanks again!
I change the code as below :

<?php
class JConfig {
/* Site Settings */
var $offline = '0';
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';

And, after that I tried again, the same result appeared :

Parse error..... .... .....line 6......

So, I changed my code to :

<?php
class JConfig {
/* Site Settings */
var $offline = '0';
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
}
?>

And, this time, the result appeared :

Database Error: Unable to connect to the database:Could not connect to MySQL

I don't know what else do I make my mistake ?
Please help! unsure.gif
lizon
the only thing I can think of is that you are copy/pasting incorrectly the code you need. I've done the install at least 2-3 times already before without any problem. Everything you did up until the configuration file was done correctly. I suggest you try to copy/paste it again. Try using notepad to make the file. Don't use wordpad or something funny like that.
ckkok
<?php
class JConfig {
/* Site Settings */
var $offline = '0';
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';

Above is the exact code I'm write by a notepad and save as "configuration.php" with the quote.
I try to upload again, and this time the result :

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /www/99k.org/l/b/p/lbpgroup/htdocs/configuration.php on line 7

Please help! unsure.gif
lizon
I cannot help you without seeing what's going on directly. I'm not physic. The only thing I can tell you is to do it again. It's something on your end that your doing wrong. That's all I can say. I can't help anymore than that without doing the install personally and uploading the files personally to make sure it's done right.
ckkok
Hi, Lizon

You been so helpful to me as a newbie here and I'm appreciated a lot for that!

I will delete the whole Joomla content in the zymic server and re-ftp again the whole Joomla package, re-installation and re-configuration.php and hopefully this time it work.

Thx! rolleyes.gif
closeupman
I did everything and am getting the 404 error as well.
I created and even verified after the error what the code looks like:
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /www/99k.org/c/l/o/closeupman/htdocs/configuration.php on line 5

<?php
class JConfig {
/* Site Settings */
var $offline = '0';
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';



Thanks blink.gif
lizon
I just did it again.

http://lizontest.uuuq.com/

Copy the code your given into notepad, paste it, then save as configuration.php and upload. That's it.
killzone
It worked for me!
Thanks, no errors at all.
However, about templates, is there a solution? If so how?

QUOTE
Operation Failed!: failed to open file /www/99k.org/f/u/n/funtime/htdocs/templates/go_roundy/params.ini for writing.

I've installed the skin manually, however, there's a slight problem.
I went to Filezilla and 'checked' all the file permission, now it has 777.
Still I get that.

Any solution?
fakeer4
QUOTE(lizon @ Apr 15 2010, 04:28 PM) *
Should be like this:
CODE
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';


NOT this

CODE
var $offline_message = 'This site is down for
maintenance.<br /> Please check back again soon.';


The file is read line by line, to close a line properly you need ;, which is missing on the code that you posted.

hello there am geting this error i have don`n in installation with joomala but when i deleted the instalation directorty i am geting this msg <Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /www/zxq.net/m/b/b/mbbsinukraine/htdocs/configuration.php on line 6>
lizon
I think I'm going to have to make a video to show people how to copy and paste -.-
Mr. Pixel
Hello,

Big thanks for the guide, as I was previously unable to install Joomla.
I was wondering, however, if disabling ini_set() doesn't expose the website to a security risk.

Thanks in advance.
lizon
no, it doesn't. It mearly disables Joomla's ability to pull files from their website for themes and updates. IT just means you need to install updates and themes manually. Which isn't a big deal.
mofidy
Hello Dear
I recently have installed Joomla 1.5 on Zymic. But neither the administration nor in my site I do not see any image. Where do you think of the problem?
Grateful
lizon
Either your images aren't there or the folder that they are in aren't viewable in which case you would have to check your folder permissions.

If all else fails install again from scratch.
mofidy
QUOTE(lizon @ May 1 2010, 02:21 PM) *
Either your images aren't there or the folder that they are in aren't viewable in which case you would have to check your folder permissions.

If all else fails install again from scratch.


Thanks!
I already had installed Joomla in the root and once in a folder called joomla, but problem not solve.
lizon
I know I'm going to regret asking, what's your url?
mofidy
QUOTE(lizon @ May 1 2010, 06:45 PM) *
I know I'm going to regret asking, what's your url?


epmath.99k.org
mofidy
Thanks lizon

My Problem is solved. I upload images again (binary by ftp).

Thanks Thanks
VaLyNdrMn
Don't mean to bring up a topic that's been silent for a few weeks, but I need some assistance. :-(

I've followed the tutorial for Joomla, and have been trying to install v. 1.5.17 on my site, but I can't seem to get it working right...
QUOTE
Parse error: syntax error, unexpected $end in /www/zxq.net/b/l/a/blast-assist/htdocs/libraries/joomla/session/session.php on line 1


Is what I'm getting right now.
My site is here: blast-assist.zxq.net

Thanks for the help :-)

-Valyndrmn
lizon
try re-uploading sessions.php the file may not have installed completely.

The error refers to a unexpected ending or lack of ending of the file in question. The .php files need to end in ?>. If their not closed properly you get this error. Naturally a incomplete upload would cause this.
VaLyNdrMn
QUOTE(lizon @ May 18 2010, 06:01 PM) *
try re-uploading sessions.php the file may not have installed completely.

The error refers to a unexpected ending or lack of ending of the file in question. The .php files need to end in ?>. If their not closed properly you get this error. Naturally a incomplete upload would cause this.


I re-uploaded the file, but checked the end to make sure there actually was a ?> to the end of it....well there wasn't.
I guess I'll be looking at all the *.php files
anyways, I re-added sessions.php and recieved this:
QUOTE
Notice: Use of undefined constant php - assumed 'php' in /www/zxq.net/b/l/a/blast-assist/htdocs/libraries/joomla/session/session.php on line 1 Fatal error: Class 'JSession' not found in /www/zxq.net/b/l/a/blast-assist/htdocs/libraries/joomla/factory.php on line 507


I seem to really not know what I am doing. dry.gif
I apologize in advance for any irritations I am causing you.

-Valyndrmn
zoro
Excellent tutorial. very much worthy for anyone use Joomla, me first of all obviously.Thanks
http://www.titanchair.com
http://www.osakidirect.com
jheamay
Excellent tutorial! Thank you very much for this!
verdepistacchio
Hi,
I followed all the instructions to install joomla (+ virtuemart), but when I want to add a photo in an article I get:
Warning: imagejpeg(): Unable to open '/www/zymichost.com/v/e/r/verdepistacchio/htdocs/components/com_virtuemart/shop_image/product/resized/a65eac3ffd1ad679a260aac9aa33627d_4c251e909b243_90x90.jpg' for writing: Permission denied in /www/zymichost.com/v/e/r/verdepistacchio/htdocs/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 299 Warning: getimagesize(): Unable to access /www/zymichost.com/v/e/r/verdepistacchio/htdocs/components/com_virtuemart/shop_image/product/resized/a65eac3ffd1ad679a260aac9aa33627d_4c251e909b243_90x90.jpg in /www/zymichost.com/v/e/r/verdepistacchio/htdocs/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 363 Warning: getimagesize(/www/zymichost.com/v/e/r/verdepistacchio/htdocs/components/com_virtuemart/shop_image/product/resized/a65eac3ffd1ad679a260aac9aa33627d_4c251e909b243_90x90.jpg): failed to open stream: No such file or directory in /www/zymichost.com/v/e/r/verdepistacchio/htdocs/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 363

In product images:
/www/zymichost.com/v/e/r/verdepistacchio/htdocs/components/com_virtuemart/shop_image/product :: Unwriteable
/www/zymichost.com/v/e/r/verdepistacchio/htdocs/components/com_virtuemart/shop_image/product/resized :: Unwriteable

And in the all pages of the site this message:
Warning: ini_set() has been disabled for security reasons in /www/zymichost.com/v/e/r/verdepistacchio/htdocs/administrator/components/com_virtuemart/PEAR.php on line 85

Can you help me?
Thanks a lot and excuse my bad english.
Rae
Thanks a lot lizon. The tutorial really helped. By the way, how did you figure out how to do this kind of installation? Is Zymic the problem?
lizon
QUOTE
Thanks a lot lizon. The tutorial really helped. By the way, how did you figure out how to do this kind of installation?


Google
Jacob
Included PHP files (such as session.php) that are PHP do not require a closing ?> tag.
Hitman.pt
Hy...tanks for your tuturial... but now i want to install a plugin... i know that must be done manualy... but i don't know how...
Any idea?
this is the plugin...
http://extensions.joomla.org/extensions/ho...nN0YXR1c2VzIjt9
Please i realy need this plugin...

My web Site...
http://hitman-pt-prod.zxq.net/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.