And thanks for your help!
I'm using Wordpress, with WPSearch plugin + elementor custom search page, the problem is:
When the results are displayed, it works flawlessly, but the URl from the title is wrong, and when you click on the the text you get redirected to the main page (I activated 404 errors to be redirected to mainpage). I can't find where to edit those links in search, anyone has any idea?
In cpanel "errors" I can see these:
[Fri Aug 20 19:21:12.443992 2021] [:error] [pid 580957:tid 23099625621248] [client XXX:15408] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/wp-cron.php?doing_wp_cron=1629505272.3485751152038574218750
[Fri Aug 20 19:20:53.445562 2021] [:error] [pid 580956:tid 23099634026240] [client XXX:15364] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/wp-cron.php?doing_wp_cron=1629505253.3393890857696533203125
[Fri Aug 20 19:20:27.565196 2021] [:error] [pid 580957:tid 23099755898624] [client XXX:5056] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7
[Fri Aug 20 19:20:02.575672 2021] [:error] [pid 580956:tid 23099600406272] [client XXX:15268] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/wp-cron.php?doing_wp_cron=1629505202.4825611114501953125000
[Fri Aug 20 19:18:52.393628 2021] [:error] [pid 580957:tid 23099585697536] [client XXX:15122] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/wp-cron.php?doing_wp_cron=1629505132.2978270053863525390625
[Fri Aug 20 19:18:05.437396 2021] [:error] [pid 580956:tid 23099568887552] [client XXX:15056] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/wp-cron.php?doing_wp_cron=1629505085.3480589389801025390625
[Fri Aug 20 19:17:09.918235 2021] [:error] [pid 580957:tid 23099755898624] [client XXX:12736] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7
[Fri Aug 20 19:17:06.951470 2021] [:error] [pid 580956:tid 23099720177408] [client XXX:17024] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7
[Fri Aug 20 19:16:55.437002 2021] [:error] [pid 580954:tid 23099638228736] [client XXX:14866] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/wp-cron.php?doing_wp_cron=1629505015.3463969230651855468750
[Fri Aug 20 19:16:41.682702 2021] [:error] [pid 580957:tid 23099688658688] [client XXX:1038] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/search/condolencias
[Fri Aug 20 19:16:39.020203 2021] [:error] [pid 580958:tid 23099730683648] [client XXX:30395] PHP: syntax error, unexpected '(' in XXXpublic_html/php.ini on line 7, referer: XXX/search/condolencias
Any ideas?
Thank you!
Here is the log file
[Tue Jun 09 08:55:52.378786 2020] [mpm_prefork:notice] [pid 2311] AH00163: Apache/2.4.41 (Unix) OpenSSL/1.0.2p PHP/7.3.11 configured -- resuming normal operations
[Tue Jun 09 08:55:52.379156 2020] [core:notice] [pid 2311] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Tue Jun 09 08:56:48.228429 2020] [mpm_prefork:notice] [pid 2311] AH00169: caught SIGTERM, shutting down
[Tue Jun 09 08:58:13.964872 2020] [mpm_prefork:notice] [pid 637] AH00163: Apache/2.4.41 (Unix) OpenSSL/1.0.2p PHP/7.3.11 configured -- resuming normal operations
[Tue Jun 09 08:58:13.965557 2020] [core:notice] [pid 637] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Tue Jun 09 09:29:02.632112 2020] [cgi:error] [pid 802] [client ::1:49585] AH01215: error on line -1 of /Applications/Ampps/extra/ssl/openssl.cnf: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:29:02.632746 2020] [cgi:error] [pid 802] [client ::1:49585] AH01215: 4494323308:error:02001002:system library:fopen:No such file or directory:bss_file.c:175:fopen('/Applications/Ampps/extra/ssl/openssl.cnf','rb'): /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:29:02.632796 2020] [cgi:error] [pid 802] [client ::1:49585] AH01215: 4494323308:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:182:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:29:02.632887 2020] [cgi:error] [pid 802] [client ::1:49585] AH01215: 4494323308:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:201:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:31:06.009748 2020] [cgi:error] [pid 787] [client ::1:49641] AH01215: AH00526: Syntax error on line 25 of /Applications/AMPPS/apache/conf/extra/httpd-vhosts.conf:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:06.010263 2020] [cgi:error] [pid 787] [client ::1:49641] AH01215: Cannot define multiple Listeners on the same IP:port: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:06.823294 2020] [cgi:error] [pid 787] [client ::1:49641] AH01215: AH00526: Syntax error on line 25 of /Applications/AMPPS/apache/conf/extra/httpd-vhosts.conf:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:06.823357 2020] [cgi:error] [pid 787] [client ::1:49641] AH01215: Cannot define multiple Listeners on the same IP:port: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:20.673005 2020] [cgi:error] [pid 639] [client ::1:49651] AH01215: AH00526: Syntax error on line 25 of /Applications/AMPPS/apache/conf/extra/httpd-vhosts.conf:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:20.673247 2020] [cgi:error] [pid 639] [client ::1:49651] AH01215: Cannot define multiple Listeners on the same IP:port: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:41.530751 2020] [cgi:error] [pid 788] [client ::1:49655] AH01215: AH00526: Syntax error on line 25 of /Applications/AMPPS/apache/conf/extra/httpd-vhosts.conf:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:41.531804 2020] [cgi:error] [pid 788] [client ::1:49655] AH01215: Cannot define multiple Listeners on the same IP:port: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainmanage
[Tue Jun 09 09:31:50.528108 2020] [cgi:error] [pid 802] [client ::1:49660] AH01215: error on line -1 of /Applications/Ampps/extra/ssl/openssl.cnf: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:31:50.528339 2020] [cgi:error] [pid 802] [client ::1:49660] AH01215: 4724469356:error:02001002:system library:fopen:No such file or directory:bss_file.c:175:fopen('/Applications/Ampps/extra/ssl/openssl.cnf','rb'): /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:31:50.528386 2020] [cgi:error] [pid 802] [client ::1:49660] AH01215: 4724469356:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:182:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Tue Jun 09 09:31:50.528437 2020] [cgi:error] [pid 802] [client ::1:49660] AH01215: 4724469356:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:201:: /Applications/AMPPS/ampps/softaculous/enduser/index.php, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Wed Jun 10 13:33:31.624306 2020] [mpm_prefork:notice] [pid 637] AH00169: caught SIGTERM, shutting down
In Ampps/apache/conf/httpd.conf
Depends on the version, edit LoadModule php7_module /Applications/AMPPS/php-7.3/libphp7.so as LoadModule php5_module /Applications/AMPPS/php-5.6/libphp5.so
Then restart AMPPS and switch Apache on. If it works, then edit the php version back to php7.
I try send push notification on Passbook by ApnsPHP library
$config['production'] = DOCROOT . '/my_cert.pm';
$config['entrust'] = DOCROOT . '/entrust_root_certification_authority_2048.pem';
$config['passphrase'] = '';
$token = $push_info->push_token;
$text = 'TEST';
$push = new ApnsPHP_Push(
ApnsPHP_Abstract::ENVIRONMENT_PRODUCTION, $config['production']
);
if ($config['passphrase'] <> '') {
$push->setProviderCertificatePassphrase($config['passphrase']);
}
$push->setRootCertificationAuthority($config['entrust']);
$message = new ApnsPHP_Message();
$message->addRecipient($token);
$push->connect();
$message->setSound();
$message->setText($text);
$push->add($message);
$push->send();
$push->disconnect();
$aErrorQueue = $push->getErrors();
if (!empty($aErrorQueue)) {
echo 'Error - ' . print_r($aErrorQueue, true);
}
Output
Wed, 20 Mar 2019 11:01:16 +0000 ApnsPHP[6467]: INFO: Trying tls://gateway.push.apple.com:2195...
Wed, 20 Mar 2019 11:01:17 +0000 ApnsPHP[6467]: INFO: Connected to tls://gateway.push.apple.com:2195.
Wed, 20 Mar 2019 11:01:17 +0000 ApnsPHP[6467]: INFO: Sending messages queue, run #1: 1 message(s) left in queue.
Wed, 20 Mar 2019 11:01:17 +0000 ApnsPHP[6467]: STATUS: Sending message ID 1 [custom identifier: unset] (1/3): 87 bytes.
Wed, 20 Mar 2019 11:01:18 +0000 ApnsPHP[6467]: INFO: Disconnected.
But device didn't try push my server (all request write in log, he is empty).
I cant understand what wrong... some ideas?
The thing is that Apple has made a change in the export of certificates for signing. Now it has a simplified mechanic: the certificate bundle (pass cert and Apple certificate) is immediately exported to "*.pem"
When I run firebase deploy command, I would like to know which files are deployed.
I tried firebase deploy --debug, but I don't see any information about uploaded files.
[2018-05-25T09:48:26.423Z] ----------------------------------------------------------------------
[2018-05-25T09:48:26.426Z] Command: /usr/local/bin/node /usr/local/bin/firebase deploy --debug
[2018-05-25T09:48:26.427Z] CLI Version: 3.18.4
[2018-05-25T09:48:26.427Z] Platform: darwin
[2018-05-25T09:48:26.427Z] Node Version: v9.2.0
[2018-05-25T09:48:26.428Z] Time: Fri May 25 2018 11:48:26 GMT+0200 (CEST)
[2018-05-25T09:48:26.428Z] ----------------------------------------------------------------------
[2018-05-25T09:48:26.439Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2018-05-25T09:48:26.440Z] > authorizing via signed-in user
[2018-05-25T09:48:26.441Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"]
[2018-05-25T09:48:26.442Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
{ refresh_token: '1/sNSNg7xxbzwVujBEzRAQ2eZHkEuT0d6A2jVVUGa-e9Jgrc8NASizU4RK7MEmNnov',
client_id: '563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com',
client_secret: 'j9iVZfS8kkCEFUPaAeJV0sAi',
grant_type: 'refresh_token',
scope: 'email https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/firebase openid' }
Fri May 25 2018 11:48:26 GMT+0200 (CEST)
[2018-05-25T09:48:26.585Z] <<< HTTP RESPONSE 200 cache-control=no-cache, no-store, max-age=0, must-revalidate, pragma=no-cache, expires=Mon, 01 Jan 1990 00:00:00 GMT, date=Fri, 25 May 2018 09:48:26 GMT, vary=X-Origin, Origin,Accept-Encoding, content-type=application/json; charset=UTF-8, x-content-type-options=nosniff, x-frame-options=SAMEORIGIN, x-xss-protection=1; mode=block, server=GSE, alt-svc=hq=":443"; ma=2592000; quic=51303433; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="43,42,41,39,35", accept-ranges=none, connection=close
[2018-05-25T09:48:26.593Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/test-table
Fri May 25 2018 11:48:26 GMT+0200 (CEST)
[2018-05-25T09:48:27.222Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:27 GMT, content-type=application/json; charset=utf-8, content-length=141, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store
[2018-05-25T09:48:27.223Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/test-table/tokens
Fri May 25 2018 11:48:27 GMT+0200 (CEST)
[2018-05-25T09:48:27.777Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:27 GMT, content-type=application/json; charset=utf-8, content-length=274, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store
=== Deploying to 'test-table'...
i deploying hosting
i hosting: preparing dist directory for upload...
[2018-05-25T09:48:28.900Z] >>> HTTP REQUEST PUT https://deploy.firebase.com/v1/hosting/test-table/uploads/-LDLglCdzpfzQK77Fbrb?fileCount=2&message=
Fri May 25 2018 11:48:28 GMT+0200 (CEST)
Uploading: [ ] 0%[2018-05-25T09:48:32.752Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:32 GMT, content-type=application/json; charset=utf-8, content-length=49, connection=close, access-control-allow-origin=*, access-control-allow-methods=GET, PUT, POST, DELETE, OPTIONS, strict-transport-security=max-age=31556926; includeSubDomains; preload, x-content-type-options=nosniff
[2018-05-25T09:48:32.753Z] [hosting] .tgz uploaded successfully, waiting for extraction
✔ hosting: 2 files uploaded successfully
[2018-05-25T09:48:33.642Z] [hosting] deploy completed after 5190ms
[2018-05-25T09:48:33.643Z] >>> HTTP REQUEST POST https://deploy.firebase.com/v1/projects/test-table/releases
{ hosting:
{ public: 'dist',
ignore: [ 'firebase.json', '**/.*', '**/node_modules/**' ],
version: '-LDLglCdzpfzQK77Fbrb',
prefix: '-LDLglCdzpfzQK77Fbrb/',
manifest: [] } }
Fri May 25 2018 11:48:33 GMT+0200 (CEST)
[2018-05-25T09:48:34.951Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:34 GMT, content-type=application/json; charset=utf-8, content-length=34, connection=close, access-control-allow-origin=*, access-control-allow-methods=GET, PUT, POST, DELETE, OPTIONS, strict-transport-security=max-age=31556926; includeSubDomains; preload, x-content-type-options=nosniff
✔ Deploy complete!
The only information the Firebase CLI shows is:
i hosting: preparing dist directory for upload...
So this means that everything in your dist directory is deployed, and nothing else.
Since the files are uploaded as a single .tgz file, there is no progress report for individual files.
All the automated emails sent from woocommerce from my website are marked as spam. Here is the header:
Delivered-To: fontanavideostudios#gmail.com
Received: by 10.64.118.34 with SMTP id kj2csp1351282ieb;
Thu, 2 Apr 2015 05:19:26 -0700 (PDT)
X-Received: by 10.194.176.4 with SMTP id ce4mr94751409wjc.75.1427977166190;
Thu, 02 Apr 2015 05:19:26 -0700 (PDT)
Return-Path: <racebook>
Received: from ns362512.ip-91-121-174.eu ([2001:41d0:1:ef28::1])
by mx.google.com with ESMTP id e5si8490541wjw.70.2015.04.02.05.19.25
for <fontanavideostudios#gmail.com>;
Thu, 02 Apr 2015 05:19:26 -0700 (PDT)
Received-SPF: temperror (google.com: error in processing during lookup of racebook: DNS timeout) client-ip=2001:41d0:1:ef28::1;
Authentication-Results: mx.google.com;
spf=temperror (google.com: error in processing during lookup of racebook: DNS timeout) smtp.mail=racebook;
dkim=temperror (no key for signature) header.i=#
Received: by ns362512.ip-91-121-174.eu (Postfix, from userid 504)
id EA9BA1608B; Thu, 2 Apr 2015 14:16:42 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=racebooking.net;
s=default; t=1427977002;
bh=8Bpk5qKGS/snauZWTEWdgTP8RA8IIyUciiaTtpnN268=;
h=To:Subject:Date:From;
b=uPVvgt52HbS6VIzCMagUSpBDCvF787qIleF13Yw/7E95kuXdVJSdCo5IjbUTmGuBm
TUSe7jiDf4RfGzq2BQJUnFd91RljAVJHxWscY9U/ZFqGU65MjeIIfN7jLa+/k6Aj0/
m2bULvyRjwdU1EInjtl9y3SC593kACANJPR+u8/Y=
To: fontanavideostudios#gmail.com
Subject: Puoi scaricare i files accedendo a questa pagina: https://www.racebooking.net/foto-franciacorta/mio-account/
X-PHP-Originating-Script: 504:class-phpmailer.php
Date: Thu, 2 Apr 2015 12:16:42 +0000
From: Foto Franciacorta <noreply#racebooking.net>
Message-ID: <ddc1208f249c3ad34b96dad0437c49d8#www.racebooking.net>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
The cause is probably that the Return-Path is wrong. Instead of noreply#racebooking.net (correct) it is racebook, (incorrect). How can i fix it? I couldn't find any setting into Woocommerce options to fix the Return Path.
I fixed that by using this plugin which simply copies the "from" email into the Return Path