Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Installation support «  

installation problem

doobie -- on Nov. 28 2004
installation problem using apache mysql and php4
hello,

i get the following error: Fatal error: session_start(): Failed to initialize storage module: user (path: ) in C:\www\yacs\shared\global.php on line 57

i used before drupal and there was a php file where i had to put the information like localhost, database name etc.

how can i get this baby working?
Doobie
7 posts

on Nov. 28 2004


I have also create a blank database called yacs
Bernard
avatar
from nearby-an-airport
Associate, 6745 posts

on Nov. 28 2004


Doobie, have you executed the setup assistant first? This is the script setup.php that is at the top level of the YACS directory.
Doobie
7 posts

inspired from Bernard on Dec. 1 2004


In reply to Bernard:

yes i did, in my case "//localhost/yacs/setup.php" (mysql 4.0.18 PHP4.3.9 apache 2.0.52 all running on XP)
Bernard
avatar
from nearby-an-airport
Associate, 6745 posts

on Dec. 1 2004


Hmmm, this reminds me a similar case a YACS user had some month ago. In his case, the web server (i.e., Apache) setup was not correct and session data could not be saved in the file system.

Obviously the error reported by your server also says it can't handle session data as expected.

Do you have the same symptom when launching /yacs/control/test.php ? If yes, you should check session.* variables in php.ini. Where are saved session files? Has your server enough rights to write there?
Doobie
7 posts

inspired from Bernard on Dec. 2 2004


In reply to Bernard:

i changed the following section on the php.ini to get a part of the setup working: " session.save_handler = \temp " the setup scrip start and i can fill in the needed information for the creation database_server "localhost " database_user "testuser" database_password "testuser" database "yacs" (which i created before)

after the overview of the inserted settings the following screen info comes vissible: Please configure software extensions

No configuration file for extensions has been found. If you are installing a brand new server, follow the link to create one.

Look for software extensions.

after the activation of the link the following information comes: Scan scripts for hooks Only associates may use this page

Control Panel When i press control panel the program loops back to the previous page.

When i check the database yacs i see that no tables are created. one thing is for sure, my user has enough rights because i used cms drupal before.

about the rights on the server, i am the lucky one to serve my one server with permission of my ISP.
Bernard
avatar
from nearby-an-airport
Associate, 6745 posts

inspired from doobie on Dec. 2 2004


Have you allowed cookies at your browser? And which browser are you using?
Doobie
7 posts

inspired from Bernard on Dec. 3 2004


There is only one right browser FIREFOX 1.0, and cookies are allowed but will be automaticly deleted after closing/ shutdown server.
Bernard
avatar
from nearby-an-airport
Associate, 6745 posts

on Dec. 3 2004


I agree, Firefox is really great

In order to move forward, can you trigger the script control/test.php and reload it several times? This script has a counter that should be incremented on each call. The counter is saved in session data.

Therefore, if this works ok at your server it would prove that the session sub-system works ok.

If the counter does not increment correctly, then you would have to concentrate on the session sub-system.
Doobie
7 posts

inspired from Bernard on Dec. 4 2004


I GOT IT WORKING !

i seems that there is a bug or know problem with my version of PHP.

You have to change the following 2 lines of php.ini to get it, in my case on windows XP working:

[Session]

; session.save_handler = user session.save_handler = FILES

;session.save_path = /tmp session.save_path = \temp

now i can finally explore the world of "Yet Another Community System"
Bernard
avatar
from nearby-an-airport
Associate, 6745 posts

inspired from doobie on Dec. 4 2004


Good job! And welcome in the world of YACS

Rate this page
Posted by Doobie on Nov. 28 2004, commented by Bernard on Nov. 28 2004, (popular)