Gossamer Forum
Home : Products : Gossamer Links : Discussions :

problem with build html...

Quote Reply
problem with build html...
I can`t build html pages, have many errors:

Content-type: text/html

Code:
Content-type: text/html

<p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occured:</font></p><blockquote><pre>Can't call method "fetchrow_hashref" on an undefined value at /home/galagan/domains/pautina.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 607.
</pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Please enable debugging in setup for more details.</font></p>
Can't call method "fetchrow_hashref" on an undefined value at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 607.
[galagan@directhosting galagan]$



and with enable dubuggin

Code:

<p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occured:</font></p><blockquote><pre>Can't call method "fetchrow_hashref" on an undefined value at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 607.
</pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Please enable debugging in setup for more details.</font></p>
<pre><b>Stack Trace</b>
======================================
Links (21871): Links::environment called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links.pm line 712 with no arguments.
Links (21871): Links::fatal called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 607 with arguments
(Can't call method "fetchrow_hashref" on an undefined value at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 607.
).
Links (21871): Links::Table::Category::_as_url called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 597 with arguments
(Links::Table::Category=HASH(0x85cc964), Ѕизнес, Ёкономика/јналитические материалы/јнализ компьютерного рынка, [undef]).
Links (21871): Links::Table::Category::__ANON__ called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/GT/Plugins.pm line 133 with arguments
(Ѕизнес, Ёкономика/јналитические материалы/јнализ компьютерного рынка, [undef]).
Links (21871): GT::Plugins::dispatch called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 597 with arguments
(GT::Plugins=HASH(0x8383320), category_as_url, CODE(0x885cc34), Ѕизнес, Ёкономика/јналитические материалы/јнализ компьютерного рынка, [undef]).
Links (21871): Links::Table::Category::as_url called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/nph-build.cgi line 604 with arguments
(Links::Table::Category=HASH(0x85cc964), Ѕизнес, Ёкономика/јналитические материалы/јнализ компьютерного рынка).
Links (21871): main::_build_category called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/GT/Plugins.pm line 133 with arguments
(HASH(0x8383230)).
Links (21871): GT::Plugins::dispatch called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/nph-build.cgi line 103 with arguments
(GT::Plugins=HASH(0x8383320), create_category, CODE(0x835e0b8), HASH(0x8383230)).
Links (21871): main::build_all called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/nph-build.cgi line 62 with no arguments.
Links (21871): main::main called at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/nph-build.cgi line 42 with no arguments.

<b>System Information</b>
======================================
Current user: galagan (506)
Perl version: 5.8.3
Gossamer Links version: 3.1.0
GT::SQL version: 1.111
GT::Template version: 2.151
DBI.pm Version: 1.48
Running under mod_perl: No
Running under SpeedyCGI: No
@INC =
/home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin
/usr/local/lib/perl5/5.8.3/i686-linux
/usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/i686-linux
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/site_perl
.
GT::SQL::error = Failed to execute query: 'SELECT * FROM links_Category WHERE Full_Name = ?': MySQL server has gone away
$!: Inappropriate ioctl for device

<b>Environment</b>
======================================
GT_TMPDIR => /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/tmp
G_BROKEN_FILENAMES => 1
HISTSIZE => 1000
HOME => /home/galagan
HOSTNAME => xxx.com
INPUTRC => /etc/inputrc
LANG => en_US.UTF-8
LESSOPEN => |/usr/bin/lesspipe.sh %s
LOGNAME => galagan
LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL => /var/spool/mail/galagan
PATH => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/galagan/bin
PWD => /home/galagan
SHELL => /bin/bash
SHLVL => 1
SSH_ASKPASS => /usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT => 194.187.153.39 62368 22
SSH_CONNECTION => 194.187.153.39 62368 66.246.152.24 22
SSH_TTY => /dev/pts/0
TERM => vt100
USER => galagan
_ => /usr/local/bin/perl
</pre>Can't call method "fetchrow_hashref" on an undefined value at /home/galagan/domains/xxx.net/public_html/cgi-bin/links/admin/Links/Table/Category.pm line 607.




PLEASE HELP!!!

Last edited by:

halahan: May 11, 2006, 10:08 AM
Quote Reply
Re: [halahan] problem with build html... In reply to
can`t build from GLINKS 3.1.0, but from GLINKS 2.1.1 build OK... (I have two set scripts on one base and can not fully pass to the new base)
Quote Reply
Re: [halahan] problem with build html... In reply to
Quote:
GT::SQL::error = Failed to execute query: 'SELECT * FROM links_Category WHERE Full_Name = ?': MySQL server has gone away
The error is that your MySQL daemon is dying. You should figure out why.

Adrian
Quote Reply
Re: [brewt] problem with build html... In reply to
how can I find this error?
Quote Reply
Re: [halahan] problem with build html... In reply to
I start the build of all of pages from SSH, mysql server go in down... what can an error be in?

plz help!