Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Help, with upgrade... I have a problem...
  • Posted: 08.06.2003, 12:48
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    I tried to upgrade to .723 from .721. When I went through the upgrade process, I get a upgrade finish prompt. When I go to the PostNuke site, I get this message.

    mysql://®`-:@localhost/Phoenix failed to connectAccess denied for user: \@localhost' to database 'Phoenix'

    I tried copying fresh files and renamed my old config.php file to pn7config.php.

    I wold really hate to dump all of my previous table information.

    Thanks,
    Cliff
  • Posted: 08.06.2003, 12:54
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    I checked the name of my username, password, database name, path.. Everything is entered correctly, as much as I can determine. But this pops up when I try to bring the page up:

    mysql://®`-:@localhost/Phoenix failed to connectAccess denied for user: \@localhost' to database 'Phoenix'
  • Posted: 08.06.2003, 18:59
     
    Infopro
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    17.06.04
    Posts:
    2122
    Easiest I can suggest is dump the contents of your DB. You did make one first before running the installer right?
    Dump the DB contents, clear your cookies and go back to the installer and try again to go at it. Add the fields this way, it sounds like you may not have.

    localhost
    mydbname_mydbname
    mypassword
    myname_myname

    *do not create DB
    *not for intranet use.

    Good luck.

    --
    Friends rock, bullshit walks
  • Posted: 09.06.2003, 03:30
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    Thanks for the suggestions. However, I am trying to do an upgrade and not a new install if possible. I have lots of usernames and data that I would like to retain if possible.

    I can create a new database and do a fresh install with no problems. But, for some reason, I am having problems with this upgrade process.

    Any help is appreciated.

    Cliff
  • Posted: 09.06.2003, 03:53
     
    rodulfo
    rank:
    Freshman Freshman
    registered:
     March 2002
    Status:
    offline
    last visit:
    19.06.03
    Posts:
    6
    I am having exactly the same situation... hope to see the solution to it.
  • Posted: 09.06.2003, 12:17
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    I wanted to add... I do get to the screen prompt that says the upgrade is finished, but when I go to the site. I still get the error:

    mysql://®`-:@localhost/Phoenix failed to connectAccess denied for user: \@localhost' to database 'Phoenix'

    How many other people are getting this during the install, and are you installing a new installation, or upgrade? I created a new database and did a new install ok. I would prefer to retain the data for an upgrade. Otherwise it's like starting all over. icon_frown

    Any help is appreciated.

    Cliff
  • Posted: 09.06.2003, 13:39
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Check the value of $pconfig['encoded'] in config.php. 1 means that the DB username and password are base 64 encoded; 0 means these fields are plain text.

    -Mark
  • Posted: 09.06.2003, 14:33
     
    besheer
    rank:
    Freshman Freshman
    registered:
     November 2002
    Status:
    offline
    last visit:
    10.06.03
    Posts:
    30
    I am getting the same error message. I looked in config.php and the info is NOT copied in there from pn7config.php like the documentation says. It still has the default info. Another thing I noticed is that when you click the PN version right before the upgrade step, it immediately goes to the next screen that says the installation is finished. It seems like it isn't doing anything. Just skipping to the next screen. I am not even going to bother changing the username/dbname/pass in config.php because I don't think the rest of the process was completed successfully either. icon_rolleyes
  • Posted: 10.06.2003, 10:18
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    The reply and info from Besheer, is exactly my status as well. I looked at the config.php file, but do not know what to do to fix it.

    Quote

    Check the value of $pconfig['encoded'] in config.php. 1 means that the DB username and password are base 64 encoded; 0 means these fields are plain text.

    -Mark


    Should I edit the config files for the correct dbusername, dbpass, dbname? When I look at the pn7config.php file, the dbuname and the dbpass has coded characters instead of straight text.

    I hope someone can help us.


    Thanks,
    Cliff
  • Posted: 10.06.2003, 11:20
     
    besheer
    rank:
    Freshman Freshman
    registered:
     November 2002
    Status:
    offline
    last visit:
    10.06.03
    Posts:
    30
    Cliff, there are tools out there on some websites that will convert the text to coded strings. You can use one of those if you don't want to use regular text. I can't remember the URLs. It's definitely safer that way. I actually ended up changing the info in the config file and got some more errors from the custom theme I was running so I just had to work on the theme files for a while until I got it running. What a pain in the ass :(
  • Posted: 10.06.2003, 23:50
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    Besheer,

    Did you change the oldconfig.php file also? It doesn't matter if I use the text or coded. My site has been down for two weeks trying to figure this out.

    Cliff
  • Posted: 10.06.2003, 23:56
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    change the coded to 0, and then fill them in plain text, i suggest you change both files. Then to re-encode the username and password, you can use the PostNuke Swiss Army Knife (link in my signature).


    hope this helps

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 11.06.2003, 01:17
     
    besheer
    rank:
    Freshman Freshman
    registered:
     November 2002
    Status:
    offline
    last visit:
    10.06.03
    Posts:
    30
    Cliff, I didn't mess with oldconfig at all.
  • Posted: 12.06.2003, 04:48
     
    cuyeda
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    05.09.06
    Posts:
    28
    A big THANK YOU! to everyone that made comments on this thread. Changing the coded to "0", and reentering the username and pass in the config, oldconfig, pn7config files did the trick. I don' know if just the main config file, or all three were required, but this did the trick.

    I appreciate the help and support, again THANK YOU!

    Cliff

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula