The website is for sale. Check here for more information.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.
[Solved] Mysubscriptions insert into DB not working
Everything works perfectly fine up until line 286 in mysubscriptions_paypal2.php.
It just either hangs or crashes. 
I am not that experienced with php, but I tried both exceptions and assigning the result of the query to a variable and get it to show me an error, but it never reached that line.
The only things I have changed is the email and I inserted this on line 104 because I am lazy: 
"curl_setopt($ch, CURLOPT_CAINFO, "C:/cert/cacert.pem");"
I also want to inform you that I am running everything on IIS and everything else in the plugin works perfectly fine this far (I can manually create users and they get inserted, I can create plans, I see the IPN in paypal, all tables have been created, the task file is working fine etc).
Emails are also working fine with debugging btw.
The way I found out it was that exact line is just by pure trial and error and inserting email calls before and after to see where the code never reached.

Unfortunately you do not have sufficient rights to view replies in this thread. For full access, consider upgrading .

Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2021 MyBB-Plugins Forums.


  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here