joomla create:site duplicates varaibles

16 views
Skip to first unread message

Tony Partridge

unread,
May 16, 2017, 9:34:45 AM5/16/17
to Joomlatools Developers
All the mailer variables are re-declared under misc settings of the Joomla! Global Config.

Johan Janssens

unread,
May 16, 2017, 7:46:48 PM5/16/17
to Joomlatools Developers
Hello Tony, 

Not sure what you mean? Can you explain in more detail and explain how we can replicate your issue?

Johan

Tony Partridge

unread,
May 17, 2017, 5:56:31 AM5/17/17
to Joomlatools Developers
After running:

joomla create:site mynew site

You cannot access it because duplicate variables are added to the Joomla! Global config see:

/* Mail Settings */
public $mailonline = '1';
public $mailer      = 'mail';
public $mailfrom    = '';
public $fromname    = '';
public $massmailoff = '0';
public $replyto     = '';
public $replytoname = '';
public $sendmail    = '/usr/sbin/sendmail';
public $smtpauth    = '0';
public $smtpuser    = '';
public $smtppass    = '';
public $smtphost    = 'localhost';

/* Cache Settings */
public $caching = '0';
public $cachetime = '15';
public $cache_handler = 'file';
public $cache_platformprefix = '0';
public $memcache_persist = '1';
public $memcache_compress = '0';
public $memcache_server_host = 'localhost:3306';
public $memcache_server_port = '11211';
public $memcached_persist = '1';
public $memcached_compress = '0';
public $memcached_server_host = 'localhost:3306';
public $memcached_server_port = '11211';
public $redis_persist = '1';
public $redis_server_host = 'localhost:3306';
public $redis_server_port = '6379';
public $redis_server_auth = '';
public $redis_server_db = 'sites_jevents';

/* Proxy Settings */
public $proxy_enable = '0';
public $proxy_host = 'localhost:3306';
public $proxy_port = '';
public $proxy_user = 'root';
public $proxy_pass = '';

/* Debug Settings */
public $debug = '1';
public $debug_lang = '0';

/* Meta Settings */
public $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
public $MetaKeys = 'joomla, Joomla';
public $MetaTitle = '1';
public $MetaAuthor = '1';
public $MetaVersion = '0';
public $MetaRights = '';
public $robots = '';
public $sitename_pagetitles = '0';

/* SEO Settings */
public $sef = '1';
public $sef_rewrite = '1';
public $sef_suffix = '0';
public $unicodeslugs = '1';

/* Feed Settings */
public $feed_limit = 10;
public $feed_email = 'none';

/* Cookie Settings */
public $cookie_domain = '';
public $cookie_path = '';

/* Miscellaneous Settings */
public $asset_id = '1';
public $mailer = 'smtp';
public $mailfrom = 'ad...@example.com';
public $fromname = 'jevents';
public $sendmail = '/usr/bin/env catchmail';
public $smtpauth = '0';
public $smtpuser = '';
public $smtppass = '';
public $smtphost = 'localhost';
public $smtpsecure = 'none';
public $smtpport = '1025';


Notice the /* Mail Settings */

and the /* Miscellaneous Settings */

They have some of the same variables. 

Many thanks

Steven Rombauts

unread,
May 22, 2017, 5:03:37 PM5/22/17
to Joomlatools Developers
Hi Tony,

Thanks for the report. This issue has been solved a few weeks ago in the console application. You can get the latest version by running this command: composer global require joomlatools/console:v1.4.10 in your Vagrant box. That should solve it right away.

Cheers,
Steven
Reply all
Reply to author
Forward
0 new messages