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

Dizkus

Goto page: 1 - 2 [+1]

Bottom
.75 to .76 cannot connect to database error
  • Posted: 23.08.2005, 15:20
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39
    I run on a rackspace virtual server
    I have .75 running fine.
    I loaded a new copy in a new place on same server, created a new database manually (I run on plesk and it sucks for that). I spit the data from the 75 out and sucked it into the new database. Now they run seperately in different directrories.

    I try to run it and get cannot connect to database. The config.php looks good, the mysql looks right. I go to the index.php?whateveradmin that was in the docs, and still no connection to database.

    Funny thing is I cant get it to run even as a fresh install. So I wonder how plesk makes the SQL database. I set the prime user when I do it manually so it should work. And I got it to work on another site (different domain though) as original install. I should probably test that one with the data from this other domain.

    So, what do you think?

    http://www.onlinetv.com/nuke running 75
    http://www.onlinetv.com/live dying on 76
  • Posted: 23.08.2005, 15:55
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    You've almost certainly got a problem with the values in config.php (possibly the encoded flag?).

    -Mark
  • Posted: 23.08.2005, 16:58
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39

    markwest

    You've almost certainly got a problem with the values in config.php (possibly the encoded flag?).

    -Mark


    $pnconfig['system'] = '0';
    $pnconfig['prefix'] = 'PN';
    $pnconfig['encoded'] = '1';
    $pnconfig['pconnect'] = '0';
    $pnconfig['temp'] = 'pnTemp';

    I took the config.php from the running site and just altered the database name to the one I created and populated with the running site data (I dumped it after I changed the default to lite and saved it that way) The database is there, and I have made several dupes.

    I am running on PLESK. I did take a shell, uploaded the gzip and did it that way, very nice very fast, but still no change. I too think it may just be some stupid thing in the config file. It is the old one just the one variable changes.
  • Posted: 23.08.2005, 17:21
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    1. do you use plain text values for username and password (in this case set encoded=0)?
    2. can you access the database with e.g. phpMyAdmin?

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 23.08.2005, 17:32
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39

    larsneo

    1. do you use plain text values for username and password (in this case set encoded=0)?
    2. can you access the database with e.g. phpMyAdmin?


    ok, now I got in, but get a horrible ability not to login and no menus. It is picking up some of the stuff, but not all. I get the stories popping up on main page no login menu etc. when I put the
    index.php?module=Modules&type=admin

    I get header footer and that I do not have permission to get to it.
  • Posted: 23.08.2005, 17:35
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720

    onlinetv

    ok, now I got in, but get a horrible ability not to login and no menus.


    Please read the documentation supplied in manual.txt.

    -Mark
  • Posted: 23.08.2005, 17:56
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39

    markwest

    onlinetv

    ok, now I got in, but get a horrible ability not to login and no menus.


    Please read the documentation supplied in manual.txt.

    -Mark


    Marfk I am living this document.

    I think I have done it all, what have I missed, I installed on the server. I am going now to the shell to see if I can do the access, but is there some direction you think I missed here? Hardest is to NOT do the steps for the lower versions. I know I have to initialize the admin stuff, but how to get there other than the URL you supplied. Ahh, well I continue to read it over and over.
  • Posted: 23.08.2005, 18:00
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    With the information you've provided it's not possible to say what steps you've missed. In short make sure that you've upgraded/activated each module and also initialise/activate the header_footer module.

    -Mark
  • Posted: 23.08.2005, 18:21
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39

    markwest

    With the information you've provided it's not possible to say what steps you've missed. In short make sure that you've upgraded/activated each module and also initialise/activate the header_footer module.

    -Mark


    Maybe you have itthere. Mark, when I went to make sure about all the modules, I could not find anything about header/footer. I assumed (the big ass word) that meant to copy all the header footer info in settings. I cant find a headerfooter module to initialize. I will do the install again though, it is getting so fast now. From 4 hours to less than 1 now. I will go back and look for that footermod.
  • Posted: 23.08.2005, 18:32
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39
    where is a header footer module to be found?

    --
    OnlineTV |MusicTV |MovieTV
  • Posted: 23.08.2005, 18:36
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Like any module you'll find it in the modules admin panel.....

    -Mark
  • Posted: 23.08.2005, 18:48
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39
    it is not in my 7.5 modules dir, I cannot find it anywhere. Is there a place to download it? The Plesk installs the program and there is no such module there. it says it is 0.750 but I am not sure with Plesk, they mess with installs a lot.

    --
    OnlineTV |MusicTV |MovieTV
  • Posted: 23.08.2005, 18:52
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720

    onlinetv

    it is not in my 7.5 modules dir, I cannot find it anywhere. Is there a place to download it?

    No it won't be.... This module is new with .760 - it takes care of the page display (header and footer) for non Xanthia themes.

    -Mark
  • Posted: 23.08.2005, 18:54
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39
    But if I cant get in to admin the thing, how can I initialize and do this stuff? I am now totally lost.

    --
    OnlineTV |MusicTV |MovieTV
  • Posted: 23.08.2005, 19:10
     
    onlinetv
    rank:
    Freshman Freshman
    registered:
     August 2005
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    39
    I think you are assuming I can get in to initialize and I cannot. I would be so happy to do so.

    --
    OnlineTV |MusicTV |MovieTV

Goto page: 1 - 2 [+1]

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula