agent16f Posted July 26, 2022 Share Posted July 26, 2022 Is there a how to for this, I think i configured it correct but now cannot get back in ERROR in logs is below 2022-07-26 15:07:15 [79.77.23.196][-][ob34mn3p17ee0snv0it8lvf78d][error][Error] Error: Undefined constant "backend\controllers\CURLOPT_SSL_VERIFYSTATUS" in /home/percept/public_html/shop/l$ Stack trace: #0 [internal function]: backend\controllers\InstallController->actionIndex() #1 /home/percept/public_html/shop/lib/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #2 /home/percept/public_html/shop/lib/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams() #3 /home/percept/public_html/shop/lib/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction() #4 /home/percept/public_html/shop/lib/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction() #5 /home/percept/public_html/shop/lib/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest() #6 /home/percept/public_html/shop/lib/backend/web/index.php(29): yii\base\Application->run() #7 /home/percept/public_html/shop/admin/index.php(15): require('...') #8 {main} Quote Link to comment Share on other sites More sharing options...
ynechitajlo Posted July 26, 2022 Share Posted July 26, 2022 Looks like curl not installed in your system https://www.php.net/manual/en/curl.installation.php Quote Link to comment Share on other sites More sharing options...
osCommerce-Official Posted July 26, 2022 Share Posted July 26, 2022 Thanks for this message. Could you please ask your host to install CURL and try again? You're always welcome to try osCommerce on our servers before you decided to move it to yours. Quote Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 Curl is installed. php info shows compiled with curl Package curl-7.29.0-59.el7_9.1.x86_64 already installed and latest version Nothing to do Package php-common-5.4.16-48.el7.x86_64 already installed and latest version Nothing to do Dedicated server so am unsure of the error Quote Link to comment Share on other sites More sharing options...
bonbec Posted July 27, 2022 Share Posted July 27, 2022 (edited) Looks like your version of Php is the 5.4.16 version. OscV4 needs PHP version 7.2.0 at least Don't forget to restart your server after each installation (Php, curl, ...) Edited July 27, 2022 by bonbec osCommerce-Official 1 Quote with OsC 2.2 since 2006 ... Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 [root@svr2 logs]# curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets Quote Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 php -v PHP 7.3.27 (cli) (built: Jul 26 2022 14:19:38) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Technologies Quote Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 I changed the release version after upgrade to 7.3 and updated. Is there a way in the database or by file edit, to clear the storage key at least before this was entered the page loaded without the error. Quote Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 Ok i found the storage key under the admin section of the database removed that and the page now loads without error, setup new storage key also unable to delete any old ones, as straight away same error. Quote Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 (edited) Ok, i hashed out line 1044 and line 1177 of the installcontroller line causing this error and the page loaded fine, not a curl error Edited July 27, 2022 by agent16f Quote Link to comment Share on other sites More sharing options...
ynechitajlo Posted July 27, 2022 Share Posted July 27, 2022 installed does not mean enabled. CURLOPT_SSL_VERIFYSTATUS its part of libcurl try run phpinfo() and check this key: cURL support enabled Quote Link to comment Share on other sites More sharing options...
agent16f Posted July 27, 2022 Author Share Posted July 27, 2022 curl cURL support enabled cURL Information 7.29.0 Package libcurl-7.29.0-59.el7_9.1.x86_64 already installed and latest version Confusing, but disabling the above lines seem to work and the header above them says for testing. Quote Link to comment Share on other sites More sharing options...
oladhan Posted August 12, 2022 Share Posted August 12, 2022 hello i am having same issue what was file and location to edit cheers. Quote Link to comment Share on other sites More sharing options...
agent16f Posted August 15, 2022 Author Share Posted August 15, 2022 Am still having more issues in that I cannot now install apps and I wonder if its related to me hashing this line out. Jason Quote Link to comment Share on other sites More sharing options...
agent16f Posted August 15, 2022 Author Share Posted August 15, 2022 Ok upgraded my version of curl to 7.89 from 7.29.0 which was the default install and hadnt been updated in the repo. RHEL7 This clears the error so its doesnt appear, but now cant even search in the app store. Jason Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.