PDA

Pogčedajte punu verziju : Error 404 / install.php


Suske
29. 08. 2008., 12:50
Pokušavam da instaliram WP na localu.

Microsoft Windows XP Professional
Service Pack 2

xampp version 1.6.2
Current PHP version in THIS XAMPP is PHP 5.2.2
MySQL client version: 5.0.41
phpMyAdmin - 2.10.1

WP 2.6.1

http://localhost/xampp/ - OK
http://localhost/phpmyadmin/ - OK
Kreirala sam bazu 'wordpress' - OK
Promenila wp-config.php

// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // ...and password
define('DB_HOST', 'lokalhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
-----------------
file:///C:/xampp/htdocs/xampp/wordpress/wp-admin/install.php
kaže:
'.__('Already Installed').'

'.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'

ali:
http://localhost/xampp/wordpress/wp-login.php
Error establishing a database connection
------------------

Zatim nakon pretrage na DPT-u

Skinem NOD32
Sve deinstaliram i instaliram ponovo.

Zatim promenim u httpd.conf

LoadModule rewrite_module modules/mod_rewrite.so
-----
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
-----
i u my.cnf

#skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = C:/xampp/mysql/data/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = C:/xampp/mysql/data/
innodb_log_arch_dir = C:/xampp/mysql/data/

-----
I ništa!

Kad ukucam u FF-u
http://localhost/wordpress/wp-admin/install.php
http://127.0.0.1/wordpress/wp-admin/install.php
http://localhost/xampp/wordpress/install.php

šta god da sam izmišljala .... izbaci mi:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
127.0.0.1
08/29/08 12:33:33
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2

Isto ovo sam probala kod kuće :1064: , više puta, imam isti Win isti OS, isti xampp, i NOD32 ... i radi.

Na ovom kompu neće.

Da li je neko od vas imao sličan problem?

:please:

Milos Vukotic
29. 08. 2008., 12:53
Direktorijum "wordpress" bi trebao biti u C:\xampplite\htdocs (kao i sve ostalo sto "instaliras" na localhost).
Probaj da ga prebacis tamo :)

kickloop
29. 08. 2008., 13:13
Ovo verovatno neće rešiti tvoj problem ali je takođe pogrešno:
...
define('DB_HOST', 'lokalhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
...

treba "localhost" i "utf-8"

Suske
29. 08. 2008., 13:20
#Milos Vukotic

prebacila i dobila:

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at lokalhost. This could mean your host's database server is down.

* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?

If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

#kickloop

Ispravljeno. Hvala.

Milos Vukotic
29. 08. 2008., 13:25
...we can't contact the database server at lokalhost.
Probaj da ispraviš svuda ovo "K" u "C" :)

Suske
29. 08. 2008., 13:49
Već me upozorio kickloop.
Ispravila sam. (samo sam tu pogrešila :1050: )

Sad izbacuje ovo u prilogu.

Uff ...

Milos Vukotic
29. 08. 2008., 14:00
Ne da ti se danas... :)

Pokreni xampp control panel pa restartuj apache i mysql, možda proradi... Ako ne, onda sve fino izbriši pa ispočetka, natenane...