Tuesday as I was testing mail press, I decided to uninstall and re-install to see if i could fix some registry data. Apon re-installing the Pluggin decided to restrict me from installing because I did not have PHP 5.2… WHY!? now did it have to have this new version of PHP? where I already had it installed prior to unistalling.
So yesterday, I devoted my time into installing PHP 5.2.9.. Since our website (www.tcbcorp.com) is an intense piece of software developed on PHP 5.1.4 I wanted to do a side-by-side install of this new version of PHP. This is so that any backwards incompatibilies would not crash our site..
Well, as i was installing, PHP 5.1.4 decided to crash. So I was baffled at what was going on.. I was doing research to figure it out and was failing to come up with any explinations. In my research I found a nice help site at www.iis-aid.com.
I fused with it till 5pm yesterday then I decided to wipe out everything, cross my fingers with the backward compatabiliy, and install the new software..
Got it all installed and ran into yet another issue.. my mysql driver was not working.. err.. but when i loaded php.exe it didn’t give me errors. Then I realized that libmysql.dll was updated and i had not updated it yet.. so at 10:20 last night I updated and removed the old files.. AND BINGO!! the site was up and I was able to get some sleep..
Today, I have hammered out the mailing system of the newsletter.. found two things.
1) the rest of the mail system is clean just pushing and querying the newsletters. so I am confident the my assumption of the MailPress.php Lines 109->118 having the “process()” function before updating the variables is causing the “query_post()” in the mp_newsletter.class.php on lines 149, 158 to process the newsletters a second time before php ends the execution of the script.
2)I need to register our users to the desired newsletters.. Of course we have some who have disabled their settings already, so hopefully I will not be overwritting those settings.