apache-asp fehler bracuhe hilfe.

Alles, was den Apache betrifft, kann hier besprochen werden.

apache-asp fehler bracuhe hilfe.

Postby ActioNGamer » 01. February 2007 06:49

HAllo,

ich habe Apache asp nach ANleitung installiert, doch wenn ich eine asp Datei öffne kommt folgender Fehler: ( url: http://www.black-morrigan.de/info.asp )


Errors Output

1. error compiling info.asp: Bareword "response" not allowed while "strict subs" in use at /var/www/web0/html/info.asp line 2. , /usr/local/share/perl/5.8.4/Apache/ASP.pm line 1465

Debug Output

1. RUN ASP (v2.59) for /var/www/web0/html/info.asp
2. GlobalASA package Apache::ASP
3. creating dbm for file /tmp/server/internal, db SDBM_File, serializer: Data::Dumper
4. creating dbm for file /tmp/server/application, db SDBM_File, serializer: Data::Dumper
5. session id from cookie: 0e71d437e5f0c378326ef29f9ee3c663
6. refreshing 0692e1bc071c67310f2337452aa3e3a0 with timeout 1170309214
7. new session id 0692e1bc071c67310f2337452aa3e3a0
8. creating state dir /tmp/06
9. creating dbm for file /tmp/06/0692e1bc071c67310f2337452aa3e3a0, db SDBM_File, serializer: Data::Dumper
10. tieing session 0692e1bc071c67310f2337452aa3e3a0
11. clearing starting session
12. forcing groups cleanup
13. testing internal time for cleanup groups
14. current_master - Checked: 1170307796; PID: 30673; ServerID: 2eef8cf25cc8ad9d; - is_master - 1
15. 1170307803.5 time is stale, is_master 1 - Checked: 1170307796; PID: 30673; ServerID: 2eef8cf25cc8ad9d;
16. is_master 1 after update 2eef8cf25cc8ad9d - 30673
17. groups - 07; 00; 0e; 06
18. group check 07, next in 2 sec
19. checking group ids -
20. group check 00, next in 9 sec
21. checking group ids -
22. group check 0e, next in 30 sec
23. checking group ids - 0e71d437e5f0c378326ef29f9ee3c663
24. resetting timeout for deletion lock on 0e71d437e5f0c378326ef29f9ee3c663
25. creating dbm for file /tmp/0e/0e71d437e5f0c378326ef29f9ee3c663, db SDBM_File, serializer: Data::Dumper
26. deleting session - files_deleted: 1; session_id: 0e71d437e5f0c378326ef29f9ee3c663;
27. group check 06, next in 12 sec
28. checking group ids - 0692e1bc071c67310f2337452aa3e3a0
29. 0692e1bc071c67310f2337452aa3e3a0 not timed out with 1170309214
30. cleanup groups - deleted: 0;
31. Application_OnEnd
32. Application_OnStart
33. Session_OnStart - session: 0692e1bc071c67310f2337452aa3e3a0;
34. updating LastSessionTimeout from 1170308126
35. parse file /var/www/web0/html/info.asp
36. parsing /var/www/web0/html/info.asp
37. start parse of data - 34
38. undefing sub Apache::ASP::__ASP__var_www_web0_html_info_aspx75cee729b6a67f0be1f2fa0cad4be1c6xINC code CODE(0x8836134)
39. compiling into package Apache::ASP subid [Apache::ASP::__ASP__var_www_web0_html_info_aspx75cee729b6a67f0be1f2fa0cad4be1c6xINC]
40. undefing sub Apache::ASP::__ASP__var_www_web0_html_info_aspx75cee729b6a67f0be1f2fa0cad4be1c6xINC code CODE(0x8836134)
41. error compiling info.asp: Bareword "response" not allowed while "strict subs" in use at /var/www/web0/html/info.asp line 2. , /usr/local/share/perl/5.8.4/Apache/ASP.pm line 1465
42. ASP Done Processing Apache::ASP=HASH(0x881ab30) - Application: Apache::ASP::Application=HASH(0x881acbc); GlobalASA: Apache::ASP::GlobalASA=HASH(0x8830b8c); Internal: Apache::ASP::State=HASH(0x8830b74); Request: Apache::ASP::Request=HASH(0x8836050); Response: Apache::ASP::Response=HASH(0x881ae90); Server: Apache::ASP::Server=HASH(0x8836158); Session: Apache::ASP::Session=HASH(0x882f6e0); app_state: 1; basename: info.asp; cleanup: ARRAY(0x88149f8); compile_checksum: 75cee729b6a67f0be1f2fa0cad4be1c6; compile_error: 1; compile_eval: SCALAR(0x8836098); compile_includes: 1; compile_perl_count: 1; cookie_domain: ; cookie_path: /; dbg: 3; debugs_output: ARRAY(0x882f620); destroy: 1; dir_config: APR::Table=HASH(0x881ae00); dirname: /var/www/web0/html/; errors_output: ARRAY(0x88363c8); errs: 1; filename: /var/www/web0/html/info.asp; global: /var/www/web0/html//.; global_package: Apache::ASP; group_refresh: 30; headers_in: APR::Table=HASH(0x8239ffc); includes_dir: ARRAY(0x882f80c); init_packages: ARRAY(0x8814998); inode_names: ; internal_cached_keys: HASH(0x882f914); lang_comment: #; lang_language: PerlScript; lang_module: Apache::ASP::Lang::PerlScript; lang_object: Apache::ASP::Lang::PerlScript=HASH(0x8836020); last_time: 1170308914.7592; no_cache: ; package: Apache::ASP; paranoid_session: ; parse_config: 1; parse_file_count: 1; pod_comments: 1; r: Apache2::RequestRec=SCALAR(0x8818fb0); remote_ip: 62.214.199.192; request_binary_read: 1; search_dirs_cache: HASH(0x882f824); secure_session: ; session_cookie: 1; session_count: 1; session_id: 0692e1bc071c67310f2337452aa3e3a0; session_serialize: ; session_state: 1; session_timeout: 300; session_url: 1; session_url_force: ; session_url_match: ; session_url_parse: 0; session_url_parse_match: ; start_time: 1170308914.62237; stat_inc: 0; stat_inc_match: 0; stat_scripts: 1; state_db: ; state_dir: /tmp; state_manager: 10; state_serialize: ; state_serializer: ; ua: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1; use_strict: 1; win32: 0; xml_subs_match: my:\w+; xml_subs_perl_args: 1; xml_subs_strict: ; xslt: ;
43. errors out
44. error compiling info.asp: Bareword "response" not allowed while "strict subs" in use at /var/www/web0/html/info.asp line 2. , /usr/local/share/perl/5.8.4/Apache/ASP.pm line 1465

Compiled Data with Error

-: package Apache::ASP; ;; sub Apache::ASP::__ASP__var_www_web0_html_info_aspx75cee729b6a67f0be1f2fa0cad4be1c6xINC { ;; package Apache::ASP; ;; use strict;;;use vars qw($Application $Session $Response $Server $Request);;
-: #line 1 /var/www/web0/html/info.asp
1: ;; ; ; &Apache::ASP::WriteRef($main::Response, \('
2: ')); response.Write("hi") ; ;; }


An error has occured with the Apache::ASP script just run. If you are the developer working on this script, and cannot work through this problem, please try researching it at the Apache::ASP web site, specifically the FAQ section. Failing that, check out your support options, and if necessary include this debug output with any query.


Ich hoffe ohr könnt mir bei dem Prob helfen.
ActioNGamer
 
Posts: 1
Joined: 01. February 2007 06:35

Postby Wiedmann » 01. February 2007 08:14

a) Ich habe keine Ahnung von Apache::ASP...

b)
1. error compiling info.asp: Bareword "response" not allowed while "strict subs" in use at /var/www/web0/html/info.asp line 2.

Diese Fehlermeldung dürfte sich auf diese Zeile in deinem Script beziehen:
1: ;; ; ; &Apache::ASP::WriteRef($main::Response, \('
2: ')); response.Write("hi") ; ;; }


Laut Apache::ASP-Doku wurde ich meinen, dass sollte so aussehen?:
Code: Select all
$Response->Write("hi");
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to Apache

Who is online

Users browsing this forum: No registered users and 27 guests