List Info

Thread: can not add resouce




can not add resouce
user name
2006-12-11 12:50:24
Hello.

I tried add classfied resource .
But , I can not add resource .
It was displayed [DB error : syntax error] when I add
classfied resource.
I found some errors in gnuedu.php .

gnuedu.php line 1736

if ($this -> auth) $this -> updates[] =
sprintf("insert into resource values('', '%2.2s', '%s',
'%3.3s', '%3.3s', '%s', '%s', '%s', '%s', '%s', '%s',
'%1.1s', '%s', '', '%s', '%s', '%s', '%s', '%s', %s, %s,
NULL, NULL, NOW(), NOW())",
$res_lang, $res_title, $r_audience, $r_subject,
normalize_cut($r_description, 1023),
normalize_cut($r_format, 15), normalize_cut($r_filesize,
15), normalize_cut($r_software, 15),
normalize_cut($r_interactivity, 10),
normalize_cut($r_lrestype, 12), $r_difficulty,
normalize_cut($r_annotation, 1023),
normalize_url($r_url_document),
normalize_url($r_url_source), normalize_cut($r_version, 15),
normalize_cut($r_status, 11), normalize_cut($r_license, 15),
$r_id_author, $r_id_last_editor);

The number of elements of [resource values] is 25.
But , the number of elements of [$res & $r] is 18.

And I checked apache error.log .
It was written [[client 127.0.0.1] File does not exist:
/usr/local/apache/htdocs/gnuedu/access.css] when I added a
classfied resource.

How repair these error?
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )