Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
Im trying to install MySQl, and keep getting this error message
[Edited on 25-12-2006 by Tom J]
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
are you a local admin?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
do you mean am i computer administrator?
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
no i meant are you a local admin, but yes are you a computer administrator?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
yes i am a computer administrator, don't know what you mean when you say am i a local admin
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Local admin, admin on that computer, same thing.
Try installing somewhere that doesn't have spaces in the file name as Program Files does.
MySQL / PHP / most unix stuff is funny like that. I had to move my installs around to get some of the extensions working, wouldn't work with the paths with spaces.
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
worked cheers, i will probably be back soon with more problems
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
right i've installed phbb2 and apache webserver and mysql. im wanting to create a forum, been following this http://www.devside.net/guides/windows/phpbb
but when i try to visit http://localhost/forums/install/install.php like it says but no joy
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
You seeing any page at all?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
im presuming im meant to be doing this in IE, i get HTTP 404 not found. In windows explorer it just doesnt do anything
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Yeah, IE.
Anything at http://localhost/ ?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
yes,
Index of /
Name Last modified Size Description
--------------------------------------------------------------------------------
apache_pb.gif 20-Nov-2004 16:16 2.3K
apache_pb.png 20-Nov-2004 16:16 1.4K
apache_pb22.gif 14-Dec-2005 12:25 2.4K
apache_pb22.png 14-Dec-2005 12:25 1.5K
apache_pb22_ani.gif 14-Dec-2005 12:25 2.2K
aspsample/ 13-Dec-2006 21:26 -
phpinfo.php 05-Jul-2003 21:23 21
stats/ 13-Dec-2006 21:26 -
webdeveloper/ 12-Dec-2006 18:20 -
--------------------------------------------------------------------------------
Apache/2.2.3 (Win32) mod_ssl/2.2.3 OpenSSL/0.9.8d PHP/5.2.0 mod_perl/2.0.3-dev Perl/v5.8.8 Server at localhost Port 80
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
But no /forums/install/install.php, hence the file not found.
I'm assuming that is default apache htdocs location?
You need to either move your forum stuff in to there or change the DocumentRoot variable in the httpd.conf to where the forum files are.
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
you need to find out where the default lcoation for htdocs is set and put it in there
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
my document root is set to "/www/webroot"
ht docs is in C:\www\Apache22\htdocs
so do i need to put ht docs into webroot?
here is a screen print of c:\www http://www.corsasport.co.uk/carimages/923/apache.jpg
[Edited on 24-12-2006 by Tom J]
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
try putting them in webroot, but to be 100% sure without experimenting just look in your apache conf file as to where your default root is
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
quote: Originally posted by Ian
But no /forums/install/install.php, hence the file not found.
where is this file from? from phbb2?
I'm assuming that is default apache htdocs location?
htdocs is in www:\apache22
You need to either move your forum stuff in to there or change the DocumentRoot variable in the httpd.conf to where the forum files are.
where would the forum files be?
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
the forum files are what you downloaded mate
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
well i just downloaded phpbb2 again to c:\www and still no luck
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
where does your conf file say the htdocs default location is?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
###*********************************************************
###* DeveloperSide.NET *
###* http://www.devside.net *
###* admin@devside.net *
###* v1.90-httpd22-ssl *
###*********************************************************
ThreadsPerChild 250
MaxRequestsPerChild 0
Listen 80
ServerRoot "/www/Apache22"
DocumentRoot "/www/webroot"
ServerName localhost:80
ServerAdmin admin@localhost
ErrorLog logs/error.log
LogLevel error
###
# Note that the following LoadModule lines only represent the minimum 'Web-Developer' Suite configuration.
#
# Also note that some of the following LoadModule lines, which are commented out, are still loaded under...
# conf\Suite-extra\*.conf
# conf\extra\*.conf
# ...configuration files -- for modular reasons.
#
# For example:
# mod_deflate is loaded under conf\Suite-extra\mod_deflate_logio.conf and NOT under httpd.conf
# status_module is loaded under conf\extra\httpd-info.conf and NOT under httpd.conf
#
# Check last part of httpd.conf for the Apache base and 'Web-Developer' *.conf files that are included.
###
#LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_default_module modules/mod_authn_default.so
#LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_default_module modules/mod_authz_default.so
#LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule imagemap_module modules/mod_imagemap.so
#LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
#LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
DefaultType text/plain
<IfModule dir_module>
DirectoryIndex index.html index.php index.aspx
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
<Directory "/www/webroot">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog logs/access.log combined
</IfModule>
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
# Apache base configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.
# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf
# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# DeveloperSide.NET Server-Suite Configuration
#
# The configuration files in the conf/Suite-extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.
#
# The specifics are loaded under components.conf...
Include conf/Suite-extra/components.conf
# Security check -- if no php module is loaded, Apache should return 'permissions denied' on php(4,5) all URL requests
<IfModule !php5_module>
<IfModule !php4_module>
<Location />
<FilesMatch "\.php[45]?$">
Order allow,deny
Deny from all
</FilesMatch>
</Location>
</IfModule>
</IfModule>
<IfModule ssl_module>
Include conf/extra/httpd-ssl.conf
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
DocumentRoot "/www/webroot"
and youve tried sticking the phpbb files in there?
try just creating a simple html file with the word hello in it and see if that appears
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
I agree - try that.
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
right, i copied the bb files in there then it came up with the phpBB 2 Installation, where you input database name, password and the rest, then i click on start install and it says:
phpBB : Critical Error
Could not connect to the database
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
do you have mysql running? you need to create the instace in mysql, then use that as the db name, download the GUI mysql admin tool, or use phpmyadmin if you have that installed
[Edited on 24-12-2006 by Steve]
|