October 17, 2017, 12:29:02 AM

Vita-Nex: Core



ServUO
Ultima Shards: Multiverse

JetBrains

User Info

 
 
Welcome, Guest. Please login or register.

Who's Online

  • Dot Guests: 4
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Advertisment

Current Board

Support  >  Module Support

Give and receive help and advice to do with project modules (Core Modules). This board is NOT for custom module support, only stock project modules.


Author Topic: ADM Assistance  (Read 18096 times)

0 Members and 1 Guest are viewing this topic.

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
ADM Assistance
« on: May 19, 2015, 02:54:48 PM »
I am having issues with my ADM now that I have moved my server from PHP 5.4 to PHP 5.6

I get this error in my logs now

There was a problem connecting to the IPN server

I also get this error log: 18-Apr-2015 22:14:57 UTC] PHP Strict Standards:  Non-static method MySQL::query() should not be called statically in /home/rebirthu/public_html/ADM/IPN.php on line 205


Please let me know how to fix.

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: ADM Assistance
« Reply #1 on: May 19, 2015, 05:22:40 PM »
Change the '::' to '->' on that line, it should fix it.

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #2 on: May 20, 2015, 12:07:09 AM »
Change the '::' to '->' on that line, it should fix it.

I made that change and now it doesn't even write to the log.

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: ADM Assistance
« Reply #3 on: May 20, 2015, 04:27:18 PM »
If you have no errors, then it is working.
If you want to enable logging, you have to change the option in the config file.
Make sure your /Logs directory is secured and/or password protected, for the safety of your donators.

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #4 on: May 21, 2015, 10:07:16 PM »
I have had this module going for over a year.  This just started happening when i went from 5.4 to 5.6 in PHP .   The error log no longer shows errors, But now it doesn't even write to the transaction log like it did before and still doesn't post to the database.  I have the config file the same as it was before.  Nothing has changed on the Database information.

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: ADM Assistance
« Reply #5 on: May 21, 2015, 10:33:31 PM »
Hmm, that is strange.

Most of the errors are suppressed for security reasons, if you remove the @ prefix from the function calls in IPN.php, any errors should then be logged.

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #6 on: May 23, 2015, 03:18:44 PM »
Hmm, that is strange.

Most of the errors are suppressed for security reasons, if you remove the @ prefix from the function calls in IPN.php, any errors should then be logged.

So looking at the mysql.php   it shows that mysql_pconnect() is now a depricated behavior as of 5.5 and that you must use mysqli to connect.   I am no longer getting this in an error log on line 205.   But i still get this on the transaction logs

ERROR:
There was a problem connecting to the IPN server (www.paypal.com)

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: ADM Assistance
« Reply #7 on: May 23, 2015, 06:30:58 PM »
Hmm, such is the burden of being restricted to lower PHP versions.

My webhost recently upgraded PHP too, so it will be easier for me to write compliant code.

You need to change all function calls named mysql_* to mysqli_*
There are also some function signatures that change, but Googling 'PHP mysqli_' will make it easier to determine.
Some of the arguments have the position of the connection resource object different.

If you get stuck, post here and I'll help.

I will update the download with an updated IPN.php soon.

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #8 on: May 28, 2015, 05:47:56 PM »
Thank you Vorspire. I haven't had a change to go into depth on changing the IPN.php and MySQL.php to hopefully get it to work with XAMPP and 5.6

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #9 on: July 21, 2015, 03:28:05 AM »
Have you had any chance to update this?  I haven't had a chance to work on it until now. I haven't gotten it work, but this is what I did
« Last Edit: July 21, 2015, 04:24:59 AM by ruaduck »

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #10 on: July 28, 2015, 04:28:36 AM »
So after diving into it, it seems that there is something wrong between my server and Paypal.  I am not sure if the CURL is processing correctly and i am not quite sure how to test it.

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: ADM Assistance
« Reply #11 on: July 28, 2015, 10:44:34 PM »
I didn't update the PayPal IPN PHP because it will be obsolete with the next VNc AutoDonate module release, which will handle the IPN by listening for HTTP requests and handling them just like the PHP does. MySQL will still be an option, but will no longer be required as the internal IPN handler will be able to directly communicate with PayPal.

An automatically generated donation form can be injected in to your website with one line of JavaScript too; this feature has been developed and tested already.

The aim of the updates is to make sure everything works with as little fuss and configuration as required; currently, the AutoDonate module is the only module that requires 3rd party files in order to function properly; this will no longer be the case.

ETA on VNc 3.0 release is uncertain, but should be very soon, within the week.

Offline Greed

  • User
  • *
  • Posts: 21
  • Likes: 2
    • View Profile
Re: ADM Assistance
« Reply #12 on: July 29, 2015, 06:22:07 AM »
Wowwww awesome!!!!! =D

Btw Lee, I finally figured out this was my issue all along. I stupidly didn't realize the webserver uses 5.6.22 (a thousand apologies for wasting your time before). Please forgive me! Also super excited about the next release. Woohoo!
« Last Edit: July 29, 2015, 06:26:00 AM by Greed »

Offline ruaduck

  • User
  • *
  • Posts: 11
  • Likes: 2
    • View Profile
    • Rebirth UO
Re: ADM Assistance
« Reply #13 on: July 29, 2015, 03:21:46 PM »
You are awesome Vorspire!  Thanks for everything you are doing!

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: ADM Assistance
« Reply #14 on: July 29, 2015, 11:41:51 PM »
Glad you got it fixed though :D There is no time wasted, every journey has a destination worth visiting at least once.

 

Download VNc

Recent Topics

Vita-Nex: Core 4.0.0.0 Released by Vorspire
[January 15, 2017, 08:56:41 PM]


Effects Help by Vorspire
[January 15, 2017, 06:47:33 PM]


Ultima Online Phoenix is Ready to Begin! by Abracadabra2.0
[December 13, 2016, 01:14:49 AM]


How To: Deceit Braziers Spawn/Despawn by Abracadabra2.0
[November 26, 2016, 07:34:13 PM]


Installing VNC 3.0.0.1 by Johnny
[August 27, 2016, 06:49:40 PM]


JSON Web Stats Stuck Problem by Argalep
[May 27, 2016, 06:16:55 AM]


Modules not Working after being Enabled by ProfessorChaos
[May 19, 2016, 02:44:06 AM]


Issues Installing VitaNex Core 3.0.0.1 on RunUO 2.7 by ProfessorChaos
[May 18, 2016, 09:30:37 PM]


ADM Assistance by Vorspire
[May 18, 2016, 09:23:25 PM]


Suggestion by Vorspire
[April 24, 2016, 06:23:15 PM]

Comments

Refresh History
  • Moderated
  • Terrapin: Hello - and thanks - thought I would check VNC out since using it in JustUO server...
    April 22, 2015, 10:20:17 PM
  • Vorspire: Hello!
    December 16, 2014, 07:11:55 PM
  • Tek: Hello
    December 15, 2014, 08:51:25 AM
  • magnus_mythos: hello
    November 18, 2014, 05:30:22 AM
  • Antares_UO: thanks Vospire
    June 15, 2014, 06:52:17 PM
  • jezika: Thank you is not enough Vorspire! This system is exactly what I was looking for.
    June 04, 2014, 06:01:11 AM
  • Vorspire: VNc 2.1.1.0 Released!
    March 10, 2014, 01:33:06 AM
  • Vorspire: VNc 2.1.0.0 Released!
    January 27, 2014, 12:57:51 PM
  • Kassandra: Many thanks for building my shard for me.  It is awesome, I'm extremely pleased with what you've done and the ongoing support!!!
    November 20, 2013, 01:31:08 AM
  • Regnak: Great news ! Thanks Vorspire :)
    November 16, 2013, 01:55:16 PM
  • Vorspire: VNc: 2.1.0.0 is being developed!
    November 13, 2013, 08:38:35 AM
  • Vorspire: VNc 2.0.0.5 Released!
    September 11, 2013, 12:49:42 AM
  • Vorspire: VNc 2.0.0.4 Released!
    August 23, 2013, 12:47:54 AM
  • Vorspire: VNc 2.0.0.3 Released!
    July 05, 2013, 12:50:13 AM
  • Kaemalux: :-)
    July 01, 2013, 01:51:13 PM
  • Vorspire: VNc 2.0.0.2 Released!
    June 20, 2013, 08:29:19 PM
  • scrlked: I am trying it out on my shard. This is taking UO to the next level.
    June 13, 2013, 11:11:16 AM
  • Vorspire: VNc 2.0.0.0 Released!
    June 03, 2013, 12:53:33 AM
  • ST33LDI9ITAL: huzzah, going on vacation in for 2 weeks soon, plan to catch up on some runuo stuff. looking forward to taking some time with it. good job!
    February 26, 2013, 06:02:30 AM
  • Vorspire: The latest, most optimised version of VNc is not far from release.
    February 22, 2013, 03:16:51 AM

Carbonate design by Bloc
variant: carbon
SMF 2.0.11 | SMF © 2015, Simple Machines
SimplePortal 2.3.6 © 2008-2014, SimplePortal