Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error on line 324


montytx

Recommended Posts

Hi All,

 

I am installing this mod on my store and get this error when you click the quick out paypal button.

HEre is the error:

Fatal error: Call to undefined function: setopt() in /hsphere/local/home/montytx/ladybugcostumesonline.com/includes/modules/payment/paypal_wpp.php on line 324

 

It appears to have something to do with curl adn SSL:

 

$caller->setOpt('curl', CURLOPT_SSL_VERIFYPEER, 0);

 

I have a shared SSL. Do I have to get my own for this to work?

Link to comment
Share on other sites

Hi All,

 

I am installing this mod on my store and get this error when you click the quick out paypal button.

HEre is the error:

Fatal error: Call to undefined function: setopt() in /hsphere/local/home/montytx/ladybugcostumesonline.com/includes/modules/payment/paypal_wpp.php on line 324

 

It appears to have something to do with curl adn SSL:

 

$caller->setOpt('curl', CURLOPT_SSL_VERIFYPEER, 0);

 

I have a shared SSL. Do I have to get my own for this to work?

Some of your Pear files are not uploaded or are not having the full code.

Just compare the file sizes and upload the one thats not loaded.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Some of your Pear files are not uploaded or are not having the full code.

Just compare the file sizes and upload the one thats not loaded.

 

Satish

I dont thnk that is it. I reinstalled the pear directory last night and I am still getting the error.

Link to comment
Share on other sites

Your version of PHP doesn't have cURL installed. Contact your host about it.

 

I just checked that and it is there:

libcurl/7.10.4 OpenSSL/0.9.6b zlib/1.1.4

is what my site is running. I have another similar site with an older version of this package running ( with the same ISP). THe only difference I can find is the version of this and the fact that this site does not have its own SSL, it uses shared SSL.

Link to comment
Share on other sites

I just checked that and it is there:

is what my site is running. I have another similar site with an older version of this package running ( with the same ISP). THe only difference I can find is the version of this and the fact that this site does not have its own SSL, it uses shared SSL.

 

 

this is your error:

Call to undefined function: setopt()

 

Going by pure PHP logic this means that the function code is missing.

Now it is related to an object.

If the parent class is missing ( code ) then there is a chance that this function to is not presented.So the best way is to search the code that has this function and check that this file is uploaded or not.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 2 weeks later...
this is your error:

Call to undefined function: setopt()

 

Going by pure PHP logic this means that the function code is missing.

Now it is related to an object.

If the parent class is missing ( code ) then there is a chance that this function to is not presented.So the best way is to search the code that has this function and check that this file is uploaded or not.

Satish

I have reinstalled pear and reinstalled the latest version .73. It simply does not work with my set up. Version .5

sort of works. The paypal account side works but the Credit card side is generating this error:

Fatal error: Call to undefined function: authorize() in /hsphere/local/home/montytx/ladybugcostumesonline.com/checkout_process.php on line 108

1100 - Table 'sessions' was not locked with LOCK TABLES

 

select count(*) as total from sessions where sesskey = '9d85fc2bb8058966151e5b71ee2ed336'

 

[TEP STOP]

 

 

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...