I am having some problems installing the script on our server. When I run admin.cgi I get this error.
---
Error including libraries: syntax error in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 153, next 2 tokens "my $date "
Illegal modulus of constant zero in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 154, next 2 tokens "months ="
syntax error in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 154, next 2 tokens "map {"
syntax error in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 154, next 2 tokens "qw!"
Make sure they exist, permissions are set properly, and paths are set correctly.
---
but the paths and permissions are set... I also edited the path on line 45 in admin.cgi to point to links.cfg
---
require "/usr/home/design/www/cgi-bin/links/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
---
My server info is viewable @
http://www.bgdi.com/cgi-bin/diver/perldiver.cgi
URL of the problem page:
http://www.bgdi.com/cgi-bin/links/admin/admin.cgi
Any help would be greatly appreciated, Thanks
- Mike
---
Error including libraries: syntax error in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 153, next 2 tokens "my $date "
Illegal modulus of constant zero in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 154, next 2 tokens "months ="
syntax error in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 154, next 2 tokens "map {"
syntax error in file /usr/home/design/www/cgi-bin/links/admin/links.cfg at line 154, next 2 tokens "qw!"
Make sure they exist, permissions are set properly, and paths are set correctly.
---
but the paths and permissions are set... I also edited the path on line 45 in admin.cgi to point to links.cfg
---
require "/usr/home/design/www/cgi-bin/links/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
---
My server info is viewable @
http://www.bgdi.com/cgi-bin/diver/perldiver.cgi
URL of the problem page:
http://www.bgdi.com/cgi-bin/links/admin/admin.cgi
Any help would be greatly appreciated, Thanks
- Mike