I have recently install SuiteCRM 7.9.8 and there was an error (Canât remember the error message) when trying to send emails to contacts. I searched the forum at the time and saw others had also experienced the same error. At the time I selected âExternal Email clientâ under the profile settings. Today I upgraded to 7.9.9 and the email error has now changed to âUndefinedâ when selecting an email template and my email settings do not seem to be able to send even a test email from the backend but they were able to on 7.9.8.
Is there something I have missed or is this still an issue?
Many thanks for your reply.
I have successfully repaired many items but when I get to
âRepair JS filesâ after about 30seconds it says âUndefinedâ in the list or processess.
âRepair inbound email accountsâ it just hangs and does not complete, I have waited 5 minutes.
Also I am running MAMP as a local server.
I have tried changing permissions in the config.php file based on a previous post but it did not make any difference.
Your installation is really struggling to work⌠have a look at your web server log. In Ubuntu Apache itâs called php_errors.log, I donât know what it is called in MAMP.
I found this error in the log but I donât know how to fix it? " A non well formed numeric value encountered in /Applications/MAMP/htdocs/SuiteCRM-7.9/include/ListView/ListViewSmarty.php on line 109"
I have already repaired all items in the admin section and I canât see anything that relates to the error.
I opened up ListViewSmarty.php and this is what it says at line 109
foreach($this->displayColumns as $name => $params) {
$this->displayColumns[$name][âwidthâ] = floor($this->displayColumns[$name][âwidthâ] / $adjustment);
// figure out which contextMenu objectsTypes are required
I could not find php.ini in SuiteCRM folders but I found a series of php.ini folders in the MAMP folders, with what appears to be PHP folder version idâs but there is not a folder for my current PHP version. I could not find a php.ini that seemed relevant, can you point me in the right direction please?
Thatâs a question for the MAMP documentation, I donât know where they put filesâŚ
But if you go in SuiteCRM to Admin / Diagnosis you can get a phpinfo output which tells you everything about your PHP settings - location of php.ini files, memory sizes, etc.
I did the diagnostic and found the PHP file for MAMP and realised I had been there in the last 24 hours and didnât realise!!! I doubled the Memory from 128mb to 256mb and max_execution_time = from 30 to 130.
I stopped and restarted the server and did a rebuild of SuiteCRM and then tried to repair the âJS Filesâ but the undefined error still occurs.
Interesting update:
I just installed Version 7.8.10 and I can successfully send emails as expected. Is there an issue with 7.9.9? or is there something wrong with my installation?
If my installation is wrong can you guide me to link the existing database from MAMP into a new suiteCRM 7.9.9 installation. I think I backup the database from MAMP, install a new version of SuiteCRM 7.9.9 and then modify the config.php to point to the database???
Can you please confirm if my database transfer method is correct or tell me if there is something wrong with my install or version 7.9.9?
It was something with the installation as I binned it and reinstalled and now email functions as normal. Now I am not sure if my database was also binned or if it is kept with MAMP, I am a beginner and not a programmer or IT person so I am not sure.
FYI, I just came back to my new install after an hour and the email function is back to âError Sending Email. Please contact your administrator for assistance.â
I have also established that it is somehow a database issue as I have fixed it to working again.
When checking the MAMP database I saw that there were other email outbound and inbound settings that I had not put there and it appears that SuiteCRM was using them. These other settings must have been somehow entered after I installed it earlier today, perhaps some code or whatever that is not doing what it is supposed to. I deleted them and reentered the same as I did before and now it sends emails again. The question I have is why is this happening? As you appear to be involved with development? could you please forward this on, if it is helpful.
(warning: donât post results from that online, they will contain your password - you must obfuscate first)
About using any of this information for development, I am still too suspicious of your installation, and anyway you did too much sysadmin kung-fu to make any of this useful. Iâd have to understand all the database imports and exports you made, etc. But if you can find a clean, reproducible case, of course itâs interesting.