Hello,
I have made some changes to my database and templates, and now, I can't modify links anymore! I am getting the following Error message when trying to modify a link:
ERROR:
Can't locate object method "Contact" via package "Name" (perhaps you forgot to load "Name"?) at /cgi-bin/admin/Links/User/Modify.pm line 365.
MODIFY.PM: Line 365+
# Backward compatibility..
my $name = $args->{Contact_Name} || $args->{Contact Name} || ($USER ? $USER->{Name} : '');
my $email = $args->{Contact_Email} || $args->{Contact Email} || ($USER ? $USER->{Email} : '');
$new->{Contact_Name} = $name;
$new->{Contact_Email} = $email;
OTHER FACTS:
- my Links table still has a Contact_Name and a Contact_Email column
- my Links table has Contact_Name2 and Contact_Email2 (added by me)
- my User table still has Name and Email columns
Please help if you can. Thanks!
I have made some changes to my database and templates, and now, I can't modify links anymore! I am getting the following Error message when trying to modify a link:
ERROR:
Can't locate object method "Contact" via package "Name" (perhaps you forgot to load "Name"?) at /cgi-bin/admin/Links/User/Modify.pm line 365.
MODIFY.PM: Line 365+
# Backward compatibility..
my $name = $args->{Contact_Name} || $args->{Contact Name} || ($USER ? $USER->{Name} : '');
my $email = $args->{Contact_Email} || $args->{Contact Email} || ($USER ? $USER->{Email} : '');
$new->{Contact_Name} = $name;
$new->{Contact_Email} = $email;
OTHER FACTS:
- my Links table still has a Contact_Name and a Contact_Email column
- my Links table has Contact_Name2 and Contact_Email2 (added by me)
- my User table still has Name and Email columns
Please help if you can. Thanks!