Author Topic: Error running installer/index.php  (Read 5781 times)

Offline psandy

  • Newbie
  • *
  • Posts: 5
Error running installer/index.php
« on: February 05, 2012, 02:29:56 AM »
a really fresh install.

FreeBSD 9.0 release #0
Apache 2.2
MySQL Ver 14.14 distribution 5.5.17, for FreeBSD using 5.2
PHP 5.3.10
All just installed on a vrigin install. Apache and MySQL are running AOK.  Point a browser IE9 (yeah, I know) at http://x.x.x.x/roundcube/installer
and I get the following error

Fatal error: Call to undefined function session_start() in /usr/local/www/roundcube/installer/index.php on line 47

I'm afraid my PHP skills are not up to debugging this.  Any pointers or suggestions?
I did have a much earlier version of Roundcube running AOK just wanted to get to the latest version

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Error running installer/index.php
« Reply #1 on: February 05, 2012, 04:31:28 AM »
It looks that you PHP installation has disabled session module.

Offline psandy

  • Newbie
  • *
  • Posts: 5
Error running installer/index.php
« Reply #2 on: February 05, 2012, 05:19:26 AM »
php --ri session tells me session is enabled (note session.auto_start is off as listed in requirements)

Offline psandy

  • Newbie
  • *
  • Posts: 5
Error running installer/index.php
« Reply #3 on: February 05, 2012, 11:12:03 PM »
AN update:

I removed the hand built install.  I then added Roundcube from the FreeBSD ports collection.

Get the same result  Fatal error:  etc

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Error running installer/index.php
« Reply #4 on: February 06, 2012, 12:48:58 AM »
session_start() is a standard php function since it isn't found the session module must be disabled. Try making a file in the same directory as RoundCube with the following code:
Code: [Select]
<?php phpinfo(); ?>And post the output.

Offline psandy

  • Newbie
  • *
  • Posts: 5
part 1
« Reply #5 on: February 06, 2012, 09:37:48 PM »
here 'tis.  the pasted output isn't as "pretty" as the on screen but seems to be readable and make sense.
I am really intrigued that I get the error when installing thru the BSD port cause  in theory that's supposed to put everything in the right place, make the necessary patches etc.

regards
Pete
« Last Edit: February 06, 2012, 09:43:22 PM by psandy »

Offline psandy

  • Newbie
  • *
  • Posts: 5
part 2
« Reply #6 on: February 06, 2012, 09:41:18 PM »
dom
 


DOM/XML

enabled



DOM/XML API Version

20031129



libxml Version

2.7.8



HTML Support

enabled



XPath Support

enabled



XPointer Support

enabled



Schema Support

enabled



RelaxNG Support

enabled



ereg
 


Regex Library

Bundled library enabled



iconv
 


iconv support

enabled



iconv implementation

libiconv



iconv library version

1.13





Directive

Local Value

Master Value

 

iconv.input_encoding

ISO-8859-1

ISO-8859-1

 

iconv.internal_encoding

ISO-8859-1

ISO-8859-1

 

iconv.output_encoding

ISO-8859-1

ISO-8859-1

 

intl
 


Internationalization support

enabled

 

version

1.1.1



ICU version

4.8.1.1





Directive

Local Value

Master Value

 

intl.default_locale

no value

no value

 

intl.error_level

0

0

 

json
 


json support

enabled



json version

1.2.1



libxml
 


libXML support

active



libXML Compiled Version

2.7.8



libXML Loaded Version

20708



libXML streams

enabled



mbstring
 


Multibyte Support

enabled



Multibyte string engine

libmbfl



HTTP input encoding translation

disabled





mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

 



Multibyte (japanese) regex support

enabled



Multibyte regex (oniguruma) version

4.7.1





Directive

Local Value

Master Value

 

mbstring.detect_order

no value

no value

 

mbstring.encoding_translation

Off

Off

 

mbstring.func_overload

0

0

 

mbstring.http_input

pass

pass

 

mbstring.http_output

pass

pass

 

mbstring.http_output_conv_mimetypes

^(text/|application/xhtml\+xml)

^(text/|application/xhtml\+xml)

 

mbstring.internal_encoding

no value

no value

 

mbstring.language

neutral

neutral

 

mbstring.script_encoding

no value

no value

 

mbstring.strict_detection

Off

Off

 

mbstring.substitute_character

no value

no value

 

mysql
 


MySQL Support

enabled

 

Active Persistent Links

0



Active Links

0



Client API version

mysqlnd 5.0.8-dev - 20102224 - $Revision: 321634 $





Directive

Local Value

Master Value

 

mysql.allow_local_infile

On

On

 

mysql.allow_persistent

On

On

 

mysql.connect_timeout

60

60

 

mysql.default_host

no value

no value

 

mysql.default_password

no value

no value

 

mysql.default_port

no value

no value

 

mysql.default_socket

no value

no value

 

mysql.default_user

no value

no value

 

mysql.max_links

Unlimited

Unlimited

 

mysql.max_persistent

Unlimited

Unlimited

 

mysql.trace_mode

Off

Off

 

mysqlnd
 


mysqlnd

enabled

 

Version

mysqlnd 5.0.8-dev - 20102224 - $Revision: 321634 $



Compression

not supported



SSL

supported



Command buffer size

4096



Read buffer size

32768



Read timeout

31536000



Collecting statistics

Yes



Collecting memory statistics

No



Tracing

n/a





Client statistics

 



bytes_sent

0



bytes_received

0



packets_sent

0



packets_received

0



protocol_overhead_in

0



protocol_overhead_out

0



bytes_received_ok_packet

0



bytes_received_eof_packet

0



bytes_received_rset_header_packet

0



bytes_received_rset_field_meta_packet

0



bytes_received_rset_row_packet

0



bytes_received_prepare_response_packet

0



bytes_received_change_user_packet

0



packets_sent_command

0



packets_received_ok

0



packets_received_eof

0



packets_received_rset_header

0



packets_received_rset_field_meta

0



packets_received_rset_row

0



packets_received_prepare_response

0



packets_received_change_user

0



result_set_queries

0



non_result_set_queries

0



no_index_used

0



bad_index_used

0



slow_queries

0



buffered_sets

0



unbuffered_sets

0



ps_buffered_sets

0



ps_unbuffered_sets

0



flushed_normal_sets

0



flushed_ps_sets

0



ps_prepared_never_executed

0



ps_prepared_once_executed

0



rows_fetched_from_server_normal

0



rows_fetched_from_server_ps

0



rows_buffered_from_client_normal

0



rows_buffered_from_client_ps

0



rows_fetched_from_client_normal_buffered

0



rows_fetched_from_client_normal_unbuffered

0



rows_fetched_from_client_ps_buffered

0



rows_fetched_from_client_ps_unbuffered

0



rows_fetched_from_client_ps_cursor

0



rows_affected_normal

0



rows_affected_ps

0



rows_skipped_normal

0



rows_skipped_ps

0



copy_on_write_saved

0



copy_on_write_performed

0



command_buffer_too_small

0



connect_success

0



connect_failure

0



connection_reused

0



reconnect

0



pconnect_success

0



active_connections

0



active_persistent_connections

0



explicit_close

0



implicit_close

0



disconnect_close

0



in_middle_of_command_close

0



explicit_free_result

0



implicit_free_result

0



explicit_stmt_close

0



implicit_stmt_close

0



mem_emalloc_count

0



mem_emalloc_amount

0



mem_ecalloc_count

0



mem_ecalloc_amount

0



mem_erealloc_count

0



mem_erealloc_amount

0



mem_efree_count

0



mem_efree_amount

0



mem_malloc_count

0



mem_malloc_amount

0



mem_calloc_count

0



mem_calloc_amount

0



mem_realloc_count

0



mem_realloc_amount

0



mem_free_count

0



mem_free_amount

0



mem_estrndup_count

0



mem_strndup_count

0



mem_estndup_count

0



mem_strdup_count

0



proto_text_fetched_null

0



proto_text_fetched_bit

0



proto_text_fetched_tinyint

0



proto_text_fetched_short

0



proto_text_fetched_int24

0



proto_text_fetched_int

0



proto_text_fetched_bigint

0



proto_text_fetched_decimal

0



proto_text_fetched_float

0



proto_text_fetched_double

0



proto_text_fetched_date

0



proto_text_fetched_year

0



proto_text_fetched_time

0



proto_text_fetched_datetime

0



proto_text_fetched_timestamp

0



proto_text_fetched_string

0



proto_text_fetched_blob

0



proto_text_fetched_enum

0



proto_text_fetched_set

0



proto_text_fetched_geometry

0



proto_text_fetched_other

0



proto_binary_fetched_null

0



proto_binary_fetched_bit

0



proto_binary_fetched_tinyint

0



proto_binary_fetched_short

0



proto_binary_fetched_int24

0



proto_binary_fetched_int

0



proto_binary_fetched_bigint

0



proto_binary_fetched_decimal

0



proto_binary_fetched_float

0



proto_binary_fetched_double

0



proto_binary_fetched_date

0



proto_binary_fetched_year

0



proto_binary_fetched_time

0



proto_binary_fetched_datetime

0



proto_binary_fetched_timestamp

0

Offline psandy

  • Newbie
  • *
  • Posts: 5
output file
« Reply #7 on: February 06, 2012, 09:46:27 PM »
I think I've done this correctly.  there should be an attachment called phpinfo.txt

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Error running installer/index.php
« Reply #8 on: February 07, 2012, 04:41:17 AM »
It looks to be enabled but since its obviously not working make sure you have php extensions installed.