Menu

SuietASSURED Banner

Save

Save

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Email Undefined error

Email Undefined error 5 days 15 hours ago #57934

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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?
The administrator has disabled public write access.

Email Undefined error 5 days 11 hours ago #57958

  • pgr
  • pgr's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 3537
  • Thank you received: 570
  • Karma: 135
"undefined" errors mean certain parts of your app aren't even loading, anything can happen after that.

Try a few Admin / Repairs: QR&R, Javascript repairs, etc.

If that doesn't work, try deleting "cache/themes" directory.
The administrator has disabled public write access.

Email Undefined error 5 days 3 hours ago #57987

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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.
Last Edit: 5 days 3 hours ago by darrenm.
The administrator has disabled public write access.

Email Undefined error 4 days 20 hours ago #57997

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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.
The administrator has disabled public write access.

Email Undefined error 4 days 14 hours ago #58006

  • pgr
  • pgr's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 3537
  • Thank you received: 570
  • Karma: 135
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.

Also check your php.ini to try increasing

memory_limit
max_execution_time

and retry the Repairs that didn't complete.
The administrator has disabled public write access.

Email Undefined error 4 days 3 hours ago #58031

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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.
Last Edit: 4 days 3 hours ago by darrenm.
The administrator has disabled public write access.

Email Undefined error 4 days 3 hours ago #58032

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
I opened up ListViewSmarty.php and this is what it says at line 109

foreach($this->displayColumns as $name => $params) {
$this->displayColumns[$name] = floor($this->displayColumns[$name] / $adjustment);
// figure out which contextMenu objectsTypes are required
The administrator has disabled public write access.

Email Undefined error 4 days 2 hours ago #58034

  • pgr
  • pgr's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 3537
  • Thank you received: 570
  • Karma: 135
What is your version of PHP?

Did you check those items in config.php that I suggested?
The administrator has disabled public write access.

Email Undefined error 4 days 2 hours ago #58035

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
Using PHP 7.1.8 on MAMP local server.

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?
Last Edit: 4 days 2 hours ago by darrenm.
The administrator has disabled public write access.

Email Undefined error 4 days 2 hours ago #58036

  • pgr
  • pgr's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 3537
  • Thank you received: 570
  • Karma: 135
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.
The administrator has disabled public write access.

Email Undefined error 4 days 1 hour ago #58037

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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.

Thank you very much for your help.
The administrator has disabled public write access.

Email Undefined error 3 days 22 hours ago #58041

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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?
Last Edit: 3 days 21 hours ago by darrenm.
The administrator has disabled public write access.

Email Undefined error 3 days 21 hours ago #58042

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
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.
Last Edit: 3 days 21 hours ago by darrenm.
The administrator has disabled public write access.

Email Undefined error 3 days 21 hours ago #58043

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
I had a backup of my database and I figured out how to create and replace the database. Now I have my database back and a fully functioning SuiteCRM.

I have never worked on a database before so understanding a restore might help me repair future database issues, at least I can restore a backup.
Last Edit: 3 days 21 hours ago by darrenm.
The administrator has disabled public write access.

Email Undefined error 3 days 19 hours ago #58044

  • darrenm
  • darrenm's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
PGR

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."

When sending a test email from the backend error "Error:SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"

I have not changed any email settings since I reinstalled and successfully tested the email function an hour ago.
Last Edit: 3 days 19 hours ago by darrenm.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.068 seconds
Powered by Kunena Forum