how to test test.php

24 views
Skip to first unread message

lisp...@gmail.com

unread,
Sep 27, 2010, 8:10:05 AM9/27/10
to Lisphp
This is error message when calling test.php via web browser

Fatal error: Uncaught exception 'InvalidArgumentException' with
message 'too few arguments' in /var/www/xe/lisphp/Lisphp/Runtime/
Function.php:38 Stack trace: #0 /var/www/xe/lisphp/Lisphp/Runtime/
Function.php(31): Lisphp_Runtime_Function->execute(Array) #1 /var/www/
xe/lisphp/Lisphp/List.php(17): Lisphp_Runtime_Function-
>apply(Object(Lisphp_Scope), Object(Lisphp_List)) #2 /var/www/xe/
lisphp/Lisphp/List.php(8): Lisphp_List->evaluate(Object(Lisphp_Scope))
#3 /var/www/xe/lisphp/Lisphp/Runtime/Function.php(44): Lisphp_List-
>evaluate(Object(Lisphp_Scope)) #4 /var/www/xe/lisphp/Lisphp/Runtime/
Function.php(31): Lisphp_Runtime_Function->execute(Array) #5 /var/www/
xe/lisphp/Lisphp/List.php(17): Lisphp_Runtime_Function-
>apply(Object(Lisphp_Scope), Object(Lisphp_List)) #6 /var/www/xe/
lisphp/Lisphp/Runtime/Function.php(29): Lisphp_List-
>evaluate(Object(Lisphp_Scope)) #7 /var/www/xe/lisphp/Lisphp/
List.php(17): Lisphp_Runtime_Function->apply(Object(Lisphp_Scope),
Object(Lisphp_List)) #8 /var/www/xe/lisphp/Lisphp/Runtime/
Function.php(44):


how to define argumets??

Hong Minhee

unread,
Sep 27, 2010, 1:15:39 PM9/27/10
to lis...@googlegroups.com
The error message you pasted seems to be broken. Can you show your
full error message? (Use pastebin services e.g. pastie.org.)

--
야간개발팀 Lunant
http://lunant.com/
洪民憙 Hong Minhee
http://dahlia.kr/

lisp...@gmail.com

unread,
Sep 27, 2010, 9:53:09 PM9/27/10
to Lisphp
http://archi.ssu.ac.kr/lisphp/test.php


Fatal error: Uncaught exception 'InvalidArgumentException' with
message 'too few arguments' in /var/www/xe/lisphp/Lisphp/Runtime/
Function.php:38 Stack trace: #0 /var/www/xe/lisphp/Lisphp/Runtime/
Function.php(31): Lisphp_Runtime_Function->execute(Array) #1 /var/www/
xe/lisphp/Lisphp/List.php(17): Lisphp_Runtime_Function-
>apply(Object(Lisphp_Scope), Object(Lisphp_List)) #2 /var/www/xe/
lisphp/Lisphp/List.php(8): Lisphp_List->evaluate(Object(Lisphp_Scope))
#3 /var/www/xe/lisphp/Lisphp/Runtime/Function.php(44): Lisphp_List-
>evaluate(Object(Lisphp_Scope)) #4 /var/www/xe/lisphp/Lisphp/Runtime/
Function.php(31): Lisphp_Runtime_Function->execute(Array) #5 /var/www/
xe/lisphp/Lisphp/List.php(17): Lisphp_Runtime_Function-
>apply(Object(Lisphp_Scope), Object(Lisphp_List)) #6 /var/www/xe/
lisphp/Lisphp/Runtime/Function.php(29): Lisphp_List-
>evaluate(Object(Lisphp_Scope)) #7 /var/www/xe/lisphp/Lisphp/
List.php(17): Lisphp_Runtime_Function->apply(Object(Lisphp_Scope),
Object(Lisphp_List)) #8 /var/www/xe/lisphp/Lisphp/Runtime/
Function.php(44): in /var/www/xe/lisphp/Lisphp/Runtime/Function.php on
line 38


thank you for your attention.

maybe environment problem.

anyway, please answer me. Thx~~
> 洪民憙 Hong Minheehttp://dahlia.kr/- 원본 텍스트 숨기기 -
>
> - 원본 텍스트 보기 -

Hong Minhee

unread,
Sep 28, 2010, 12:29:24 AM9/28/10
to lis...@googlegroups.com
Is your test.php is the same thing of as test.php which is contained
in distributed Lisphp source? [1]

It works for me now (I’m using PHP 5.3.2) and the error message you
show me seems unrelated to test.php in the distribution.

Let me know what is your current environment e.g. PHP version.

[1] http://github.com/lunant/lisphp/blob/master/test.php

--

lisp...@gmail.com

unread,
Oct 18, 2010, 6:40:22 AM10/18/10
to Lisphp
I upgraded my PHP.
So, It works.
Please write environment for another users at release site.
Well,.. one more, how to read 'lisphp'?
just [lispieichipi] ? ^.^''
> >> 洪民憙 Hong Minheehttp://dahlia.kr/-원본 텍스트 숨기기 -

Hong Minhee

unread,
Oct 18, 2010, 7:41:02 AM10/18/10
to lis...@googlegroups.com
I updated the README file to mention its requirements.

You can pronounce Lisphp as you want. Frankly I don’t know how to pronounce it either, but just pronounce it as you do.

야간개발팀 Lunant

Reply all
Reply to author
Forward
0 new messages