[imp] PHP Parse error: syntax error, unexpected T_VARIABLE in imp/config/conf.php on line 4

Simon Brereton simon.buongiorno at gmail.com
Thu Oct 25 18:52:18 UTC 2012


On 25 October 2012 14:45, Simon Brereton <simon.buongiorno at gmail.com> wrote:
> Hi
>
> I set imp/config/conf.php to be owned and writeable by the webserver,
> generated the configuration, but after the file is written I get the
> above error:
>
> Line 4 reads:
> $conf['user']['autocreate_special'] = true;
>
> I don't see any problem with it - and it's my Horde4 install like that
> (I'm trying to set up Horde5).

Fixed - there was a typo higher up in the file.  However, the problem
I was trying to fix has not been fixed.

I get this on configuration panel
No version found in your configuration. Regenerate configuration.

And no matter how often I generate the file, I still have this error.
Googling only reveals an error from Horde3.  The config file looks
like:



  1 <?php
  2 /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
  3 // $Id: redacted
  4 $conf['user']['autocreate_special'] = true;
  5 $conf['user']['select_sentmail_folder'] = false;
  6 $conf['user']['allow_folders'] = true;
  7 $conf['user']['allow_view_source'] = true;
  8 $conf['server']['server_list'] = 'none';
  9 $conf['server']['fixed_folders'] = array('Drafts', 'Outbox',
'Sent', 'Trash');
 10 $conf['msgsettings']['filtering']['words'] = './config/filter.txt';
 11 $conf['msgsettings']['filtering']['replacement'] = '****';
 12 $conf['spam']['spamfolder'] = true;
 13 $conf['spam']['email'] = 'redacted';
 14 $conf['spam']['email_format'] = 'digest';
 15 $conf['spam']['program'] = '/usr/bin/spamassassin -r %u';
 16 $conf['spam']['reporting'] = true;
 17 $conf['notspam']['spamfolder'] = true;
 18 $conf['notspam']['email_format'] = 'digest';
 19 $conf['notspam']['program'] = '/usr/bin/spamassassin -k %u';
 20 $conf['notspam']['reporting'] = true;
 21 $conf['compose']['use_vfs'] = true;
 22 $conf['compose']['link_all_attachments'] = false;
 23 $conf['compose']['link_attachments_notify'] = true;
 24 $conf['compose']['link_attach_size_limit'] = 0;
 25 $conf['compose']['link_attachments'] = true;
 26 $conf['compose']['attach_size_limit'] = 0;
 27 $conf['compose']['attach_count_limit'] = 0;
 28 $conf['compose']['convert_to_related'] = true;
 29 $conf['compose']['reply_limit'] = 200000;
 30 $conf['compose']['ac_browser'] = 150;
 31 $conf['compose']['ac_threshold'] = 3;
 32 $conf['maillog']['use_maillog'] = true;
 33 $conf['sentmail']['params']['threshold'] = 60;
 34 $conf['sentmail']['params']['limit_period'] = 24;
 35 $conf['sentmail']['params']['table'] = 'imp_sentmail';
 36 $conf['sentmail']['params']['driverconfig'] = 'horde';
 37 $conf['sentmail']['driver'] = 'Sql';
 38 $conf['tasklist']['use_tasklist'] = true;
 39 $conf['notepad']['use_notepad'] = true;
 40 /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

I have the same issue with turba.  Any help would be appreciated.

Thanks.

Simon


More information about the imp mailing list