update_to_latest.php sends me to install.html

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
TexasBlake
Registered User
Posts: 59
Joined: Thu Feb 06, 2003 4:05 am
Location: Houston, Texas
Contact:

update_to_latest.php sends me to install.html

Post by TexasBlake »

I had some problems with my phpBB a few days ago. I used the devil program Microsoft Frontpage to update a new link, since it was a link that was used in many pages and frontpage would change them all. Well, I guess frontpage got confused like normal and deleted some files on some directories that weren't in my "web" directory. So I got a bunch of errors.
Turns ut I was missing some files like db.php and some others. I tried adding those but it didn't fix it.

Next, I uploaded the new version to replace my 2.0.3. When I go to the update_to_latest.php it tells me I need to read INSTALL.HTML. Why won't it let me update?

Also, if I just try to install it from the regular installation page, it gives me the error
An error occurred trying to update the database Table 'phpbb_auth_access' already exists


Can anyone point me in the right direction? If it is not too late, I'd like to be able to not loose all my posts, members, profiles, forums, etc. But if it is beyond that, I don't mind reinstalling from the gruond up. Thanks.
User avatar
jwunderly
Registered User
Posts: 5740
Joined: Sun Mar 30, 2003 2:18 pm
Location: Easton, PA (in the groove)

Re: update_to_latest.php sends me to install.html

Post by jwunderly »

TexasBlake wrote: Next, I uploaded the new version to replace my 2.0.3. When I go to the update_to_latest.php it tells me I need to read INSTALL.HTML. Why won't it let me update?


Simple.

1. Take a BIG BREATH, hold it for 10 seconds.
2. OK, the hard part is done.
3. you need to have the update_to_latest.php file in an install directory (that is what caused the INSTALL.HTML error).
4. After the "update" script completes sucessfully, delete the install and contrib directories from your forum root.
John (A cranky old man. "Looking for an echo ...")
using any control-panel install/update is like shooting yourself in the foot. It won't kill you, but you're really going to hobble around until it heals.
Using the wrong tools (Front Page, DreamWeaver) gives the same results
Do not PM me for Support!
TexasBlake
Registered User
Posts: 59
Joined: Thu Feb 06, 2003 4:05 am
Location: Houston, Texas
Contact:

Post by TexasBlake »

The update page is located at /phpBB2/install/update_to_latest.php

:?
User avatar
Tux_Rules
Registered User
Posts: 958
Joined: Sat Apr 24, 2004 10:48 pm
Location: Afton, Michigan
Contact:

Post by Tux_Rules »

TexasBlake wrote: The update page is located at /phpBB2/install/update_to_latest.php

:?


Sounds like maybe your config.php was deleted/overwritten and needs to be rebuilt.

http://www.phpbb.com/kb/article.php?article_id=48
User avatar
Spongemom
Registered User
Posts: 237
Joined: Thu Dec 30, 2004 8:31 am
Location: Southeast Kansas
Contact:

Post by Spongemom »

Tux_Rules wrote: Sounds like maybe your config.php was deleted/overwritten and needs to be rebuilt.

http://www.phpbb.com/kb/article.php?article_id=48

From that link:

Code: Select all

<?php

//
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
//

$dbms = "mysql";

$dbhost = "localhost";
$dbname = "dbnamehere";
$dbuser = "usernamehere";
$dbpasswd = "dbpasswordhere";

$table_prefix = "phpbb_"; 

define('PHPBB_INSTALLED', true);

?>
Is "localhost" the ISP or the domain name?
Is "dbname" the domain name, or your first name?
User avatar
Tux_Rules
Registered User
Posts: 958
Joined: Sat Apr 24, 2004 10:48 pm
Location: Afton, Michigan
Contact:

Post by Tux_Rules »

Spongemom wrote:
Tux_Rules wrote:Sounds like maybe your config.php was deleted/overwritten and needs to be rebuilt.

http://www.phpbb.com/kb/article.php?article_id=48

From that link:

Code: Select all

<?php

//
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
//

$dbms = "mysql";

$dbhost = "localhost";
$dbname = "dbnamehere";
$dbuser = "usernamehere";
$dbpasswd = "dbpasswordhere";

$table_prefix = "phpbb_"; 

define('PHPBB_INSTALLED', true);

?>
Is "localhost" the ISP or the domain name?
Is "dbname" the domain name, or your first name?


"localhost" would be the name where the database server is and "dbname" is the name of the database.
User avatar
Spongemom
Registered User
Posts: 237
Joined: Thu Dec 30, 2004 8:31 am
Location: Southeast Kansas
Contact:

Post by Spongemom »

Tux_Rules wrote: "localhost" would be the name where the database server is and "dbname" is the name of the database.

..... :?

I've been stuck at this spot for two hours...

These?

Image
geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator »

Spongemom wrote: [

I've been stuck at this spot for two hours...

These?


That is a picture of you file manager, the database is a seperrate thing. In you hosting control panel you should have an area to manage databases.
Coool
Registered User
Posts: 235
Joined: Wed Jun 29, 2005 11:12 pm
Contact:

Re: update_to_latest.php sends me to install.html

Post by Coool »

TexasBlake wrote: Also, if I just try to install it from the regular installation page, it gives me the error
An error occurred trying to update the database Table 'phpbb_auth_access' already exists


You gotta change the table prefix ;)
User avatar
Spongemom
Registered User
Posts: 237
Joined: Thu Dec 30, 2004 8:31 am
Location: Southeast Kansas
Contact:

Post by Spongemom »

geocator wrote: That is a picture of you file manager, the database is a seperrate thing. In you hosting control panel you should have an area to manage databases.


I don't have a clue how to do anything in there.

Image
geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator »

Ok, that means you database name is phpbb. So you can continue with that config.php file.
User avatar
Spongemom
Registered User
Posts: 237
Joined: Thu Dec 30, 2004 8:31 am
Location: Southeast Kansas
Contact:

Post by Spongemom »

geocator wrote: Ok, that means you database name is phpbb. So you can continue with that config.php file.

So "dbname" is phpbb and "dbhost" is config.php?

EDIT: Nevermind...it's spongemom.com for the dbhost isn't it? I used that and uploaded it in the thing in the screenshot up there, and got this:

Image

Is that right?
Last edited by Spongemom on Sun Jul 17, 2005 4:07 am, edited 1 time in total.
geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator »

No dbhost is probably localhost
who_cares
Registered User
Posts: 5106
Joined: Fri Jan 14, 2005 11:04 pm
Location: ATL
Contact:

Post by who_cares »

where did the table phpbb_install come from?
User avatar
Spongemom
Registered User
Posts: 237
Joined: Thu Dec 30, 2004 8:31 am
Location: Southeast Kansas
Contact:

Post by Spongemom »

who_cares wrote: where did the table phpbb_install come from?

I guess it came with it. This is what it has:

Image
Locked

Return to “2.0.x Support Forum”