I make problem with embed posts on facebook from wp - wordpress

Some days ago i change my hosting on vps and now when i embed posts on facebook i get this error cURL: SSL_CACERT SSL certificate problem: unable to get local issuer certificate
Error on server - mod_fcgid: stderr: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /var/www/www-root/data/www/***/www/wp-content/themes/flex-mag/amp-single.php on line 29
PHP Warning: file_get_contents(): Failed to enable crypto in /var/www/www-root/data/www/***/www/wp-content/themes/flex-mag/amp-single.php on line 29
mod_fcgid: stderr: PHP Warning: file_get_contents(*/wp-content/themes/flex-mag/css/amp-media-queries.css): failed to open stream: operation failed in /var/www/www-root/data/www/***/www/wp-content/themes/flex-mag/amp-single.php on line 29
OS VPS - CentOS 7
Please help me with this

Seems like your ssl-certificate expired or isnt valid anymore. You should check if https://www.yoursite.any still works. If no, contact the hoster and ask him for a certificate (most do it)

Related

Pimcore - Syntax error or access violation: 1305 FUNCTION db_name.PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS does not exist in

I have a pimcore (6.8) setup in our local system with apache2, php7.4 with all permission, mysql (8) ubuntu from a live site for version upgrade. This website is working with live but not working in our local system. When i login to the admin panel with this website locally. Then working perfectly. But when I open any page in frontend then it shows
"Oops ... Sorry, the page you're looking for has gone."
And showing in dashboard when load any document but data in showing
Timestamp: Mon Dec 05 2022 15:00:45 GMT+0530 (India Standard Time)
Status: 500 | Internal Server Error
URL: /admin/customermanagementframework/segment-assignment/inheritable-segments?id=65&type=document&_dc=1670232645843
Method: GET
Message: Database error, see logs for details
Logs Details-
Syntax error or access violation: 1305 FUNCTION db_name.PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS does not exist in
Now i have changed the DB version as live website now showing this error
[2022-12-09 01:34:45] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Lock\Exception\LockAcquiringException: "Failed to acquire the "Pimcore\Routing\RedirectHandler" lock." at /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Lock/Lock.php line 119 {"exception":"[object] (Symfony\Component\Lock\Exception\LockAcquiringException(code: 0): Failed to acquire the "Pimcore\Routing\RedirectHandler" lock. at /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Lock/Lock.php:119, Doctrine\DBAL\Exception\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:97, Doctrine\DBAL\Driver\PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []

rstudio-server permission error after upgrade

On a VPS with Fedora 23 I recently upgraded my rstudio-server. After this I could no longer login.
After many attempts to repair it I decided to start with a fresh VPS, unfortunately, even here the same problem appears. From systemctl I get:
ERROR system error 13 (Permission denied); OCCURRED AT:
rstudio::core::Error
rstudio::core::system::launchChildProcess(std::string, std::string,
rstudio::core::system::ProcessConfig,
rstudio::core::system::ProcessConfigFilter, PidType*)
/root/rstudio/src/cpp/core/system/PosixSystem.cpp:1297;
LOGGED FROM: rstu lines 1-13/13 (END)
Also:
id -u rstudio-server
gives
993
I have also set the minimum user id to 100.
Any thoughts would be much appreciated.

http: TLS handshake error from $ip:$port remote error: bad certificate

I am having k8s cluster on centos7.2 with 1 master and 2 slaves. The cluster is working fine as far as it is serving on port 8080 but when I tries to secure Kube-API server by using certificates, I felt into the above error after restarting the kube-apiserver service and it is continuously writing this error in my log file at /var/log/messages.
kube-apiserver is started as-
KUBE_API_ADDRESS="--bind-address=0.0.0.0"
KUBE_API_PORT="--secure-port=6443"
KUBELET_PORT="--kubelet-port=10250"
KUBE_ETCD_SERVERS="--etcd-servers=http://kube-master:2379"
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=10.254.0.0/16"
KUBE_ADMISSION_CONTROL="--admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota"
KUBE_ALLOW_PRIV="--allow-privileged=true"
KUBE_API_TLS_CERT_FILE="--tls-cert-file=/home/abc/server.cert"
KUBE_API_TLS_PRIVATE_KEY_FILE="--tls-private-key- file=/home/abc/server.key"
KUBE_API_TOKEN_AUTH_FILE="--token-auth-file=/home/abc/token.csv" </br>
I am accessing API server using kubectl command as
kubectl --v=4 --server="https://$ip:6443" --certificate-authority="./ca.crt" --token="abcdTOKEN1234" get nodes
After that I am getting following error-
2930 helpers.go:153] Connection error: Get https://$ip:6443/api: x509: certificate signed by unknown authority
2930 helpers.go:96] Unable to connect to the server: x509: certificate signed by unknown authority
I performed same steps on ubuntu 14.04 and are working fine. I am not able to figure out where exactly I'm missing. Can anyone knows where I am wrong ? Thanks in advance.

error with TimeZoneTransforme when running symfony2 on php 5.3 server

We are trying to deploy a symfony2 Web App in a shared hosting service offered by the University. The server has php 5.3. and we can only access it via FTP.
When I go to .../web/app.php I got an "503 Service Unavailable" message. When looking at the errors.log file I found:
GMT or UTC is not supported as a formatting output. Please install the "intl" extension for full localization capabilities.' in /var/www/vhosts/transmediacatalonia.uab.cat/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Intl/DateFormatter/DateFormat/TimeZoneTransformer.php:35
mod_fcgid: stderr: Stack trace:
mod_fcgid: stderr: #0 /var/www/.../DateFormat/FullTransformer.php(123): Symfony\\Component\\Intl\\DateFormatter\\DateFormat
\\TimeZoneTransformer->format(Object(DateTime), 1)
mod_fcgid: stderr: #1 /var/www/.../FullTransformer.php(96): Symfony\\Component\\Intl\\DateFormatter\\DateFormat\\FullTransformer->formatReplace('z', Object(DateTime))
mod_fcgid: stderr: #2 [internal function]: Symfony\\Component\\Intl\\DateFormatter\\DateFormat\\{closure}(Array)
mod_fcgid: stderr: #3 /var/ww in /var/www/.../Template.php on line 396
I understand the intnextension is required. The problem is that we have no way to install anything in the server.
Is there any way to solve this problem??
Thanks a lot in advance!!

Rstudio-server unable to connect to service and locale error

I am having issues connecting to a rstudio server I just installed. Can you please let me know if you know how to solve this? Thanks!
I just installed Rstudio server 0.99.485 64-bit on Ubuntu 13.10 (saucy) and am getting this error below:
The error in /var/log/syslog says:
ERROR Unexpected exception: locale::facet::Screateclocale name not valid;
LOGGED FROM: int main(int, char* const*) /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:3166
The symptom is that the web UI says it's "unable to connect to service"
I have followed everything mentioned on this post, but it doesn't seem to work.
When I trace the rstudio-server process using sudo strace -f -e 'trace=!clockgettime,gettimeofday,futex,timerfdsettime,epollwait,epollctl' -p 10208 -o trace.txt, I am seeing this in the trace.txt ( below is what I used to log in:
10226 connect(10, {safamily=AFLOCAL, sunpath="/tmp/rstudio-rsession/"}, 28) = -1 ECONNREFUSED (Connection refused)
I've tried logged in using an invalid id to confirm that pam authentication is working fine
Also looked at this question and made sure there exists /home/<USERID> but still the problem is there.

Resources