You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I'm in the process of moving to a new hosting company. I've moved all my files and database and I'm running the installer. It shows all pear modules are up to date.
When I get to step 8/9 I get the following error for all three types of sendmail connections:
Script Execution Error
count(): Parameter must be an array or an object that implements Countable
File: /pear/Mail/mimePart.php Line: 314 Error Number: 2
Any input is appreciated.
Offline
You've said you're sure PEAR is fully updated in the install - that would have been the first thing I would have checked. Double-check this by looking at {private}/pear in your install. Do you see new classes like Mail2 there? If so, that means you are fully updated. If not, run your installer and update PEAR. Please post back if PEAR is in fact fully updated and you still have the error. Also, please let us know which PHP version you're running on the new server. Thank you.
Offline
Pear2 folder is there. When I run installer, I install/update the pear modules and it tells me that everything is installed and up to date. I just tried to overwrite the files and just got the following error:
Fatal error: Cannot use result of built-in function in write context in /home/d4uh/core-private/pear/Archive/Tar.php on line 662
Offline
PHP 7.2. I can't seem to find the location for which version of 8 I am using.
Offline
Only our K9 platform has been fully tested with PHP7. You may or may not have issues with V8 and lower on PHP7. The max tested version of PHP for V8 is PHP 5.6. The PEAR modules are all PHP7 compatible, though. You might get by with picking up a new installer here:
https://central.kryptronic.com/public/i … rtpro8.zip
The error you're getting is because your installer.php script is out of date and trying to use PEAR::Mail instead of PEAR::Mail2. You will definitely want to update to the latest version 8 released as well (version 8.0.9), just to be safe:
https://central.kryptronic.com/public/n … 2015A.html
Offline
I went to switch to php 5.6 and it looks like I was mistaken and I am running 5.6 and already using the new installer.
Offline
I just checked, and for some odd reason (probably because I was updating installer packages earlier this week), the V8 installer was out-of-date on the central server. I apologize for the trouble. Please grab the installer again from:
https://central.kryptronic.com/public/i … rtpro8.zip
I've ensured it's the current version that uses PEAR::Mail2.
Offline