Page 1 of 1

Server 2008 R2 Installation of Joomla3

Posted: Mon Dec 24, 2012 10:03 am
by yacine13
Hi guys! THis is my first post :)

I have installed Joomla 3 on Server 2008 R2 and able to access the site through the internal IP but unable to access it through the external IP.
I have ports 80 and 21 open and forwarded (confirmed).
Also firewall is allowing all incoming connections through port 80 (not outgoing).
I have a DNS Server installed (not sure if configured properly)
I have allow Full control for the CREATOR OWNER for the joomla directory
I have to say I haven't configured the configuration.php file

Where should I start?

Re: Server 2008 R2 Installation of Joomla3

Posted: Mon Dec 24, 2012 11:01 am
by Per Yngve Berg
Mod. Note: Relocating the topic to Joomla on IIS server.

First, you have to have your server running properly. That is not a Joomla issue, The minimum version of IIS is 7.5.

Is the server listening on the external ip?

Use the Forum Post Assistant and post the result here, so we can check out your server.

Re: Server 2008 R2 Installation of Joomla3

Posted: Mon Dec 24, 2012 11:54 am
by toivo
Allowing incoming connections through port 80 is enough. Are you using IIS or Apache?

Your DNS server is not going to help much if it is internal and you use the IP address to access your site.

If you are using Apache, for example through the Wampserver bundle, make sure the virtual host is the first one listed in the configuration file conf\extra\httpd-vhosts.conf, or the default virtual host, if you access the server using only the IP address.

Once you have a domain name, you can then use the definitions NameVirtualHost *:80 and ServerName.

BTW, the Joomla installation normally sets the file configuration.php for you. If you edit it by hand, you could use e.g. Notepad++ but remember to start it 'As Administrator', otherwise you may not be able to update the file because of access rights, or you need to stop the Apache service before starting to edit.

Re: Server 2008 R2 Installation of Joomla3

Posted: Tue Jan 01, 2013 3:51 am
by yacine13
FORUM POST ASSISTANT
Version: v1.2.3-Beta (Branch en-GB - Language en-GB)

PHP SUPPORTS J!3.0
YES
PHP API
CGI-FCGI
PHP SUPPORTS MYSQL
YES
PHP SUPPORTS MYSQLI
YES


MYSQL SUPPORTS J!3.0
NO
MYSQL SUPPORTS MYSQLI
YES
MYSQL CONNECTION TYPE
MYSQLI
MYSQL DEFAULT COLLATION
UTF8


PHP VERSION
5.4.9
KNOWN BUGGY PHP
NO
MYSQL VERSION
5.5.28-LOG
KNOWN BUGGY ZEND
NO

Get the latest zip release of the Forum Post Assistant
Get the latest tar.gz release of the Forum Post Assistant
Θ Show the Forum Post Assistant

APPLICATION INSTANCE :: DISCOVERY
CMS FOUND
Joomla!
3.0.2
Stable
PLATFORM
Joomla Platform
12.2.0
Stable
CONFIG EXISTS
Yes
CONFIG VERSION
3.0
Matches CMS
CONFIG VALID
Yes
CONFIG MODE
666
Writable
CONFIG OWNER
0
CONFIG GROUP
0
APPLICATION INSTANCE :: CONFIGURATION
OFFLINE
0
SEF URL'S
Enabled:1
Suffix:0
ReWrite:0
COMPRESSION
GZip:0
Cache:0
DEBUGGING
Error Rep:default
Site Debug:0
Lang Debug:0
DATABASE
Type:mysqli
Version:5.5.28-log
CharSet:utf8
DATABASE CREDENTIALS
Appear Complete
SECURITY
SSL:N/A
Def' Access:1
FEATURES
FTP:0
Unicode Slug:0
DATABASE INSTANCE :: DISCOVERY
MYSQLI VERSION:Server: 5.5.28-log Client: mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $
MYSQLI HOSTNAME:[ -- protected -- ]
CONNECTION TYPE:(Local) localhost via TCP/IP
PHP SUPPORT:mysqli is supported by PHP 5.4.9
CONNECT TO MYSQLI: Yes, Connected
MYSQLI CHARACTER SET: utf8
DEFAULT CHARACTER SET: utf8
DATABASE COLLATION:
utf8_general_ci
DATABASE SIZE: 3.20 MiB
DATABASE INSTANCE :: PERFORMANCE
UPTIME:672476 seconds
THREADS:1
QUESTIONS:35753
SLOW QUERIES:0
OPENS:7936
FLUSH TABLES:1
OPEN TABLES:65
QUERIES PER SECOND AVG:0.053
# OF TABLE: 60 tables
PHP ENVIRONMENT :: DISCOVERY
PHP VERSION:5.4.9
PHP API:cgi-fcgi
DISPLAY ERRORS:
ERROR REPORT LEVEL:22527
MYSQLI SUPPORT:Yes
MAGIC QUOTES:
SAFE MODE:
MEMORY LIMIT:128M
UPLOADS ENABLED:1
MAX. UPLOAD SIZE:2M
MAX. POST SIZE:8M
MAX. INPUT TIME:60 seconds
MAX. EXECUTION TIME:300 seconds
REGISTER GLOBALS:

OPEN BASE PATH:
SESSION PATH:C:\Windows\temp
SESSION PATH WRITABLE:No
INI FILE PATH:C:\Program Files (x86)\PHP\v5.4\php.ini
LAST KNOWN PHP ERROR:
[01-Jan-2013 11:50:50 Pacific/Fiji] PHP Notice: Undefined index: HTTP_HOST in C:\inetpub\wwwroot\joomla3\libraries\joomla\uri\uri.php on line 174
SYSTEM ENVIRONMENT :: DISCOVERY
PLATFORM:Windows NT
KERNEL VERSION:6.1
TECHNOLOGY:i586
HOSTNAME:[ -- protected -- ]
TOTAL DISK SPACE:372.51 GiB
FREE DISK SPACE:(93%) 345.30 GiB
SERVER:[ -- protected -- ]
SERVER IP:[ -- protected -- ]
SERVER SIGNATURE:Microsoft-IIS/7.5
SERVER ENCODING:gzip, deflate
EXECUTING USER:IUSR
SERVER USER:N/A

DOC ROOT:C:/inetpub/wwwroot/joomla3
SERVER TEMP:C:\Windows\TEMP
SERVER TEMP WRITABLE:No
SWITCH USER CONFIGURATION:
SUEXEC
NOPHP SUEXEC
YESCUSTOM SU
YESOWNERSHIP PROBS
NO


PHP EXTENSIONS :: DISCOVERY
Core
5.4.9bcmath
calendar
ctype
date
5.4.9ereg
filter
0.11.0ftp
hash
1.0iconv
json
1.2.1mcrypt
SPL
0.2odbc
1.0pcre
Reflection
$Id: 53b2389d638795fa66862d453ff1abfd89e0aa13 $session
standard
5.4.9mysqlnd
mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $tokenizer
0.1zip
1.11.0zlib
2.0libxml
dom
20031129PDO
1.0.4devopenssl
SimpleXML
0.1wddx
xml
xmlreader
0.1xmlwriter
0.1cgi-fcgi
mysql
1.0mysqli
0.1mbstring
gd
gettext
curl
exif
1.4xmlrpc
0.51Phar
2.0.1soap
pdo_mysql
1.0.2pdo_sqlite
1.0.1imap
tidy
2.0pdo_sqlsrv
3.0.3421.0sqlsrv
3.0.3421.0mhash
Zend Engine
2.4.0

POTENTIAL MISSING EXTENSIONS:

suhosin

CORE FOLDERS PERMISSIONS CHECKS
MODEWRITABLEFOLDERGROUPOWNER
777Yesimages/00
777Yescomponents/00
777Yesmodules/00
777Yesplugins/00
777Yeslanguage/00
777Yestemplates/00
777Yescache/00
777Yeslogs/00
777Yestmp/00
777Yesadministrator/components/00
777Yesadministrator/modules/00
777Yesadministrator/language/00
777Yesadministrator/templates/00
ELEVATED PERMISSIONS (FIRST 10)
MODEWRITABLEFOLDER
777Yesadministrator/ (
777Yesadministrator/cache/ (
777Yesadministrator/components/ (
777Yesadministrator/components/com_admin/ (
777Yesadministrator/components/com_admin/controllers/ (
777Yesadministrator/components/com_admin/helpers/ (
777Yesadministrator/components/com_admin/helpers/html/ (
777Yesadministrator/components/com_admin/models/ (
777Yesadministrator/components/com_admin/models/forms/ (
777Yesadministrator/components/com_admin/sql/ (
COMPONENTS :: SITE
NAMEVERSIONCREATEDAUTHORADDRESSTYPE

COMPONENTS :: ADMIN
NAMEVERSIONCREATEDAUTHORADDRESSTYPE

MODULES :: SITE
NAMEVERSIONCREATEDAUTHORADDRESSTYPE

MODULES :: ADMIN
NAMEVERSIONCREATEDAUTHORADDRESSTYPE

PLUGINS :: SITE
NAMEVERSIONCREATEDAUTHORADDRESSTYPE
plg_editors_codemirror1.028 March 2011Marijn Haverbeke3rd Party
plg_editors_tinymce3.5.62005-2012Moxiecode Systems ABtinymce.moxiecode.com/3rd Party

TEMPLATES :: SITE
NAMEVERSIONCREATEDAUTHORADDRESSTYPE
TeamSpirit2.5.024-07-2012FTSwww.freetemplatespot.com3rd Party
siteground-j16-441.0.119 January 2011SiteGroundwww.siteground.com3rd Party
Magma2.5.002-10-2012FTSwww.freetemplatespot.com3rd Party
protostar1.04/30/2012Kyle Ledbetter-3rd Party
rt_tachyon_j151.5.8 November 11, 2011RocketTheme, LLCwww.rockettheme.com3rd Party
rt_tachyon_j151.5.8 November 11, 2011RocketTheme, LLCwww.rockettheme.com3rd Party

TEMPLATES :: ADMIN
NAMEVERSIONCREATEDAUTHORADDRESSTYPE
isis1.03/30/2012Kyle Ledbetter-3rd Party

LEGENDS AND SETTINGS
OK/GOODWARNINGSALERTS[ -- protected -- ]

Developer-Mode
Disabled (default )
Information Privacy
Partial (default )
Elevated Permissions
Show
Table Structure
Hide (default )

Diagnostic-Mode
Disabled (default )
Components
Show
Modules
Show
Plugins
Show

Get the latest zip release of the Forum Post Assistant
Get the latest tar.gz release of the Forum Post Assistant

Re: Server 2008 R2 Installation of Joomla3

Posted: Tue Jan 01, 2013 10:02 am
by Per Yngve Berg
Please post the formatted out put with colour coding. It's suppose to look like in this thread http://forum.joomla.org/viewtopic.php?f ... 7#p2949757

Press the "Show the Forum Post Assistant" button to have it generated.

Re: Server 2008 R2 Installation of Joomla3

Posted: Wed Jan 02, 2013 5:20 am
by yacine13
Last PHP Error(s) Reported :: Forum Post Assistant (v1.2.3) : 2nd January 2013 wrote:[01-Jan-2013 11:50:50 Pacific/Fiji] PHP Notice: Undefined index: HTTP_HOST in C:\inetpub\wwwroot\joomla3\libraries\joomla\uri\uri.php on line 174
Forum Post Assistant (v1.2.3) : 2nd January 2013 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.0.2-Stable (Ember) 08-November-2012
Joomla! Platform :: Joomla Platform 12.2.0-Stable (Neil Armstrong) 21-September-2012
Joomla! Configured :: Yes | Writable (666) | Owner: 0 (uid: /gid: ) | Group: 0 (gid: ) | Valid For: 3.0
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | FTP Layer: 0 | SSL: N/A | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Windows NT | OS Version: 6.1 | Technology: i586 | Web Server: Microsoft-IIS/7.5 | Encoding: gzip, deflate | Doc Root: C:/inetpub/wwwroot/joomla3 | System TMP Writable: No

PHP Configuration :: Version: 5.4.9 | PHP API: cgi-fcgi | Session Path Writable: No | Display Errors: | Error Reporting: 22527 | Log Errors To: C:\Windows\temp\php54_errors.log | Last Known Error: 01st January 2013 11:50:50. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 300 | Memory Limit: 128M

MySQL Configuration :: Version: 5.5.28-log (Client:mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 3.20 MiB | #of Tables: 60
Detailed Environment :: wrote:PHP Extensions :: Core (5.4.9) | bcmath () | calendar () | ctype () | date (5.4.9) | ereg () | filter (0.11.0) | ftp () | hash (1.0) | iconv () | json (1.2.1) | mcrypt () | SPL (0.2) | odbc (1.0) | pcre () | Reflection ($Id: 53b2389d638795fa66862d453ff1abfd89e0aa13 $) | session () | standard (5.4.9) | mysqlnd (mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $) | tokenizer (0.1) | zip (1.11.0) | zlib (2.0) | libxml () | dom (20031129) | PDO (1.0.4dev) | openssl () | SimpleXML (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | cgi-fcgi () | mysql (1.0) | mysqli (0.1) | mbstring () | gd () | gettext () | curl () | exif (1.4 $Id$) | xmlrpc (0.51) | Phar (2.0.1) | soap () | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | imap () | tidy (2.0) | pdo_sqlsrv (3.0.3421.0) | sqlsrv (3.0.3421.0) | mhash () | Zend Engine (2.4.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: No | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (777) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) |

Elevated Permissions (First 10) :: administrator/ (777) | administrator/cache/ (777) | administrator/components/ (777) | administrator/components/com_admin/ (777) | administrator/components/com_admin/controllers/ (777) | administrator/components/com_admin/helpers/ (777) | administrator/components/com_admin/helpers/html/ (777) | administrator/components/com_admin/models/ (777) | administrator/components/com_admin/models/forms/ (777) | administrator/components/com_admin/sql/ (777) |
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (3.0.0) | com_wrapper (3.0.0) |
Components :: ADMIN :: com_admin (3.0.0) | com_banners (3.0.0) | com_cache (3.0.0) | com_categories (3.0.0) | com_checkin (3.0.0) | com_config (3.0.0) | com_content (3.0.0) | com_cpanel (3.0.0) | com_finder (3.0.0) | com_installer (3.0.0) | com_joomlaupdate (3.0.0) | com_languages (3.0.0) | com_login (3.0.0) | com_media (3.0.0) | com_menus (3.0.0) | com_messages (3.0.0) | com_modules (3.0.0) | com_newsfeeds (3.0.0) | com_plugins (3.0.0) | com_redirect (3.0.0) | com_search (3.0.0) | com_templates (3.0.0) | com_users (3.0.0) | com_weblinks (3.0.0) |

Modules :: SITE :: mod_articles_archive (3.0.0) | mod_articles_categories (3.0.0) | mod_articles_category (3.0.0) | mod_articles_latest (3.0.0) | mod_articles_news (3.0.0) | mod_articles_popular (3.0.0) | mod_banners (3.0.0) | mod_breadcrumbs (3.0.0) | mod_custom (3.0.0) | mod_feed (3.0.0) | mod_finder (3.0.0) | mod_footer (3.0.0) | mod_languages (3.0.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_random_image (3.0.0) | mod_related_items (3.0.0) | mod_search (3.0.0) | mod_stats (3.0.0) | mod_syndicate (3.0.0) | mod_users_latest (3.0.0) | mod_weblinks (3.0.0) | mod_whosonline (3.0.0) | mod_wrapper (3.0.0) |
Modules :: ADMIN :: mod_custom (3.0.0) | mod_feed (3.0.0) | mod_latest (3.0.0) | mod_logged (3.0.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_multilangstatus (3.0.0) | mod_popular (3.0.0) | mod_quickicon (3.0.0) | mod_stats_admin (3.0.0) | mod_status (3.0.0) | mod_submenu (3.0.0) | mod_title (3.0.0) | mod_toolbar (3.0.0) | mod_version (3.0.0) |

Plugins :: SITE :: plg_authentication_gmail (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_ldap (3.0.0) | plg_captcha_recaptcha (3.0.0) | plg_content_emailcloak (3.0.0) | plg_content_finder (3.0.0) | plg_content_geshi (3.0.0) | plg_content_joomla (3.0.0) | plg_content_loadmodule (3.0.0) | plg_content_pagebreak (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_vote (3.0.0) | plg_editors_codemirror (1.0) | plg_editors_tinymce (3.5.6) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_readmore (3.0.0) | plg_extension_joomla (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_content (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_weblinks (3.0.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_search_categories (3.0.0) | plg_search_contacts (3.0.0) | plg_search_content (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_search_weblinks (3.0.0) | plg_system_cache (3.0.0) | plg_system_debug (3.0.0) | plg_system_highlight (3.0.0) | plg_system_languagecode (3.0.0) | plg_system_languagefilter (3.0.0) | plg_system_log (3.0.0) | plg_system_logout (3.0.0) | plg_system_p3p (3.0.0) | plg_system_redirect (3.0.0) | plg_system_remember (3.0.0) | plg_system_sef (3.0.0) | plg_user_contactcreator (3.0.0) | plg_user_joomla (3.0.0) | plg_user_profile (3.0.0) |
Templates Discovered :: wrote:Templates :: SITE :: TeamSpirit (2.5.0) | siteground-j16-44 (1.0.1) | beez3 (3.0.0) | Magma (2.5.0) | protostar (1.0) | rt_tachyon_j15 (1.5.8) | rt_tachyon_j15 (1.5.8) |
Templates :: ADMIN :: hathor (3.0.0) | isis (1.0) |

Re: Server 2008 R2 Installation of Joomla3

Posted: Thu Jan 03, 2013 4:27 pm
by Per Yngve Berg
Make these writeable:

SERVER TEMP:C:\Windows\TEMP
SERVER TEMP WRITABLE:No

Session Path Writable: No

Make this larger: Max. Upload Size: 2M

I don't know how to setup virtual hosts on IIS, but it's probably related to this error:
PHP Notice: Undefined index: HTTP_HOST in C:\inetpub\wwwroot\joomla3\libraries\joomla\uri\uri.php on line 174

Re: Server 2008 R2 Installation of Joomla3

Posted: Sun Jan 06, 2013 12:29 am
by yacine13
Per Yngve Berg:

Im not sure where to go to make these changes above.
I can locate the folder: C:\Windows\TEMP

I am not sure where to write the lines:
SERVER TEMP WRITABLE: No
Session Path Writable: No
Max. Upload Size: 10M

Also I have read about make changes the config mode from 666 to 777. Do you recommend this and how can I go about doing it?

In regards to virtual host are you saying its not setup properly and I need to do this?
I opened the uri.php this is the relevant lines I could extract.

public static function getInstance($uri = 'SERVER')
{
if (empty(self::$instances[$uri]))
{
// Are we obtaining the URI from the server?
if ($uri == 'SERVER')
{
// Determine if the request was over SSL (HTTPS).
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off'))
{
$https = 's://';
}
else
{
$https = '://';
}

/*
* Since we are assigning the URI from the server variables, we first need
* to determine if we are running on apache or IIS. If PHP_SELF and REQUEST_URI
* are present, we will assume we are running on apache.
*/

if (!empty($_SERVER['PHP_SELF']) && !empty($_SERVER['REQUEST_URI']))
{
// To build the entire URI we need to prepend the protocol, and the http host
// to the URI string.
$theURI = 'http' . $https . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
}
else
{
/*
* Since we do not have REQUEST_URI to work with, we will assume we are
* running on IIS and will therefore need to work some magic with the SCRIPT_NAME and
* QUERY_STRING environment variables.
*
* IIS uses the SCRIPT_NAME variable instead of a REQUEST_URI variable... thanks, MS
*/
$theURI = 'http' . $https . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];

// If the query string exists append it to the URI string
if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']))
{
$theURI .= '?' . $_SERVER['QUERY_STRING'];
}
}
}
else
{
// We were given a URI
$theURI = $uri;
}

self::$instances[$uri] = new JURI($theURI);
}
return self::$instances[$uri];
}

Re: Server 2008 R2 Installation of Joomla3

Posted: Sun Jan 06, 2013 10:44 am
by Per Yngve Berg
The configuration of php are done in php.ini

http://php.net/manual/en/session.config ... .save-path


The problem is that $_SERVER['HTTP_HOST'] does not return a value.

http://stackoverflow.com/questions/1091 ... ys-defined


You should access the server with a domain name rather than an ip address.