safe_mode is enabled or an open_basedir is set in

Hello everybody! I have a problem with the allocation of points to the leads. I am familiarizing myself with the tool so I’ve created a simple point by simply accessing the web and smart list for people accessing from Spain.

The leads are generated but not reach the database. Points of leads is also not generated, nor are organized within the smart lists.



This is the error at top of Mautic´s dashboard:



Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/gestionmipyme.es/marketing.gestionmipyme.es/vendor/joomla/http/src/Transport/Curl.php on line 165



Safe_mode is off. I´m using 5.3 PHP version. It´s a VPS.



Thank´s regards!

Hello everybody! I have a problem with the allocation of points to the leads. I am familiarizing myself with the tool so I’ve created a simple point by simply accessing the web and smart list for people accessing from Spain.
The leads are generated but not reach the database. Points of leads is also not generated, nor are organized within the smart lists.

This is the error at top of Mautic´s dashboard:

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/gestionmipyme.es/marketing.gestionmipyme.es/vendor/joomla/http/src/Transport/Curl.php on line 165

Safe_mode is off. I´m using 5.3 PHP version. It´s a VPS.

Thank´s regards!

If safe mode is off then I’m betting it has something to do with the open_basedir. If this is on a VPS and you have access to the PHP.ini you should take a look and see what the settings are related to the open_basedir var. You don’t want it set, or turned on.

Let me know if you try that and if it works or not.

Thanks!
David

Hi David! I have safe mode off but I haven´t got access to php.ini on my VPS. Now only have that error on my VPS logs:

mod_fcgid: stderr: PHP Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /var/www/vhosts/gestionmipyme.es/marketing.gestionmipyme.es/vendor/joomla/http/src/Transport/Curl.php on line 165

How can I do?

Thanks regards!

Hey!

You need to unset (or turn off) open_basedir. This is quite common. I’d recommend checking this setting/location in your PHP.ini.

; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory ; or per-virtualhost web server configuration file. This directive is ; *NOT* affected by whether Safe Mode is turned On or Off. open_basedir = none

Let me know if that helps!
David

Hi David! I got it but I have a new problem:

[Wed Jun 10 16:39:44.381869 2015] [fcgid:warn] [pid 1543] [client 83.60.113.156:51891] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/gestionmipyme.es/marketing.gestionmipyme.es/app/bundles/CampaignBundle/Views/Campaign/builder.html.php on line 14, referer: http://marketing.gestionmipyme.es/s/campaigns/new

I´ve just installed 1.1.2 version. Mautic doesn´t update leads list and points. What can I do?

Thanks regards! Have a nice day!