Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Upgrade Errors: site is down, please help..

Quote Reply
Upgrade Errors: site is down, please help..
Hello

just upgraded from version 2.2 to version 3.01..

the upgrade gave an error message after half the way through..

Error
An error occured:
No parent category found for Beliefs And Practices/Pillars Of Islam//Fasting And Ramadan! Your Category table is corrupted. at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/Upgrade.pm line 161.



then when I tried to access the admin area..the version is still 2.2
and rebuild tables results in the following error:

Updating new flags...

A fatal error has occured:
Can't call method "parent_ids" on an undefined value at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/Table/Category.pm line 460.

Please enable debugging in setup for more details.


Then when I tried to access the site itself I am getting:


A fatal error has occured:
Can't call method "child_ids" on an undefined value at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/Table/Category.pm line 486.

Please enable debugging in setup for more details.Stack Trace ====================================== Links (31084): Links::environment called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links.pm line 712 with no arguments. Links (31084): Links::fatal called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/Table/Category.pm line 486 with arguments (Can't call method "child_ids" on an undefined value at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/Table/Category.pm line 486. ). Links (31084): Links::Table::Category::children called at (eval 33) line 7 with arguments (Links::Table::Category=HASH(0x9dbc900), 36050). Links (31084): Links::__ANON__ called at GT::Template::_call_func line 766 with arguments (36050, 1). Links (31084): GT::Template::_call_func called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/templates/default/compiled/home.html.compiled line 678 with arguments (GT::Template=HASH(0x9ff2a50), cat_random_link, 1, 36050, 1). Links (31084): GT::Template::parsed_template called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/GT/Template.pm line 552 with arguments (GT::Template=HASH(0x9ff2a50)). Links (31084): GT::Template::_parse called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/GT/Template.pm line 145 with arguments (GT::Template=HASH(0x9ff2a50), home.html, HASH(0x9fef648)). Links (31084): GT::Template::parse called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links.pm line 445 with arguments (GT::Template, home.html, ARRAY(0x9f1fa80), HASH(0x9fef648)). Links (31084): Links::user_page called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/SiteHTML.pm line 303 with arguments (home.html, HASH(0x9ff0f88), HASH(0x9fef648)). Links (31084): Links::SiteHTML::__ANON__ called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/GT/Plugins.pm line 133 with arguments (HASH(0x9ff0f88), [undef]). Links (31084): GT::Plugins::dispatch called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/SiteHTML.pm line 27 with arguments (GT::Plugins=HASH(0x9b44aa0), site_html_home, CODE(0x9fef594), HASH(0x9ff0f88), [undef]). Links (31084): Links::SiteHTML::display called at Links::Build::build_home line 60 with arguments (home, HASH(0x9ff0f88)). Links (31084): Links::Build::build_home called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/GT/Plugins.pm line 133 with arguments (HASH(0x9c60110)). Links (31084): GT::Plugins::dispatch called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/Build.pm line 30 with arguments (GT::Plugins=HASH(0x9b44aa0), build_home, CODE(0x9c60188), HASH(0x9c60110)). Links (31084): Links::Build::build called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/User/Page.pm line 81 with arguments (home, HASH(0x9c60110)). Links (31084): Links::User::Page::generate_home_page called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/GT/Plugins.pm line 133 with arguments (HASH(0x9c60fd8)). Links (31084): GT::Plugins::dispatch called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/Links/User/Page.pm line 53 with arguments (GT::Plugins=HASH(0x9b44aa0), generate_home, CODE(0x9b00754), HASH(0x9c60fd8)). Links (31084): Links::User::Page::handle called at /home/virtual/site1/fst/var/www/cgi-bin/links/admin/GT/Plugins.pm line 127 with no arguments. Links (31084): GT::Plugins::dispatch called at page.cgi line 26 with arguments (GT::Plugins=HASH(0x9b44aa0), handle_page, CODE(0x9936848)). System Information ====================================== Current user: admin1 (502) Perl version: 5.8.1 Gossamer Links version: 3.1.0 GT::SQL version: 1.111 GT::Template version: 2.151 DBI.pm Version: 1.37 Running under mod_perl: No Running under SpeedyCGI: No @INC = /home/virtual/site1/fst/var/www/cgi-bin/links/admin /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . GT::SQL::error = No tree object exists for table 'links_Category'. Create a tree first with $editor->add_tree Any one from can help?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory

Last edited by:

katabd: Mar 8, 2006, 9:01 PM
Quote Reply
Re: [katabd] pgrade Errors: site is down, please help.. In reply to
You need to fix your category table so that the category "Beliefs And Practices/Pillars Of Islam" exists. The category Full_Name also looks like it could be incorrect (it has two //'s). Once you correct these problems, re-run the upgrade. You might need to this several times to fix the broken categories.

Adrian