XAMPP 1.8.2 Permissions Problem When Installing Joomla! 2.5

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

XAMPP 1.8.2 Permissions Problem When Installing Joomla! 2.5

Postby MgShaw » 29. July 2013 23:17

I am trying to install Joomla! 2.5 on XAMPP 1.8.2 (On an older version, it was working fine)

When I try to set it up, I keep getting the following errors:

Code: Select all
Warning: session_start(): open(/var/php/sess_jbk3j1c9fld2b6n120k77bc6i5, O_RDWR) failed: No such file or directory (2) in /Applications/XAMPP/xamppfiles/htdocs/rsapptpro_repeatappt/libraries/joomla/session/session.php on line 532


The directory XAMPP/var/php does exist, and permissions are set to 777 from the XAMPP directory all the way down to /var/php.

Furthermore, the session file ( sess_jbk3j1c9fld2b6n120k77bc6i5 ) appears to have been created.
The session portion of the php.ini file is as follows:

Code: Select all
[Session]
; Handler used to store/retrieve data.
; http://php.net/session.save-handler
session.save_handler=files

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; The path can be defined as:
;
;     session.save_path = "N;/path"
;
; where N is an integer.  Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories.  This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
;         You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
;         use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
;     session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
;session.save_path = "/tmp"
session.save_path="/var/php"


What the heck am I missing???
MgShaw
 
Posts: 2
Joined: 28. July 2013 17:53
XAMPP Version: 5.5.19
Operating System: Mac OSX 10.8.4

Re: XAMPP 1.8.2 Permissions Problem When Installing Joomla!

Postby MgShaw » 30. July 2013 00:22

Found it ... after a bunch more experimentation:

The session.save_path variable now needs to be fully qualified relative to the Mac OSX root folder:

Code: Select all
session.save_path="/Applications/XAMPP/xamppfiles/var/php"
MgShaw
 
Posts: 2
Joined: 28. July 2013 17:53
XAMPP Version: 5.5.19
Operating System: Mac OSX 10.8.4

Re: XAMPP 1.8.2 Permissions Problem When Installing Joomla!

Postby Beltran » 30. July 2013 08:10

This issue was fixed in 1.8.2-1 (with PHP 5.4) and 1.8.3-0 (with PHP 5.5). Thanks for reporting it.
User avatar
Beltran
Power-User
 
Posts: 83
Joined: 22. March 2013 12:29
XAMPP Version: 5.5.19
Operating System: Windows, Linux, OS X


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests