fresh re-install of phpbb3 failed

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Sweeney
Registered User
Posts: 20
Joined: Mon Apr 29, 2013 2:53 pm

fresh re-install of phpbb3 failed

Post by Sweeney » Wed May 01, 2013 8:21 pm

I was having problems with my install of phpbb3 so i decided to start from scratch and i deleted all files associated with phpbb3 from my server then deleted the database and created a new one ready for the fresh install ,
i then put all the phpbb3 files back over to my server in the correct place and then went to finish the install process via mysite.com/forum/install which works fine but then when i click the convert tab i get this error where am i going wrong?


Code: Select all

General Error
SQL ERROR [ mysql4 ]

Access denied for user 'web241-a-foru-3'@'localhost' (using password: YES) [1045]

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysql.php
LINE: 93
CALL: dbal->sql_error()

FILE: [ROOT]/install/install_convert.php
LINE: 129
CALL: dbal_mysql->sql_connect()

FILE: [ROOT]/install/index.php
LINE: 326
CALL: install_convert->main()

FILE: [ROOT]/install/index.php
LINE: 203
CALL: module->load()

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: fresh re-install of phpbb3 failed

Post by Brf » Wed May 01, 2013 8:24 pm

Why are you clicking the "Convert" tab if it is a fresh install? Are you trying to convert an old phpBB-2 board?

User avatar
Lumpy Burgertushie
Registered User
Posts: 66926
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: fresh re-install of phpbb3 failed

Post by Lumpy Burgertushie » Wed May 01, 2013 8:31 pm

and to start with, did you upload the old config.php file? if so that is why you are getting errors.

if you are going to reinstall, you have to start with a blank config.php file not the old one.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Sweeney
Registered User
Posts: 20
Joined: Mon Apr 29, 2013 2:53 pm

Re: fresh re-install of phpbb3 failed

Post by Sweeney » Wed May 01, 2013 8:40 pm

no i am not upgrading that is the only option it gives me (see screen shot)
Attachments
Untitled-3.png
Untitled-3.png (65.39 KiB) Viewed 696 times

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: fresh re-install of phpbb3 failed

Post by Brf » Wed May 01, 2013 8:44 pm

If you already have the files and the database, you do not need to run the install.

Sweeney
Registered User
Posts: 20
Joined: Mon Apr 29, 2013 2:53 pm

Re: fresh re-install of phpbb3 failed

Post by Sweeney » Wed May 01, 2013 8:47 pm

but then when i try to access acp i get this error

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Access denied for user 'web241-a-foru-3'@'localhost' (using password: YES) [1045]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
is there a way to make the phpbb use the new database i have created? because it seems to want to use the old deleted one at the moment

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: fresh re-install of phpbb3 failed

Post by Brf » Wed May 01, 2013 8:51 pm

You are apparently still using a config.php that points to your old database. If you want to make a new one, you need to empty the config.php.

Sweeney
Registered User
Posts: 20
Joined: Mon Apr 29, 2013 2:53 pm

Re: fresh re-install of phpbb3 failed

Post by Sweeney » Wed May 01, 2013 10:00 pm

do i just delete all data from the config file and save or delete the file and move the phpbb3 one over via ftp?

Thank you for all your help this is why i love phpbb the support is unreal and always has been


Edit: i edited the config file to have the new sql and new password data -- saved -- then uploaded it to the correct area and now i get this error but still no extra install tab on the screen before it

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Table 'web241-zsa-for1.phpbb_config' doesn't exist [1146]

SQL

SELECT * FROM phpbb_config

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/install/install_convert.php
LINE: 135
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/install/index.php
LINE: 326
CALL: install_convert->main()

FILE: [ROOT]/install/index.php
LINE: 203
CALL: module->load()

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: fresh re-install of phpbb3 failed

Post by Oyabun1 » Wed May 01, 2013 11:37 pm

Sweeney wrote:Edit: i edited the config file to have the new sql and new password data -- saved -- then uploaded it to the correct area
What you seem to have done is created an empty database and filled in the details in the config.php file. Therefore, the installer will not run and the database will not be populated with the required tables and data. That is not what you do for a clean install. As Brf advised, you needed a blank config.php file and the phpBB installer will then write the details to it.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Sweeney
Registered User
Posts: 20
Joined: Mon Apr 29, 2013 2:53 pm

Re: fresh re-install of phpbb3 failed

Post by Sweeney » Thu May 02, 2013 5:55 pm

Thank you i was tired last night so my head was up my arse :? i tend to not listen when people tell me what to do when tired :D
and i just did what you said and the install tab has now appeared thank you so much guys i owe you a few drinks

Locked

Return to “[3.0.x] Support Forum”