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

Dizkus

Bottom
Installation problemo
  • Posted: 25.08.2006, 22:43
     
    hugeknot
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    28.08.06
    Posts:
    17
    Hi
    I recently installed PostNuke to my site throught my cPannel.
    When I tried to access my admin I got and error message:
    Fatal error: call to undefined function: themeheader() in /home2/hugeknot/public_html/postnuke/header.php on line 42
    Then I uploaded the Swiss Army Knife and it gave me this message when I tried to revert to a working theme:
    Database Error 1146 Occurred -- Table 'hugeknot_pn1.pn_module_vars' doesn't exist

    I really havn't got a clue what is going on!! But I don't think this is right!
  • Posted: 25.08.2006, 23:10
     
    gerkynet
    rank:
    Helper Helper
    registered:
     February 2006
    Status:
    offline
    last visit:
    21.11.06
    Posts:
    257
    Before use the PSAK always do a backup.

    I think that you delete some tables, the best thing is install it again (or a backup copy).

    --
  • Posted: 26.08.2006, 07:04
     
    hugeknot
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    28.08.06
    Posts:
    17
    Thanks Gerkynet
    Is there anyone who knows anything about this?
    I have wasted two days on these forums! I have tried many things, but nothing is working!
    I have uninstalled - re-installed
    Communicated with my webhost
    Visited many forums topics with the same problem - some I understood!
    Uploaded an ebook - which didn't navigate properly

    Help!
    Hugeknot
  • Posted: 26.08.2006, 09:59
     
    gerkynet
    rank:
    Helper Helper
    registered:
     February 2006
    Status:
    offline
    last visit:
    21.11.06
    Posts:
    257
    I'm telling you,

    You delete the module_vars table, the only way is restore it from a backup, or re-install.
    PostNuke is not going to work without this table.

    (if you haven't backup there other possible solution: make a new install as the one that you have right now, but in a test server, and copy this table from the new installation to the broken one)



    --
  • Posted: 27.08.2006, 00:37
     
    hugeknot
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    28.08.06
    Posts:
    17
    Help!
    "I think that you delete some tables" (lucky I didn't do this!)
    If I delete the module_vars table, and then - PostNuke is not going to work without this table.
    Sorry but this makes no sense!
    It sounds like you know a bit about this, but I can't make sense of your writing!

    I have tried installation of the latest release, but no database was created due to problems with my admin password. I ran Swiss Army Knife, and this advised me to change a few lines in the config.php. This didn't seem to help!
    I am wondering if I can do the same thing with phpnuke? or Drupal?
    Obviously PostNuke is more advanced, but I just want to be able to automatically create a database, and recieve emails when users complete a form.
  • Posted: 27.08.2006, 04:15
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    Regardless of whether you deleted it or not, the table isn't there (or your prefix in config.php is set wrong). Without this table PostNuke will not work, and the only solution is either to restore the table from a backup or reinstall PostNuke.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 27.08.2006, 08:26
     
    hugeknot
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    28.08.06
    Posts:
    17
    Thanks Simon
    I have reinstalled post nuke about seven times now
    I am doing exactly what your avatar is doing!
    Actually I have had database permission problems from all of my CMS installations.
    Time to go else where I think - I feel like I've been hit by an H-Bomb.

    Thanks and blessings
    Hugeknot
  • Posted: 28.08.2006, 16:04
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492
    This post is also a follow up on http://community.postnuke.com/module-Forum-viewtopic-topic-50095.htm#pid212528

    hugeknot

    I downloaded the most recent stable version and uploaded in ASCII via my ftp
    Why in ASCII? most ftp progs support auto, so PHP files will go up in ascii, and for example images as binary.

    hugeknot

    Then went back to the instal.php which gave me this message:
    ************************************************************
    Forbidden
    You don't have permission to access /test/postnuke/html/install.php on this server.
    ************************************************************
    This has never happened before! I think it may be a problem with my server??

    This means that permissions on /test/postnuke/html/ are wrong, they should be (at least) 755.

    hugeknot

    when I tried to open the admin.php I get a download box asking if I want to open the file or save it to disk??

    This means that PHP is not activated to parse .php files on that directory, and therefore your browser will try to show the contents of the file, asking you where to save it. You should contact your provider about this.

    We have 2 problems here: We all don't know what cPanel from your provider exactly does, which will make it hard to solve this problem. And, when trying to install your own copy, some things go wrong (either with file/dir permissions, your ftp client, and so on).

    Basically, you should:
    • upload the contents of the /html directory to your root server
    • check file permissions (everything should be 644 or 755, except config.php (666) and the 4 directories in pnTemp (777)
    • make sure your hosting provider activates PHP for you
    • get databasename, db_username and db_password information
    • check your database credentials with a tool like phpMyAdmin to see if your database exists, and if it does, make sure it is empty (so, delete all existing tables if any)
    • go to install.php and follow instructions


    All this info is in the /docs/install.txt but there are just some things you have to sort out first with your provider.

    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Posted: 28.08.2006, 20:59
     
    hugeknot
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    28.08.06
    Posts:
    17
    OK
    I have changes all the permissions - shouldn't the old_config.php also be 666?
    I have contacted my hosting provider about the PHP activation
    As I uninstalled the cPannel version, I no longer have a PN database - should I create a new one?
    I don't know where to look for my db_username and password!
    On my MySql account maintenance - I am given a PHP connection data string - should I place this somewhere?
    $dbh=mysql_connect ("localhost", "hugeknot_phpbb1", "") or die ('I cannot connect to the database because: ' . mysql_error());
    mysql_select_db ("hugeknot_phpbb1");


    I am going to try the instal.php now!
    Edit: No - still the same access problem!



    edited by: hugeknot, Aug 28, 2006 - 04:10 PM
  • Posted: 28.08.2006, 22:05
     
    rixride
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    30.04.08
    Posts:
    796
    hugeknot,
    Can you do me a favor
    Please Post your server and operation System specs
    along with PHP, mysql versions.
    The problems you are describing sound like a set up issue in your server configs not necessarily PostNuke. Although I could be wrong but I suspect you will have problems installing any PHP related web application.
    PostNuke needs:
    Linux/Windows
    Apache or Windows IIS (webserver)
    PHP installed and working right
    MYSql: A database to connect to and install the tables on.
    Do you have a phpinfo page? That will give you all the info you need. Check cpanel or phpMyAdmin, one of them should have a link to phpinfo for you.

    If you are having this many problems either your hosing up a step or your server is not correctly set up to work with php/mysql apps.

    Good Luck!







    --
    -=Rixride=-
    PbxInfo.com
    Postnuke Directory
    PbxJobs.com
    http://www.allrowlett.com
  • Posted: 28.08.2006, 23:11
     
    hugeknot
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    28.08.06
    Posts:
    17
    Well my hosting support has offered to work on the installation for me!

    They have noticed that there is a missing table and are working on the problem.

    If this fails then I will.

    Thanks again and I will keep you posted
    Hugeknot

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula