Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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}
 

Posted

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. 

Posted

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

 

Posted (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 by bonbec

with OsC 2.2 since 2006 ...

Posted

[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
 

Posted

 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
 

Posted

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.

Posted

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.

Posted (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 by agent16f
Posted

installed does not mean enabled.  

CURLOPT_SSL_VERIFYSTATUS its part of libcurl

try run  phpinfo() and check this key:
cURL support    enabled

Posted

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.

  • 3 weeks later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...