From rkleeman at energoncube.net Fri Jun 2 11:35:41 2017 From: rkleeman at energoncube.net (Bob Kleemann) Date: Fri, 2 Jun 2017 11:35:41 -0700 Subject: [San-Diego-pm] Fwd: [pm_groups] Crowdfunding my Perl 6 book In-Reply-To: References: Message-ID: San Diego Perl Mongers, If you're interested in helping the development of a new book about Perl 6, please see Gabor's email below: ---------- Forwarded message ---------- From: Gabor Szabo Date: Fri, Jun 2, 2017 at 6:18 AM Subject: [pm_groups] Crowdfunding my Perl 6 book Hi, you might have heard or not, that I am crowdfunding the writing of my book about "Web Application Development in Perl 6". I'd appreciate your support by backing the book and your help sending a message out to your PM group memebers inviting them too to back the project. http://perl6maven.com/book regards Gabor -- Gabor Szabo http://szabgab.com/ Perl Maven http://perlmaven.com/ Perl Weekly http://perlweekly.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at fentin.com Thu Jun 15 12:00:47 2017 From: joel at fentin.com (Joel Fentin) Date: Thu, 15 Jun 2017 12:00:47 -0700 Subject: [San-Diego-pm] Help! Message-ID: <30e9d51c-7467-6bbc-d1ce-a7b6cb99a3bb@fentin.com> Here is the code that use to work: #!/usr/bin/perl -w use strict;use CGI; BEGIN{use CGI::Carp qw(carpout fatalsToBrowser);carpout(\*STDOUT);$|=1;} require '../Utils.pl'; my $Background; my $co = new CGI; [more code] ---------------------- If I comment the line that starts with: BEGIN The page displays normally. But if I uncomment it, I get a blank page. Errors don't print. I use to see errors. BlueHost has made a change to some version of something. They couldn't seem to tell me what. The above program and others didn't change. They simply stopped working. The site is currently working with that line commented everywhere. I have no idea what's at work here. -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com From elspicyjack at gmail.com Fri Jun 16 06:09:24 2017 From: elspicyjack at gmail.com (Brian Manning) Date: Fri, 16 Jun 2017 06:09:24 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: <30e9d51c-7467-6bbc-d1ce-a7b6cb99a3bb@fentin.com> References: <30e9d51c-7467-6bbc-d1ce-a7b6cb99a3bb@fentin.com> Message-ID: <714E4F32-7192-4243-A290-5B4F7DCCB451@gmail.com> > On Jun 15, 2017, at 12:00, Joel Fentin wrote: > > Here is the code that use to work: > > #!/usr/bin/perl -w > > use strict;use CGI; > BEGIN{use CGI::Carp qw(carpout fatalsToBrowser);carpout(\*STDOUT);$|=1;} > > If I comment the line that starts with: > BEGIN > The page displays normally. But if I uncomment it, I get a blank page. Errors don't print. I use to see errors. > > BlueHost has made a change to some version of something. They couldn't seem to tell me what. The above program and others didn't change. They simply stopped working. > > The site is currently working with that line commented everywhere. > > I have no idea what's at work here. > The web server error logs might have some info about what's wrong; do you have access to it? FYI, the CGI module is no longer part of core Perl, so modules in the "CGI" namespace may not be installed on your system, depending on which version(s) of Perl you have available to you. Thanks, Brian From urivan at saaib.net Fri Jun 16 06:34:44 2017 From: urivan at saaib.net (Urivan Flores) Date: Fri, 16 Jun 2017 06:34:44 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: <30e9d51c-7467-6bbc-d1ce-a7b6cb99a3bb@fentin.com> Message-ID: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> An HTML attachment was scrubbed... URL: From joel at fentin.com Mon Jun 19 22:13:55 2017 From: joel at fentin.com (Joel Fentin) Date: Mon, 19 Jun 2017 22:13:55 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> References: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> Message-ID: <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> Brian & Urivan, Thank you for getting back to me. When you suggested: $ perl -cw script.pl I assume that it was in place of: BEGIN{use CGI::Carp qw(carpout fatalsToBrowser);carpout(\*STDOUT);$|=1;}. The result is the same; a blank white screen. A control U displays: as before. Commenting that line causes the page to work normally. I didn't place an error nor die statement. Running showmodules.pl indicates: Perl -- 5.10.1 Also: CGI -- 3.51 Still stuck. ============================ On 6/16/2017 6:34 AM, Urivan Flores wrote: > Hk Joel, > > Have you tried using: > > $ perl -cw script.pl > > and check for errors? > > Regards, > > -Urivan -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com From elspicyjack at gmail.com Tue Jun 20 06:16:02 2017 From: elspicyjack at gmail.com (Brian Manning) Date: Tue, 20 Jun 2017 06:16:02 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> References: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> Message-ID: On Mon, Jun 19, 2017 at 10:13 PM, Joel Fentin wrote: > The result is the same; a blank white screen. A control U displays: > > as before. The reason for the HTTP 500 error is most likely in the error logs for your hosting provider's web server. If your hosting provider doesn't give you access to the error logs for your virtual host, I suggest switching to a hosting provider that does give you access, as access to the error logs is crucial for troubleshooting when there's issues with your CGI scripts, as you're now finding out. Thanks, Brian From joel at fentin.com Tue Jun 20 20:31:12 2017 From: joel at fentin.com (Joel Fentin) Date: Tue, 20 Jun 2017 20:31:12 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: References: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> Message-ID: <75a657a8-de41-1242-2956-1d2fbee90b7c@fentin.com> Brian, I can't seem to get into the cpanel. A few weeks ago I could. It may take a day or so for Paco (whose site this is) to get back to me. And day after tomorrow, I head north (6 flags over UCLA) for surgery. So I may not be able to get into the logs until the weekend or early next week. My silence over the next few days is not an indication of lack of interest. Please hang in there. ====================================== On 6/20/2017 6:16 AM, Brian Manning wrote: > On Mon, Jun 19, 2017 at 10:13 PM, Joel Fentin wrote: >> The result is the same; a blank white screen. A control U displays: >> >> as before. > > The reason for the HTTP 500 error is most likely in the error logs for > your hosting provider's web server. > > If your hosting provider doesn't give you access to the error logs for > your virtual host, I suggest switching to a hosting provider that does > give you access, as access to the error logs is crucial for > troubleshooting when there's issues with your CGI scripts, as you're > now finding out. > > Thanks, > > Brian > > > -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com From joel at fentin.com Wed Jun 21 09:47:15 2017 From: joel at fentin.com (Joel Fentin) Date: Wed, 21 Jun 2017 09:47:15 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: References: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> Message-ID: <0b3fc66f-2f42-c86c-506e-7ff96157a947@fentin.com> I got in. Attached is a text file with 3 logs. Errors when it works. Errors when it doesn't work. And php errors; I don't use php. It's all pretty much Greek to me. ------- Physical issues prevented me from attending the last two meetings. I hope to attend the upcoming meeting. ================================= On 6/20/2017 6:16 AM, Brian Manning wrote: > On Mon, Jun 19, 2017 at 10:13 PM, Joel Fentin wrote: >> The result is the same; a blank white screen. A control U displays: >> >> as before. > > The reason for the HTTP 500 error is most likely in the error logs for > your hosting provider's web server. > > If your hosting provider doesn't give you access to the error logs for > your virtual host, I suggest switching to a hosting provider that does > give you access, as access to the error logs is crucial for > troubleshooting when there's issues with your CGI scripts, as you're > now finding out. > > Thanks, > > Brian > > > -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com -------------- next part -------------- The following is when the page is working right. That is to say when: BEGIN{use CGI::Carp qw(carpout fatalsToBrowser);carpout(\*STDOUT);$|=1;} is commented. There are more errors than shown. [Wed Jun 21 10:21:07 2017] [error] [client 80.95.82.252] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 252.82.95.80.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.produkgreenworldasli.web.id"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBJQAAAFZ"] [Wed Jun 21 10:21:07 2017] [error] [client 178.79.31.245] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 245.31.79.178.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.greenautomationltd.com"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBJYAAAFU"] [Wed Jun 21 10:21:07 2017] [error] [client 80.95.82.252] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 252.82.95.80.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.produkgreenworldasli.web.id"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBJkAAAFL"] [Wed Jun 21 10:21:07 2017] [error] [client 80.95.82.252] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.produkgreenworldasli.web.id"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBJkAAAFL"] [Wed Jun 21 10:21:07 2017] [error] [client 200.144.145.4] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 4.145.144.200.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "azulpacifico.cl"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBKIAAAFO"] [Wed Jun 21 10:21:07 2017] [error] [client 200.144.145.4] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "azulpacifico.cl"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBKIAAAFO"] [Wed Jun 21 10:21:07 2017] [error] [client 178.79.31.245] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 245.31.79.178.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.greenautomationltd.com"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBKMAAAFD"] [Wed Jun 21 10:21:07 2017] [error] [client 178.79.31.245] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.greenautomationltd.com"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBKMAAAFD"] [Wed Jun 21 10:21:07 2017] [error] [client 80.95.82.252] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 252.82.95.80.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.produkgreenworldasli.web.id"] [uri "/wp-login.php"] [unique_id "WUqc80KT9M4AAecMBKgAAAFU"] [Wed Jun 21 10:21:08 2017] [error] [client 80.95.82.252] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 252.82.95.80.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.produkgreenworldasli.web.id"] [uri "/wp-login.php"] [unique_id "WUqc9EKT9M4AAeejBycAAABD"] [Wed Jun 21 10:21:08 2017] [error] [client 178.79.31.245] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 245.31.79.178.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.greenautomationltd.com"] [uri "/wp-login.php"] [unique_id "WUqc9EKT9M4AAeejBykAAABA"] [Wed Jun 21 10:21:08 2017] [error] [client 80.95.82.252] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.produkgreenworldasli.web.id"] [uri "/wp-login.php"] [unique_id "WUqc9EKT9M4AAeejBycAAABD"] [Wed Jun 21 10:21:08 2017] [error] [client 178.79.31.245] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 245.31.79.178.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.greenautomationltd.com"] [uri "/wp-login.php"] [unique_id "WUqc9EKT9M4AAeejBzQAAABO"] [Wed Jun 21 10:21:08 2017] [error] [client 178.79.31.245] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.greenautomationltd.com"] [uri "/wp-login.php"] [unique_id "WUqc9EKT9M4AAeejBzQAAABO"] The following is when it doesn't work. The line starting with BEGIN is uncommented. There are more errors than shown. [Wed Jun 21 10:23:57 2017] [error] [client 117.253.235.120] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "200"] [hostname "www.operationransom.com"] [uri "/wp-login.php"] [unique_id "WUqdnUKT9M4AAAdc3IsAAABX"] [Wed Jun 21 10:23:57 2017] [error] [client 5.28.163.95] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 95.163.28.5.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.womensfitnesschino.com"] [uri "/wp-login.php"] [unique_id "WUqdnUKT9M4AAAdc3KYAAABE"] [Wed Jun 21 10:23:57 2017] [error] [client 5.28.163.95] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.womensfitnesschino.com"] [uri "/wp-login.php"] [unique_id "WUqdnUKT9M4AAAdc3KYAAABE"] [Wed Jun 21 10:23:58 2017] [error] [client 5.28.163.95] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 95.163.28.5.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.womensfitnesschino.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAdc3LMAAABW"] [Wed Jun 21 10:23:58 2017] [error] [client 168.167.86.83] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 83.86.167.168.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.livieloosblog.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAdc3LUAAABE"] [Wed Jun 21 10:23:58 2017] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored. [Wed Jun 21 10:23:58 2017] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored. [Wed Jun 21 10:23:58 2017] [error] [client 5.28.163.95] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 95.163.28.5.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.womensfitnesschino.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAfk3x4AAACE"] [Wed Jun 21 10:23:58 2017] [error] [client 5.28.163.95] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.womensfitnesschino.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAfk3x4AAACE"] [Wed Jun 21 10:23:58 2017] [error] [client 168.167.86.83] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 83.86.167.168.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "706"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.livieloosblog.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAfk3ycAAACT"] [Wed Jun 21 10:23:58 2017] [error] [client 168.167.86.83] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.livieloosblog.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAfk3ycAAACT"] [Wed Jun 21 10:23:59 2017] [error] [client 85.93.58.35] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "200"] [hostname "www.journeywithkarin.com"] [uri "/wp-login.php"] [unique_id "WUqdnkKT9M4AAAfk3xUAAACM"] [Wed Jun 21 10:23:59 2017] [error] [client 70.234.0.211] Response header name '[Wed Jun 21 10' contains invalid characters, aborting request, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 10:23:59 2017] [error] [client 70.234.0.211] SoftException in Application.cpp:256: File "/home4/pacowebn/public_html/500.php" is writeable by group, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 10:23:59 2017] [error] [client 70.234.0.211] Premature end of script headers: 500.php, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 10:23:59 2017] [error] [client 70.234.0.211] (-3)Unknown error 18446744073709551613: Failed to flush CGI output to client, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 10:23:59 2017] [error] [client 117.253.235.120] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "200"] [hostname "www.operationransom.com"] [uri "/wp-login.php"] [unique_id "WUqdn0KT9M4AAAfk31MAAACW"] The following is a php log. I never use php. There are more errors than shown. /home4/pacowebn/public_html/Libro/error_log: [21-Jun-2017 09:31:18] PHP Warning: PHP Startup: magickwand: Unable to initialize module Module compiled with module API=20131226, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 [21-Jun-2017 09:31:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/mailparse.so' - /usr/php/56/usr/lib64/php/modules/mailparse.so: undefined symbol: zend_new_interned_string in Unknown on line 0 [21-Jun-2017 09:31:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/oauth.so' - /usr/php/56/usr/lib64/php/modules/oauth.so: undefined symbol: zend_new_interned_string in Unknown on line 0 [21-Jun-2017 09:31:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/oci8.so' - /usr/php/56/usr/lib64/php/modules/oci8.so: undefined symbol: zend_new_interned_string in Unknown on line 0 [21-Jun-2017 09:31:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/uploadprogress.so' - /usr/php/56/usr/lib64/php/modules/uploadprogress.so: undefined symbol: zend_ini_string_ex in Unknown on line 0 [21-Jun-2017 10:24:13] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/imagick.so' - /usr/php/56/usr/lib64/php/modules/imagick.so: undefined symbol: zend_new_interned_string in Unknown on line 0 [21-Jun-2017 10:24:13] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/pdo_mysql.so' - /usr/php/56/usr/lib64/php/modules/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0 [21-Jun-2017 10:24:13] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module Module compiled with module API=20131226, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 From tim.bollman at gmail.com Wed Jun 21 10:15:37 2017 From: tim.bollman at gmail.com (Tim Bollman) Date: Wed, 21 Jun 2017 10:15:37 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: <0b3fc66f-2f42-c86c-506e-7ff96157a947@fentin.com> References: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> <0b3fc66f-2f42-c86c-506e-7ff96157a947@fentin.com> Message-ID: I believe the relevant section of your failing error log is this: [Wed Jun 21 time 2017] [error] [client ip-address] Response header name '[Wed Jun 21 10' contains invalid characters, aborting request, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 time 2017] [error] [client ip-address] SoftException in Application.cpp:256: File "/home4/pacowebn/public_html/500.php" is writeable by group, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 time 2017] [error] [client ip-address] Premature end of script headers: 500.php, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl [Wed Jun 21 time 2017] [error] [client ip-address] (-3)Unknown error 18446744073709551613: Failed to flush CGI output to client, referer: http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl I've never done CGI programming, but from what I gather the first line says that the content CGI::Carp is putting in *STDOUT is ending up being treated as a header line in the HTTP response. Since the date stamp starts with a '[', it isn't a valid header so the server assumes you're spewing junk and kills you. Perhaps try having it output to *STDERR, which potentially ends up in one of those logs you've posted or (assuming you have permissions to write to somewhere -- perhaps your applications www directory) append to your own log file on the server so you can see the rest of what it's trying to produce. On Wed, Jun 21, 2017 at 9:47 AM, Joel Fentin wrote: > I got in. Attached is a text file with 3 logs. Errors when it works. > Errors when it doesn't work. And php errors; I don't use php. > > It's all pretty much Greek to me. > > ------- > > Physical issues prevented me from attending the last two meetings. I hope > to attend the upcoming meeting. > > ================================= > > On 6/20/2017 6:16 AM, Brian Manning wrote: > >> On Mon, Jun 19, 2017 at 10:13 PM, Joel Fentin wrote: >> >>> The result is the same; a blank white screen. A control U displays: >>> >>> as before. >>> >> >> The reason for the HTTP 500 error is most likely in the error logs for >> your hosting provider's web server. >> >> If your hosting provider doesn't give you access to the error logs for >> your virtual host, I suggest switching to a hosting provider that does >> give you access, as access to the error logs is crucial for >> troubleshooting when there's issues with your CGI scripts, as you're >> now finding out. >> >> Thanks, >> >> Brian >> >> >> >> > -- > Joel Fentin tel: 760-749-8863 > Personal Website: http://fentin.com > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at fentin.com Fri Jun 30 19:37:12 2017 From: joel at fentin.com (Joel Fentin) Date: Fri, 30 Jun 2017 19:37:12 -0700 Subject: [San-Diego-pm] Help! In-Reply-To: References: <4100b45a-6d09-4c35-97c7-612a6d31e79c@email.android.com> <4ba48af3-6860-e73f-8fc6-9e261fea55c4@fentin.com> <0b3fc66f-2f42-c86c-506e-7ff96157a947@fentin.com> Message-ID: Tim, Brian, Urivan, As I understand it, The newer version of Perl requires me to remove the "fatalsToBrowser" line from the program. By doing so I lose the ability to see a die statement and errors in the browser. If I want to know the score, I need to find the error log. If that's pretty much true, I'll let this die here. In any case, I hope/intend to make it to the next San Diego Perl Mongers meeting. That alone might make you want to avoid it. ====================================================== On 6/21/2017 10:15 AM, Tim Bollman wrote: > I believe the relevant section of your failing error log is this: > > [Wed Jun 21 time 2017] [error] [client ip-address] Response header name > '[Wed Jun 21 10' contains invalid characters, aborting request, referer: > http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl > [Wed Jun 21 time 2017] [error] [client ip-address] SoftException in > Application.cpp:256: File "/home4/pacowebn/public_html/500.php" is > writeable by group, referer: > http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl > [Wed Jun 21 time 2017] [error] [client ip-address] Premature end of > script headers: 500.php, referer: > http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl > [Wed Jun 21 time 2017] [error] [client ip-address] (-3)Unknown error > 18446744073709551613: Failed to flush CGI output to client, referer: > http://pacoweb.net/cgi-bin/Admin/CDprivateMenu.pl > > I've never done CGI programming, but from what I gather the first line > says that the content CGI::Carp is putting in *STDOUT is ending up being > treated as a header line in the HTTP response. Since the date stamp > starts with a '[', it isn't a valid header so the server assumes you're > spewing junk and kills you. > > Perhaps try having it output to *STDERR, which potentially ends up in > one of those logs you've posted or (assuming you have permissions to > write to somewhere -- perhaps your applications www directory) append to > your own log file on the server so you can see the rest of what it's > trying to produce. > > > On Wed, Jun 21, 2017 at 9:47 AM, Joel Fentin > wrote: > > I got in. Attached is a text file with 3 logs. Errors when it works. > Errors when it doesn't work. And php errors; I don't use php. > > It's all pretty much Greek to me. > > ------- > > Physical issues prevented me from attending the last two meetings. I > hope to attend the upcoming meeting. > > ================================= > > On 6/20/2017 6:16 AM, Brian Manning wrote: > > On Mon, Jun 19, 2017 at 10:13 PM, Joel Fentin > wrote: > > The result is the same; a blank white screen. A control U > displays: > > as before. > > > The reason for the HTTP 500 error is most likely in the error > logs for > your hosting provider's web server. > > If your hosting provider doesn't give you access to the error > logs for > your virtual host, I suggest switching to a hosting provider > that does > give you access, as access to the error logs is crucial for > troubleshooting when there's issues with your CGI scripts, as you're > now finding out. > > Thanks, > > Brian > > > > > -- > Joel Fentin tel: 760-749-8863 > Personal Website: http://fentin.com > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > > > -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com