Avatar billede nae Nybegynder
28. maj 2003 - 18:21 Der er 22 kommentarer og
1 løsning

Postnuke installering

indsendt den 28/5/03 kl. 18:02
Jeg har lige installeret postnuke og når jeg går ind i index siger den: Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/dkcphnas004/www/c/s/cheers.dk/html/pnadodb/drivers/adodb-mysql.inc.php on line 170

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/dkcphnas004/www/c/s/cheers.dk/html/pnadodb/drivers/adodb-mysql.inc.php on line 170
mysql://®Š-:@localhost/Phoenix failed to connectCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Please help
Avatar billede simonvalter Praktikant
28. maj 2003 - 18:23 #1
kører mysql serveren?
Avatar billede nae Nybegynder
28. maj 2003 - 18:26 #2
Jeg har freepaq, og det ser ud som om de har mysql.
Avatar billede donwang Nybegynder
28. maj 2003 - 18:28 #3
Du har vel ikke sat mysql databasen op?
Avatar billede nae Nybegynder
28. maj 2003 - 18:28 #4
Sat op hvad mener du?
Avatar billede donwang Nybegynder
28. maj 2003 - 18:29 #5
PLEASE READ ALL OF THIS DOCUMENT BEFORE INSTALLING OR USING POSTNUKE



PostNuke: The Rogue Release (0.71)
==================================

  PostNuke is an open source, open developement content management system
(CMS).  PostNuke started as a fork from PHPNuke (http://www.phpnuke.org) and
provides many enhancements and improvements over the PHP-Nuke system.  PostNuke
is still undergoing development but a large number of core functions are now
stabilising and a complete API for third-party developers is now in place.

  If you would like to help develop this software, please visit our homepage
at http://www.postnuke.com, or contact J. Cox at john.cox@postnuke.com .

  You can also visit us on our IRC Server irc.postnuke.com channel
#postnuke-chat

New Installation
================

  PostNuke has a fully graphical install process to provide a simple set of
steps to get your site up and running.

  To install your PostNuke system run install.php from your browser to start
the installation process.  The exact url depends on your site, but for example
if your site is www.foo.com and PostNuke is installed in the 'bar' directory
then the URL will be

  http://www.foo.com/bar/install.php

  Follow the instructions in the installation script and when prompted for
either a new install or an upgrade select 'new install'.  The installer will
create the rquired database tables and obtain information about the super-user
login.  Once complete you should be able to start using your PostNuke site
immediately.

Upgrade
=======

  PostNuke supports upgrading from all earlier official versions of PostNuke,
together with a large number of other Nuke variants.

  Before doing anything else, BACK UP YOUR DATABASE.  This cannot be stressed
enough.  If there is a problem with the upgrade procedure then a backup helps
you in two ways.  First, you can go back to a pre-upgrade state and your site
can keep working on the old code.  Second, the development team might want to
get a copy of your database to trace the exact problem and fix the upgrade
procedures that caused you problems in the first place.

  Second, take a copy of your config.php file and store it somewhere safe;
you'll need it in a minute.

  Third, remove all of the files in your PostNuke distribution.  All of them.
Again a backup of the files would be a good idea, or just move the old
directory out of the way and install the new one in place of this one.

  Fourth, take your config.php that you saved a couple of steps ago and copy
it to the postnuke base directory (the one with config.php and config-old.php)
with the name pn7config.php  This will be used in the upgrade process

  Fifth, run install.php from your browser to start the installation process.
The exact url depends on your site, but for example if your site is www.foo.com
and PostNuke is installed in the 'bar' directory then the URL will be

  http://www.foo.com/bar/install.php

  Follow the instructions in the installation script and when prompted for
either a new install or an upgrade select 'upgrade', then pick the version of
PostNuke (or another Nuke variant) which you wish to upgrade from.  The rest of
the procedure should be automatic.

Caution
=======

  Previous versions of PostNuke and other derivatives often include plugins
that alter the database core tables through adding fields, changing names, etc.
It should be noted that PostNuke does not support any modification of the core
tables (those that come with this PostNuke distribution) or direct access to
the core database tables.  APIs are provided for developers to use for these
purposes, so that future planned changes will have a minimal impact on
third-party added functionality, and should be used at all times.

Common Installation Errors
==========================

  config.php and config-old.php not world-writable - these files need to be
writable by the webserver process during the install/upgrade to ensure that
certain configuration parameters are stored.  The install procedure should
check for this and inform you if the files are not writable.  Note that once
the install/upgrade has been completed these files can be re-set to read-only.

  Problems creating or populating the datbase  - this is often due to
incorrect MySQL privileges on the database.  If you are unsure if this might be
the case then try to access your MySQL database manually with the username and
password that you have and attempt to create a database and table to ensure
that the user exists, has a correct password, and is able to carry out the
operations that PostNuke needs for installation.

  Problems logging in - this is normally due to access the postnuke site with
an unqualified host name e.g. http://localhost/index.php or a domain name e.g.
http://foo.com/index.php  PostNuke requires that the site name is
fully-qualified e.g. http://www.foo.com/index.php  Instructions on setting up a
fully-qualified hostname for your local server can be found on the PostNuke
documentation site at http://docs.postnuke.com  Alternatively you can set the
'intranet' option when installing or upgrading PostNuke, which will allow you
to run PostNuke without a fully-qualified domain name but without the ability
to filter cookies from similar domains.  In most cases where PostNuke is run
like this it should not be an issue, however setting your site to run as an
intranet site when it is directly connected to the internet is not recommended.
Avatar billede nae Nybegynder
28. maj 2003 - 18:30 #6
Når den spørger om mysql info hvad skal jeg så skrive i table prefix?
Avatar billede donwang Nybegynder
28. maj 2003 - 18:31 #7
Er den ikke udfyldt automatisk? Ellers bare skriv postnuke...
Avatar billede nae Nybegynder
28. maj 2003 - 18:32 #8
ok.. skal jeg så i databasehost skrive hvad adressen på mysql serveren er?
Avatar billede donwang Nybegynder
28. maj 2003 - 18:33 #9
Jeps...
Avatar billede nae Nybegynder
28. maj 2003 - 18:34 #10
Hvad med intranet skal jeg afkrydse det felt?
Avatar billede donwang Nybegynder
28. maj 2003 - 18:35 #11
Nope...
Avatar billede nae Nybegynder
28. maj 2003 - 18:35 #12
og efter jeg har submitted den skal jeg så gå ind i upgrade eller new install?
Avatar billede donwang Nybegynder
28. maj 2003 - 18:37 #13
NEw install
Avatar billede nae Nybegynder
28. maj 2003 - 18:37 #14
ja men så begynder den bare forfra med sprog etc?
Avatar billede donwang Nybegynder
28. maj 2003 - 18:40 #15
Så prøv at kør det igennem, og vælg upgradate...
Avatar billede donwang Nybegynder
28. maj 2003 - 18:41 #16
Ellers prøv dig frem...!
Avatar billede donwang Nybegynder
28. maj 2003 - 19:12 #17
Virker det?
Avatar billede nae Nybegynder
28. maj 2003 - 20:22 #18
nej desværre...
Avatar billede avminarm Juniormester
29. maj 2003 - 00:33 #19
skift til PHPnuke !! (sorry donwang - kunne ikke lade være ;o])
Avatar billede nae Nybegynder
29. maj 2003 - 14:00 #20
Har fået det til at virke, tak for hjælpen.
Men hvad er forskellen på phpnuke og postnuke, og hvad er bedst?
Avatar billede avminarm Juniormester
30. maj 2003 - 22:49 #21
nae>> der er vist en smagssag - donwang synes postnuke er bedst, mens jeg synes PHPnuke er bedst
Avatar billede avminarm Juniormester
18. juli 2003 - 11:54 #22
LUKKETID??
Avatar billede karsberg Nybegynder
25. oktober 2004 - 19:51 #23
tid til at lukke??
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester