Gossamer Forum
Home : Products : Gossamer Links : Discussions :

can't upload files

Quote Reply
can't upload files
hello I can't upload files by links-SQL plugin or fileman
I get this error from fileman:

A fatal error has occured:

Can't use string ("") as a symbol ref while "strict refs" in use at /home/ridesworld/www/cgi-bin/ridesworld/admin/GT/FileMan.pm line 1043, chunk 1.

Please enable debugging in setup for more details.

Stack Trace
======================================
Links (27528): Links::environment called at /home/ridesworld/www/cgi-bin/ridesworld/admin/Links.pm line 456 with no arguments.Links (27528): Links::fatal called at /home/ridesworld/www/cgi-bin/ridesworld/admin/GT/FileMan.pm line 1043 with arguments (Can't use string ("") as a symbol ref while "strict refs" in use at /home/ridesworld/www/cgi-bin/ridesworld/admin/GT/FileMan.pm line 1043, chunk 1.
).Links (27528): GT::FileMan::upload called at /home/ridesworld/www/cgi-bin/ridesworld/admin/GT/FileMan.pm line 379 with arguments (GT::FileMan=HASH(0x81cf930), /home/www/ridesworld/, , globalslist.txt, 10000000).Links (27528): GT::FileMan::process called at admin.cgi line 135 with arguments (GT::FileMan=HASH(0x81cf930)).Links (27528): main::fileman called at admin.cgi line 43 with no arguments.Links (27528): main::main called at admin.cgi line 24 with no arguments.

System Information
======================================
Perl Version: 5.00404
Links SQL Version: 2.0.2
Persistant Env: mod_perl (0) SpeedyCGI (0) Config (0)
@INC =
/home/ridesworld/www/cgi-bin/ridesworld/admin
/usr/lib/perl5/i386-linux/5.00404
/usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl
.

CGI INPUT
======================================
action => upload
data =>
do => fileman
fn => globalslist.txt
wd =>


CGI Cookies
======================================
Username => pugdog


ENVIRONMENT
======================================
AUTH_TYPE => Basic
CONTENT_LENGTH => 570
CONTENT_TYPE => multipart/form-data; boundary=---------------------------7d1a02ca24
DOCUMENT_ROOT => /www/ridesworld
GATEWAY_INTERFACE => CGI/1.1
GT_TMPDIR => /home/ridesworld/www/cgi-bin/ridesworld/admin/tmp
HTTP_ACCEPT => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING => gzip, deflate
HTTP_ACCEPT_LANGUAGE => nl
HTTP_AUTHORIZATION => Basic cmlkZXN3b3JsZDplcmljMjIyMg==
HTTP_CONNECTION => Keep-Alive
HTTP_COOKIE => Username=ericho; Username=pugdog
HTTP_HOST => www.ridesworld.com
HTTP_REFERER => http://www.ridesworld.com/cgi-bin/ridesworld/admin/admin.cgi?do=fileman
HTTP_USER_AGENT => Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH => /usr/local/bin:/usr/bin:/bin
QUERY_STRING =>
REMOTE_ADDR => 212.120.99.237
REMOTE_PORT => 1125
REMOTE_USER => ridesworld
REQUEST_METHOD => POST
SCRIPT_FILENAME => /www/ridesworld/cgi-bin/ridesworld/admin/admin.cgi
SCRIPT_NAME => /cgi-bin/ridesworld/admin/admin.cgi
SERVER_ADMIN => webmaster@ridesworld.com
SERVER_NAME => www.ridesworld.com
SERVER_PORT => 80
SERVER_PROTOCOL => HTTP/1.1
SERVER_SOFTWARE => Apache/1.3.4 (Unix) FrontPage/4.0.4.3 PHP/3.0.14

and internal server error when I upload a plugin from plugin section.

Can you help me, this is very urgent!!!

Quote Reply
Re: can't upload files In reply to
Hi,

I'll have to investigate this one when I get back.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: can't upload files In reply to
>> CGI Cookies
>> ======================================
>> Username => pugdog

Why am I in your cookie??

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: can't upload files In reply to
I really don't know, I check the registered users

Quote Reply
Re: can't upload files In reply to
Hello Alex
I have the Fileman work properly now, by deleting the tmp folder.
How is it possible that it can't work with an empty tmp folder in the admin section????