Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: nubian1 on March 10, 2007, 05:39:14 AM

Title: Joomla post install issues
Post by: nubian1 on March 10, 2007, 05:39:14 AM
Finally got Joomla (1.012) installed from the tarball and it works great when accessed locally. Remotely is another thing altogether.

Installed to an Ibay called "joomla" with the following setup.

SME Server 7.1.2 in Server Only Mode behind a router.

- Name:  joomla
- Description:  joomla
- Group:  trusted_users
- User access via file sharing or user ftp: Write=group, Read=everyone
- Public access via web or anonymous ftp: Entire Internet No password required  *** Not sure this setting is good ***
- Execution of dynamic content (CGI, PHP, SSI): Enabled

When trying to access the site remotely "http://www.mysite.ca/joomla" the browser times out. I can get a connection only when using "https" and even then no graphics are displayed and the content is formatted incorrectly. I have tried this with IE, Firefox & Opera with the same results.

I have a router and have port forwarded ports 80,8080 & 443 to the server on the internal network.

I would really like some insight as to what may be going wrong with my setup. Seeing as I can access Joomla properly from withing my network I would guess it's a port forwarding issue but at this point I can't be sure.

Here is my configuration.php file.


<?php
$mosConfig_offline = '0';
$mosConfig_host = 'localhost';
$mosConfig_user = 'joomla';
$mosConfig_password = 'joomla';
$mosConfig_db = 'joomla';
$mosConfig_dbprefix = 'jos_';
$mosConfig_lang = 'english';
$mosConfig_absolute_path = '/home/e-smith/files/ibays/joomla/html';
$mosConfig_live_site = 'http://192.168.2.5';
$mosConfig_sitename = 'Silicon Nubian';
$mosConfig_shownoauth = '0';
$mosConfig_useractivation = '1';
$mosConfig_uniquemail = '1';
$mosConfig_offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
$mosConfig_error_message = 'This site is temporarily unavailable.<br /> Please notify the System Administrator';
$mosConfig_debug = '0';
$mosConfig_lifetime = '900';
$mosConfig_session_life_admin = '1800';
$mosConfig_session_type = '0';
$mosConfig_MetaDesc = 'Joomla - the dynamic portal engine and content management system';
$mosConfig_MetaKeys = 'Joomla, joomla';
$mosConfig_MetaTitle = '1';
$mosConfig_MetaAuthor = '1';
$mosConfig_locale = 'en_GB';
$mosConfig_offset = '0';
$mosConfig_offset_user = '0';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideModifyDate = '0';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hideEmail = '0';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '0';
$mosConfig_sef = '0';
$mosConfig_vote = '0';
$mosConfig_gzip = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_link_titles = '0';
$mosConfig_error_reporting = -1;
$mosConfig_list_limit = '30';
$mosConfig_caching = '0';
$mosConfig_cachepath = '/home/e-smith/files/ibays/Primary/html/cache';
$mosConfig_cachetime = '900';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = '****@*************.ca';
$mosConfig_fromname = 'Silicon Nubian';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_smtpauth = '0';
$mosConfig_smtpuser = '';
$mosConfig_smtppass = '';
$mosConfig_smtphost = 'localhost';
$mosConfig_back_button = '1';
$mosConfig_item_navigation = '1';
$mosConfig_secret = 'm9Lznhqgiy9lOLUO';
$mosConfig_pagetitles = '1';
$mosConfig_readmore = '1';
$mosConfig_hits = '1';
$mosConfig_icons = '1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_dirperms = '';
$mosConfig_helpurl = 'http://help.joomla.org';
$mosConfig_multilingual_support = '0';
$mosConfig_editor = 'tinymce';
$mosConfig_admin_expired = '1';
$mosConfig_frontend_login = '1';
$mosConfig_frontend_userparams = '1';
setlocale (LC_TIME, $mosConfig_locale);
?>
Title: Re: Joomla post install issues
Post by: william_syd on March 10, 2007, 06:26:26 AM
Quote from: "nubian1"

$mosConfig_absolute_path = '/home/e-smith/files/ibays/joomla/html';
$mosConfig_live_site = 'http://192.168.2.5';


Your live site could be a problem.

Here is my snippet..
Quote
$mosConfig_absolute_path = '/opt/cms/joomla';
$mosConfig_live_site = 'https://secure.magicwilly.info:443/cms';


Do you know there is a contrib for this from www.dungog.net that works first go?
Title: Re: Joomla post install issues
Post by: nubian1 on March 10, 2007, 07:10:12 AM
Quote from: "william_syd"
Quote from: "nubian1"

$mosConfig_absolute_path = '/home/e-smith/files/ibays/joomla/html';
$mosConfig_live_site = 'http://192.168.2.5';


Your live site could be a problem.

Here is my snippet..
Quote
$mosConfig_absolute_path = '/opt/cms/joomla';
$mosConfig_live_site = 'https://secure.magicwilly.info:443/cms';


Do you know there is a contrib for this from www.dungog.net that works first go?


Ok I see what you mean. Does the live site have to be HTTPS? What are the advantages, besides encryption, & disadvantages?
Title: Re: Joomla post install issues
Post by: william_syd on March 10, 2007, 08:36:57 AM
Quote from: "nubian1"
Does the live site have to be HTTPS?


My port 80 is blocked so I use 443.
Title: Re: Joomla post install issues
Post by: nubian1 on March 10, 2007, 08:54:49 AM
Quote from: "william_syd"
Quote from: "nubian1"
Does the live site have to be HTTPS?


My port 80 is blocked so I use 443.


Ok sorry to be a bother but I have a few more questions. BTW I will test the changes I've made tomorrow and post my results back here.

Is it necessary to specify the port since https uses port 443 as a default? If http is used would you have to specify port 80 for example?

I have made the change in my configuration.php file from the ip to the 'www.mysite.ca:80'; Is the port designation actually necessary?

P.S. I want to thank you for your informative & very quick responses.
Title: Re: Joomla post install issues
Post by: william_syd on March 10, 2007, 09:00:00 AM
Quote from: "nubian1"
Is the port designation actually necessary?


I have to say that when I grabbed my config I was surprised to see the port there myself.

It was installed awhile ago and I have no memory of how the changes were made. (manually or via setup)
Title: Joomla post install issues
Post by: nubian1 on March 11, 2007, 06:44:42 AM
I made the changes and also came to realize that port 80 & 8080 are blocked by my isp. Using https on port 443 as well as the edits you showed me did the trick.

Now dealing with both issues I now have Joomla up & running!! Thanks again for your help!!