Primary email address woes

Andy Kopciuch akopciuch at bddf.ca
Tue Oct 20 18:54:33 CEST 2015


> Thanks Andy.  Don't know why I didn't find those.
> 
> I did what the site says, but I can't apply the changes:
>
> root at kolab:/usr/share/doc/kolab-webadmin# php -l
> sample-insert-user_types.php
> No syntax errors detected in sample-insert-user_types.php
> root at kolab:/usr/share/doc/kolab-webadmin# php sample-insert-user_types.php
> PHP Warning:  require_once(lib/functions.php): failed to open stream: No
> such file or directory in
> /usr/share/doc/kolab-webadmin/sample-insert-user_types.php on line 8
> PHP Fatal error:  require_once(): Failed opening required
> 'lib/functions.php' (include_path='.:/usr/share/php:/usr/share/pear') in
> /usr/share/doc/kolab-webadmin/sample-insert-user_types.php on line 8
> 
> 
> I'm not a PHP guy, so I'm not sure what to do.
> 


You should not be operating directly on the files in /usr/share/doc/kolab-
webadmin

Step #4 was to copy the file to /usr/share/doc/kolab-webadmin into 
/usr/share/kolab-webadmin

The errors are because it can not find the other included files it requires 
because they do not exists underneath the /usr/share/doc folder.


Andy


More information about the users mailing list