Warning: session_start(): Cannot send session cookie - headers already sent by //gallery2/lib/support/GallerySetupUtilities.clas

fernandopolania

Joined: 2006-09-28
Posts: 2
Posted: Thu, 2007-05-17 19:03

Please help. I get the following errors as soon as I try to configure Gallery 2.2.1:

Warning: session_start(): open(/tmp/php-ses/sess_3b0ffa59a2e2bf5cb773a4fd496a343b, O_RDWR) failed: Permission denied (13) in //gallery2/lib/support/GallerySetupUtilities.class on line 348

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at //gallery2/lib/support/GallerySetupUtilities.class:348) in //gallery2/lib/support/GallerySetupUtilities.class on line 348

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at //gallery2/lib/support/GallerySetupUtilities.class:348) in //gallery2/lib/support/GallerySetupUtilities.class on line 348

Warning: session_destroy(): Session object destruction failed in //gallery2/lib/support/GallerySetupUtilities.class on line 67

Warning: session_start(): open(/tmp/php-ses/sess_65e3f61fd943e96d703bafee0ce25890, O_RDWR) failed: Permission denied (13) in //gallery2/lib/support/GallerySetupUtilities.class on line 75

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at //gallery2/lib/support/GallerySetupUtilities.class:348) in //gallery2/lib/support/GallerySetupUtilities.class on line 75

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at //gallery2/lib/support/GallerySetupUtilities.class:348) in //gallery2/lib/support/GallerySetupUtilities.class on line 75

I use www.gate.com for hosting. Thank you in advance.

PHP Version 4.3.10

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags On On
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
error_append_string no value no value
error_log syslog syslog
error_prepend_string no value no value
error_reporting 2039 2039
expose_php Off Off
extension_dir /usr/local/lib/php4 /usr/local/lib/php4
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/php/include .:/usr/local/php/include
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 90 90
max_input_time -1 -1
memory_limit 40M 40M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 40M 40M
precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir /usr/bin /usr/bin
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/lib/sendmail -t -i /usr/lib/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 40M 40M
upload_tmp_dir /tmp/php-upl /tmp/php-upl
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.58
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient

Gallery version 2.2.1:
Operating system (Linux):
Browser (ie 6):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-05-17 20:34

topic moved to the g2 support forums.

your webhost needs to configure php's session extension correctly.

it looks like the webserver / your account can't write to /tmp/php-ses/ . that's the problem.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
fernandopolania

Joined: 2006-09-28
Posts: 2
Posted: Wed, 2007-05-23 16:23

Thank you for your reply. What exactly do I tell them (the hosting company) to do? I'm a newbie.Thanks again.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-05-23 16:33

just show them the errors. configuring php's session extension is really basic stuff for any webhost.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage