Sessions Not Enabled with php
Sessions Not Enabled with php
I have installed php on my Windows Server and am getting the yellow circle for sessions not being enabled. I can install a site, but cant do anything with the login page. I enter my login and PW, but nothing happens. How can I enable session via my php install.
Please dont respond with "look it up in google" or "not sure" I need detailed examples of how to enable this or why my login to admin wont work. Thanks
MJD
[gelöscht durch Administrator]
Please dont respond with "look it up in google" or "not sure" I need detailed examples of how to enable this or why my login to admin wont work. Thanks
MJD
[gelöscht durch Administrator]
Re: Sessions Not Enabled with php
Please try thisduplay wrote: How can I enable session via my php install.
1. Create a file named .htaccess
2. Open it with your favourite editor
3. Write this
Code: Select all
php_flag session.use_trans_sid on
5. Load it to root directory
Re: Sessions Not Enabled with php
Hi,
Save that to the root directory of my webserver, my php folder, or my cms folder?
Save that to the root directory of my webserver, my php folder, or my cms folder?
Re: Sessions Not Enabled with php
I created the file called .htaccess and pasted the following code in it: php_flag session.use_trans_sid on
then i copid and pasted it to my folder called SESC (this is the main folder for my site~ I assume this is root) refreshed the install and still yellow ball for sessions enabled. Any thoughts?
then i copid and pasted it to my folder called SESC (this is the main folder for my site~ I assume this is root) refreshed the install and still yellow ball for sessions enabled. Any thoughts?
Re: Sessions Not Enabled with php
I have attached the screenshot of my php config on the server. I show the top of php saying the php support is enabled, but I still get the yellow ball for sessions enabled. Could my admin login issue be anything else?
Thanks
[gelöscht durch Administrator]
Thanks
[gelöscht durch Administrator]
Re: Sessions Not Enabled with php
Have you tried to login in admin panel?
Not sure, but think install procedure reads only values from php.ini ...
Ähmm, if this is your webserver, you don't need .htaccess. It should be possible to activate this in php.ini
http://de.php.net/ref.session
Update:
Please try to set session.auto_start to "on"
Not sure, but think install procedure reads only values from php.ini ...
Ähmm, if this is your webserver, you don't need .htaccess. It should be possible to activate this in php.ini
http://de.php.net/ref.session
Update:
Please try to set session.auto_start to "on"
Re: Sessions Not Enabled with php
I have my php.ini file but am not sure where to set this in the ini file. If I pasted you the ini file, would you be able to direct me to do this?
Re: Sessions Not Enabled with php
Hmm, I can make a look. Sometimes the options is inside your ini file, it's only outcommented ...
Re: Sessions Not Enabled with php
Why Google ? When looking for information about PHP sessions on a Windows driven computer, one should have a look at :duplay wrote: ...my Windows Server... How can I enable session via my php install.
Please dont respond with "look it up in google"...
http://www.php.net/manual/en/install.windows.php
http://www.php.net/manual/en/ref.session.php
http://www.php.net/manual/en/ini.php
This is not CMSms related. I bet at least one of your session.*path INI directive is not well set to a PHP writeable folder.
Pierre M.
Re: Sessions Not Enabled with php
I have via my php test page on the server it telling me session support is enabled, but I still get a yellow circle for the install of any site that says "Checking if sessions are enabled"
Although the PHP support for sessions is not mandatory, it is highly recommended. Logins and other things may slow down and you may have difficulty with some addon functionality without this capability.
I am new to php on a pc. Basically that is the only yellow circle i get. I can install a site and visit it, but when i go to login, i place login and pw, hit return and page comes back to login page. any thoughts?
thanks
Although the PHP support for sessions is not mandatory, it is highly recommended. Logins and other things may slow down and you may have difficulty with some addon functionality without this capability.
I am new to php on a pc. Basically that is the only yellow circle i get. I can install a site and visit it, but when i go to login, i place login and pw, hit return and page comes back to login page. any thoughts?
thanks
Re: Sessions Not Enabled with php
Sessions are not required to browse a CMSms site.
Sessions are mandatory to log into the admin to manage the CMSms site.
Please check your PHP install. May be try XAMPP http://www.apachefriends.org/fr/xampp.html or another PHP packaging for Windows.
Pierre M.
Sessions are mandatory to log into the admin to manage the CMSms site.
Please check your PHP install. May be try XAMPP http://www.apachefriends.org/fr/xampp.html or another PHP packaging for Windows.
Pierre M.
Re: Sessions Not Enabled with php
This is a capture of my phpinfo file which tells me my sessions are enabled, but I still cant login to the admin. I have tried the xamp but havent had much luck (it was missing the driver for mysql which is needed to do the install) any thoughts?
[gelöscht durch Administrator]
[gelöscht durch Administrator]
Re: Sessions Not Enabled with php
Have no more solutions for youduplay wrote: Save that to the root directory of my webserver, my php folder, or my cms folder?

But if I read your questions, I think, it's very risky for you to own a webserver, if you don't know, what you have to do
