| Topic: | Installation problemo |
|---|---|
|
hugeknot
Freshman
Posts: 17 Posted: |
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! |
|
gerkynet
Helper
Posts: 257 Posted: |
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). -- |
|
hugeknot
Freshman
Posts: 17 Posted: |
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 |
|
gerkynet
Helper
Posts: 257 Posted: |
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) -- |
|
hugeknot
Freshman
Posts: 17 Posted: |
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. |
|
Simon
online Steering Committee
Posts: 13427 Posted: |
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 |
|
hugeknot
Freshman
Posts: 17 Posted: |
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 |
|
Teb
Professional
Posts: 501 Posted: |
This post is also a follow up on http://community.postnuke.com/module-Forum-viewtopic-topic-50095.htm#pid212528hugeknotI downloaded the most recent stable version and uploaded in ASCII via my ftp hugeknotThen went back to the instal.php which gave me this message: This means that permissions on /test/postnuke/html/ are wrong, they should be (at least) 755. hugeknotwhen 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:
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 Zikula Community Support questions in a Personal Message will be ignored. Use the forums at all times! |
|
hugeknot
Freshman
Posts: 17 Posted: |
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 |
|
rixride
Professional
Posts: 796 Posted: |
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 |
|
hugeknot
Freshman
Posts: 17 Posted: |
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 |