Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Error when adding category

Quote Reply
Error when adding category
Hi!

Links seem to be a very good script, but it doesn`t work on my Win95 system! When the Links 2.0 Administration Menu comes up and I want to add a new category (1 step in the readme.txt) the following msg is displayed:

Category Database: Add a New Category
Add a New Category

CGI ERROR
==========================================
Error Message : fatal error: flock() unimplemented on this platform at m:/daten/bogi_homepage/server/links/cgi-bin/admin/db_utils.pl line 57.

Script Location : m:/daten/bogi_homepage/server/links/cgi-bin/admin/admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
add_form : 1
db : category

Environment Variables
-------------------------------------------
COMSPEC : C:\WINDOWS\COMMAND.COM
DOCUMENT_ROOT : m:/daten/bogi_homepage/server/
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: de-at
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : localhost
HTTP_REFERER : http://localhost/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.01; Windows 95; QXW0332i)
PATH : C:\Programme\Apache;Z:\PUBLIC;C:\PROGRA~1\PERL\BIN;C:\NOVELL\CLIENT32;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS
QUERY_STRING : db=category&add_form=1
REMOTE_ADDR : 127.0.0.1
REMOTE_PORT : 1184
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/admin/admin.cgi?db=category&add_form=1
SCRIPT_FILENAME : m:/daten/bogi_homepage/server/links/cgi-bin/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/admin/admin.cgi
SERVER_ADDR : 127.0.0.1
SERVER_ADMIN : admin@ssb.at
SERVER_NAME : pc13.ssb.asn-linz.ac.at
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE : Apache/1.3.12 Server at pc13.ssb.asn-linz.ac.at Port 80

SERVER_SOFTWARE : Apache/1.3.12 (Win32)
WINDIR : C:\WINDOWS

Please help! Thx in advance!
Quote Reply
Re: Error when adding category In reply to
Uh...LINKS does work in Windows 95...The problem is that Windows 95 cannot flock files. So, you need to simply turn off the $db_use_flock variable, like the following:

Code:
$db_use_flock = 0;

in the links.cfg file.

Regards.

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Error when adding category In reply to
This may seem to be a duplicat of my previous post, but that is the same problem I am having on a win 98 system running apache. I tried turnimg flock off to no avail....any suggestions?

Thanks
Ian Galloway