From: Michael W. M. <mwm...@of...> - 2002-01-07 18:59:26
|
I'm not sure if anyone has answered this problem but you may need to go into your cookies directory on the machine you are trying to view the page on, shut down and restart the browser, and attempt to view the page again. you may be trying to view the page using a cookie from phpnuke 4.4 or even 3.5. ------- Mike jg...@fl... writes: > I've recently inherited a really old site which runs php-nuke 3.5. At > least I think it's 3.5. I applied the upgrade scripts from php-nuke to > get it up to 4.4. This took a little hacking because they had syntax > errors but I believe I got it to work. I then did the post-nuke install > and used the upgrade option for php-nuke 4.4. > > Here's the ouput from my upgrade: > > Table faqaategories is already as it should be. > No need to rename itTable faqcategories is already as it should be. > No need to rename itConverting old-style button blocks...Done converting > old-style button blocks > > * Updating table: autonews... Skipped! > * Updating table: blocks... Skipped! > * Updating table: ephem... Skipped! > * Updating table: faqcategories... Skipped! > * Updating table: message... Skipped! > * Updating table: poll_desc... Skipped! > * Updating table: queue... Skipped! > * Updating table: reviews... Skipped! > * Updating table: reviews_add... Skipped! > * Updating table: seccont... Skipped! > * Updating table: stories... Skipped! > > Stories Authors Updated > > > Migrated Admins to User Table > > * > Write error* unable to update your "config.php" file > You will have to modify this file yourself using a text editor. > Here are the changes required: > $pnconfig['dbtype'] = 'mysql'; > $pnconfig['dbhost'] = 'localhost'; > $pnconfig['dbuname'] = 'my_user'; > $pnconfig['dbpass'] = 'xxxxxxxxxx' > $pnconfig['dbname'] = 'nuke'; > $pnconfig['prefix'] = 'my_prefix'; > Finished -- Your upgrade to the latest version of PostNuke is finished. > Remember to change your config.php settings before using for the first > time. > > The above error I was believe due to file ownership issues. I hand edited > the files with the appropiate information. When I went to my site I > recieved the following errors: > > > > *Warning*: Invalid argument supplied for foreach() in > */var/www/Rogue_Seven_Oh_Two/html/includes/security.php* on line * 359* > > *Warning*: Invalid argument supplied for foreach() in > */var/www/Rogue_Seven_Oh_Two/html/includes/security.php* on line *359* > > *Warning*: Cannot add header information - headers already sent by (output > started at /var/www/Rogue_Seven_Oh_Two/html/includes/security.php:359) in > */var/www/Rogue_Seven_Oh_Two/html/mainfile2.php* on line *164 > ** > This error is a result of the above I believe: > Fatal error*: Call to a member function on a non-object in > */var/www/Rogue_Seven_Oh_Two/html/mainfile2.php* on line *264* > > > > Line 359 of security.php puts me in this function: > > function getLevel($perms, $testrealm, $testcomponent, $testinstance) > { > $level = ACCESS_INVALID; > > // If we get a test component or instance purely consisting of ':' signs > // then it counts as blank > $testcomponent = preg_replace('/^:*$/', '', $testcomponent); > $testinstance = preg_replace('/^:*$/', '', $testinstance); > > foreach ($perms as $perm) { // <-- Line 359 > > > I'm posting this to see if this has happened to anyone else or if anyone > knows of a quick fix. I'm still trying to track down the source of the > error. BTW, great work on postnuke, especially the theme management! > > TIA, > Jesse > * > > * > > > > > > > _______________________________________________ > Post-nuke-users mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/post-nuke-users Michael W. Mistak mwm...@of... AIM Screenname: mwmistak cell: 734-673-6194 ================================================================ President, Western Wayne County Young Democrats ---------------------------------------------------------------- Communications Director, Michigan Young Democrats * http://www.mi-youngdems.org ---------------------------------------------------------------- Webmaster, The MDP Youth Caucus/College Democrats of Michigan * http://www.youthcaucus.org * http://www.mi-collegedems.com (Coming Soon) ---------------------------------------------------------------- Webmaster, The Justice Caucus * http://www.justicecaucus.org ---------------------------------------------------------------- Webmaster, The Wayne County 11th District Democratic Committee * http://www.wayne11dems.org ---------------------------------------------------------------- Webmaster, The 13th Congressional District Democratic Org. * http://www.13thdistrictdems.org ================================================================ |