In config_php
you have site_url
and host_name
These can be overwritten in config_override.php
But what exactly are these curl calls youâre discussing? Which addresses are they using?
In config_php
you have site_url
and host_name
These can be overwritten in config_override.php
But what exactly are these curl calls youâre discussing? Which addresses are they using?
Itâs the SuiteCRM Pre-Installation Checklist. To see what Iâm talking about, visit https://digmembers.ditsquad.work/install.php
I think you can installed it since those are warnings:
Just make sure you have these PHP modules installed:
This seems to be the code:
core/backend/Install/Service/InstallPreChecks.php
You can check how it is forming the URL there
I clicked on âIgnore Warnings and Proceedâ. Now, Iâm getting a database failure message. the suitecrm.log file shows this:
Thu Oct 24 18:39:55 2024 [460638][-none-][FATAL] Mysqli_query failed.
Thu Oct 24 18:39:55 2024 [460638][-none-][FATAL] Query Failed: SELECT id FROM outbound_email WHERE type = âsystemâ AND deleted = 0: MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Thu Oct 24 18:39:55 2024 [460638][-none-][SECURITY] OutboundEmail::checkSavePermissions - not logged in - skipping check
Thu Oct 24 18:39:55 2024 [460638][-none-][FATAL] Mysqli_query failed.
Thu Oct 24 18:39:55 2024 [460638][-none-][FATAL] Query Failed: INSERT INTO outbound_email (id,name,type,user_id,mail_sendtype,mail_smtptype,mail_smtpserver,mail_smtpport,mail_smtpuser,mail_smtppass,mail_smtpauth_req,mail_smtpssl) VALUES (â8d7e767a-fab6-445a-6e16-671a86dd3648â,âsystemâ,âsystemâ,â1â,âSMTPâ,âotherâ,ââ,25,ââ,ââ,1,0): MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Looks like the Installation PHP code isnât creating all the tables and columns.
I wish the logfiles show where itâs called from.
Have you create database for your SuiteCRM.
You can check database configueation in config.php
file and .env.local
file in root directory.
This table looks weird. If you donât have any have data in it. You can drop that table.
Created database? Yes, I created an empty database. I had to in order to have the database name, user and password.
Table âdigdiggers-353035393faf.outbound_emailâ
Database name is digdiggers-353035393faf
Table name is outbound_email
That table does not exist in the database.
The installation code DID create a bunch of other tables âŚjust not the outbound_email one.
if database is empty
just delete .env.local from suitecrm root directory
and from
public/legacy
config.php
config_override.php
config_si.php
important: your database password should not contain any special characters, letters and digits only
Thank you!
I did this and was able to get back to the Pre-Installation Checklist. My hosting company wanted to see the cURL warnings.
I changed the database password â it had special characters. I like using special characters to make the password stronger.
ROUTE ACCESS CHECK
Curl Request on Main Page:
Curl Request on Api:
I tried adding a line of code to set another curl option to false but that didnât work.
CURL_SSL_VERIFYSTATUS
So, I âhardcodedâ the $baseUrL with the https://(address) and that took care of the 2 cURL warnings.
So, Iâm now in the next phase of the install. Configuration. I put in the database fields (host, name, passwrod, user). and clicked "Proceed button. It came back with an error message. âLBL_ACTION_ERRORâ I have NO clue what the error message is
Iâm quitting for the evening.
Do not use special characters in the password while installing it.
You can check the errors in the log file.
Also, check your db config in .env.local file or config.php file.
Make sure it is correct.
Thank you. However, I responded previously that I changed the db password because it had special characters. Now, it only has letters and digits.
After fixing that, and restarted the install , it did proceed to the next step. The env.local file has the db connection string and the app secret key. I know the db info is correct because it did create the database.
I checked the suitecrm.log file and it points to the missing table outbound_email. Looks like the database setup SQL file is missing the outbound_email table definition and did not create it.
From the suitecrm.log file
Sun Oct 27 02:28:06 2024 [2711130][-none-][FATAL] Mysqli_query failed.
Sun Oct 27 02:28:06 2024 [2711130][-none-][FATAL] Query Failed: SELECT id FROM outbound_email WHERE type = âsystemâ AND deleted = 0: MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Sun Oct 27 02:28:06 2024 [2711130][-none-][SECURITY] OutboundEmail::checkSavePermissions - not logged in - skipping check
Sun Oct 27 02:28:06 2024 [2711130][-none-][FATAL] Mysqli_query failed.
Sun Oct 27 02:28:06 2024 [2711130][-none-][FATAL] Query Failed: INSERT INTO outbound_email (id,name,type,user_id,mail_sendtype,mail_smtptype,mail_smtpserver,mail_smtpport,mail_smtpuser,mail_smtppass,mail_smtpauth_req,mail_smtpssl) VALUES (â19159315-22aa-c67a-c86e-671da512dd70â,âsystemâ,âsystemâ,â1â,âSMTPâ,âotherâ,ââ,25,ââ,ââ,1,0): MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Sun Oct 27 02:29:13 2024 [2712767][-none-][FATAL] Mysqli_query failed.
Sun Oct 27 02:29:13 2024 [2712767][-none-][FATAL] Query Failed: SELECT id FROM outbound_email WHERE type = âsystemâ AND deleted = 0: MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Sun Oct 27 02:29:13 2024 [2712767][-none-][SECURITY] OutboundEmail::checkSavePermissions - not logged in - skipping check
Sun Oct 27 02:29:13 2024 [2712767][-none-][FATAL] Mysqli_query failed.
Sun Oct 27 02:29:13 2024 [2712767][-none-][FATAL] Query Failed: INSERT INTO outbound_email (id,name,type,user_id,mail_sendtype,mail_smtptype,mail_smtpserver,mail_smtpport,mail_smtpuser,mail_smtppass,mail_smtpauth_req,mail_smtpssl) VALUES (â1d8d59c4-7199-afbb-97bf-671da5e6ebedâ,âsystemâ,âsystemâ,â1â,âSMTPâ,âotherâ,ââ,25,ââ,ââ,1,0): MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Sun Oct 27 13:35:06 2024 [3744329][-none-][FATAL] Mysqli_query failed.
Sun Oct 27 13:35:06 2024 [3744329][-none-][FATAL] Query Failed: SELECT id FROM outbound_email WHERE type = âsystemâ AND deleted = 0: MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
Sun Oct 27 13:35:06 2024 [3744329][-none-][SECURITY] OutboundEmail::checkSavePermissions - not logged in - skipping check
Sun Oct 27 13:35:06 2024 [3744329][-none-][FATAL] Mysqli_query failed.
Sun Oct 27 13:35:06 2024 [3744329][-none-][FATAL] Query Failed: INSERT INTO outbound_email (id,name,type,user_id,mail_sendtype,mail_smtptype,mail_smtpserver,mail_smtpport,mail_smtpuser,mail_smtppass,mail_smtpauth_req,mail_smtpssl) VALUES (âbdd59f47-da77-bb33-1ffa-671e417cfacfâ,âsystemâ,âsystemâ,â1â,âSMTPâ,âotherâ,ââ,25,ââ,ââ,1,0): MySQL error 1146: Table âdigdiggers-353035393faf.outbound_emailâ doesnât exist
I will attempt to create that missing tablee using the direct SQL statements I see in the log file.
The outbound_email table SQL code:
outbound_email.zip (1005 Bytes)
You can run this SQL query and create that table in DB.
If you had a failed installation, itâs better to repeat it and solve any problems, rather than attempting to piece it together manually. You donât know what else is missing, and you might only find out later that something else is brokenâŚ
You are correct and that is a true statement. My point is that this is the SECOND time I did the install from the beginning. Both times failed with the missing outbound_email table. I looked at the code, and itâs clear to me, that itâs writing entries to the log files âŚbut which logfile it is writing to is the problem. and theyâre not all in ONE folder. This makes troublshooting a bit more difficult.
Thank you for the SQL file.
Iâm not sure why this is not working for me and works just fine for others.
Yeah, even I am curious, why it is not running for you. Maybe in this attempt, you can download installation zip again from the website and run it.
That outbound_email SQL file fixed the last issue.
Now, I canât log in. I even looked in the config.si.php file and made sure I"m using the correct username and password. the suitecrm.log file showed a FATAL error â missing bean file modules/users/user.php. but the file is there.
Iâm going to start over. I have to put this on the back burner for now.
Set permission and owneship correct
clear symfony cache or delete cache/prod
Check in config.php
file
âsite_urlâ