473,729 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

phpMyAdmin won't run -- apparently a PHP bug

I just tried to install phpMyAdmin on my system, and I can't get it to
work. When I tried to run the setup procedure (setup.php) I got the
following message:

Fatal error: session_start() [<a
href='function. session-start'>function .session-start</a>]: Failed to
initialize storage module: user (path: C:\...\Temp\php \session) in
D\...\phpMyAdmi n\libraries\ses sion.inc.php on line 86

I set up the config file by hand, then tried to run phpMyAdmin and got
the same error.

I searched for references to the error message on php.net and found a
bug report from which I gather that the cause is actually a PHP bug.
(See the reference to phpMyAdmin in the last message on the page.)

http://bugs.php.net/bug.php?id=32330

I searched the phpMyAdmin bug lists and FAQ, but I did not see any
reference to this.

There must be a workaround for this problem -- if not, phpMyAdmin
would be dead in the water for some significant fraction of users.
Can anyone tell me what it is, or where to look?

The configuration is: OS, Windows XP SP2; Apache, v.2.2.8; PHP,
v.5.2.5; MySQL, v.5.0.51; phpMyAdmin, v.2.11.4.
Feb 21 '08 #1
8 8889
Jonathan Sachs wrote:
I just tried to install phpMyAdmin on my system, and I can't get it to
work. When I tried to run the setup procedure (setup.php) I got the
following message:

Fatal error: session_start() [<a
href='function. session-start'>function .session-start</a>]: Failed to
initialize storage module: user (path: C:\...\Temp\php \session) in
D\...\phpMyAdmi n\libraries\ses sion.inc.php on line 86

I set up the config file by hand, then tried to run phpMyAdmin and got
the same error.

I searched for references to the error message on php.net and found a
bug report from which I gather that the cause is actually a PHP bug.
(See the reference to phpMyAdmin in the last message on the page.)

http://bugs.php.net/bug.php?id=32330

I searched the phpMyAdmin bug lists and FAQ, but I did not see any
reference to this.

There must be a workaround for this problem -- if not, phpMyAdmin
would be dead in the water for some significant fraction of users.
Can anyone tell me what it is, or where to look?

The configuration is: OS, Windows XP SP2; Apache, v.2.2.8; PHP,
v.5.2.5; MySQL, v.5.0.51; phpMyAdmin, v.2.11.4.
Sounds like you have a problem with your php.ini file. What do you have
for your session_save_pa th and session_save_ha ndler?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Feb 21 '08 #2
On Thu, 21 Feb 2008 04:54:03 +0100, Jonathan Sachs
<js******@sbcgl obal.netwrote:
I just tried to install phpMyAdmin on my system, and I can't get it to
work. When I tried to run the setup procedure (setup.php) I got the
following message:

Fatal error: session_start() [<a
href='function. session-start'>function .session-start</a>]: Failed to
initialize storage module: user (path: C:\...\Temp\php \session) in
D\...\phpMyAdmi n\libraries\ses sion.inc.php on line 86

I set up the config file by hand, then tried to run phpMyAdmin and got
the same error.

I searched for references to the error message on php.net and found a
bug report from which I gather that the cause is actually a PHP bug.
(See the reference to phpMyAdmin in the last message on the page.)

http://bugs.php.net/bug.php?id=32330
PHPMyAdmin doesn't destroy sessions by default, I don't think this bug is
relevant.

THe only problem I had a while back on Windows was that the path
('C:\...\Temp\p hp\session') did not exist. After creating it (easier then
to figure out where to set it) no more problems.
--
Rik Wasmus
Feb 21 '08 #3
Greetings, Jonathan Sachs.
In reply to Your message dated Thursday, February 21, 2008, 06:54:03,
I just tried to install phpMyAdmin on my system, and I can't get it to
work. When I tried to run the setup procedure (setup.php) I got the
following message:
Fatal error: session_start() [<a
href='function. session-start'>function .session-start</a>]: Failed to
initialize storage module: user (path: C:\...\Temp\php \session) in
Why the hell You use "user" storage?
D\...\phpMyAdmi n\libraries\ses sion.inc.php on line 86
I set up the config file by hand, then tried to run phpMyAdmin and got
the same error.
I searched for references to the error message on php.net and found a
bug report from which I gather that the cause is actually a PHP bug.
(See the reference to phpMyAdmin in the last message on the page.)
http://bugs.php.net/bug.php?id=32330
I searched the phpMyAdmin bug lists and FAQ, but I did not see any
reference to this.
There must be a workaround for this problem -- if not, phpMyAdmin
would be dead in the water for some significant fraction of users.
Can anyone tell me what it is, or where to look?
The configuration is: OS, Windows XP SP2; Apache, v.2.2.8; PHP,
v.5.2.5; MySQL, v.5.0.51; phpMyAdmin, v.2.11.4.


--
Sincerely Yours, AnrDaemon <an*******@free mail.ru>

Feb 21 '08 #4
On Thu, 21 Feb 2008 05:17:24 +0100, "Rik Wasmus"
<lu************ @hotmail.comwro te:
>THe only problem I had a while back on Windows was that the path
('C:\...\Temp\ php\session') did not exist. After creating it (easier then
to figure out where to set it) no more problems.
That's a constructive suggestion -- unfortunately, it's not the
problem here. That path does exist on my system.
Feb 21 '08 #5
On Thu, 21 Feb 2008 08:38:28 +0300, AnrDaemon <an*******@free mail.ru>
wrote:
>Fatal error: session_start() [<a
href='function .session-start'>function .session-start</a>]: Failed to
initialize storage module: user (path: C:\...\Temp\php \session) in

Why the hell You use "user" storage?
If you think about it, the answer should be obvious: I did not do any
such thing. All I did was install a widely used and respected
application on my computer. Its use of directories is determined by
its creators. If you have to swear at somebody, swear at them.

I'd like to see if we can salvage something useful from your post. Is
there reason to believe that moving the directory will help? If so,
is there a way to do it without going in and mucking with the code? I
think that would be far more likely to complicate the problem than
solve it.
Feb 21 '08 #6
I just discovered something odd which may be be related to this
problem.

The PHP book I am reading says that MySQL recommends downloading and
installing the latest PHP connectors, mysql.dll and mysqli.dll, and it
gives instructions for doing so. The reason it gives is that the
MySQL site's connectors will always be current, while those downloaded
with a PHP distribution may be a few weeks old.

I thought I'd do this to eliminate old connectors as a possible cause
of the phpMyAdmin problem, but I found that:

1. Only the mysql connector was installed with PHP -- mysqli was not.

2. The mysql connector was version 5.0.45, and my MySQL (the latest
stable version, as of a few weeks ago) is 5.0.51a.

3. The latest mysql and mysqli connectors on the MySQL web site are
even older than the mysql connector from the PHP distribution --
5.0.27. This conflicts with what the book advised me, and is rather
surprising!

I'd like to ask for advice before I start trying various combinations
of connectors more or less at random. Is this situation likely to be
related to my phpMyAdmin problem? If so, what is a good strategy for
cleaning it up?
Feb 21 '08 #7
On Thu, 21 Feb 2008 16:54:31 +0100, Jonathan Sachs
<js******@sbcgl obal.netwrote:
I just discovered something odd which may be be related to this
problem.

The PHP book I am reading says that MySQL recommends downloading and
installing the latest PHP connectors, mysql.dll and mysqli.dll, and it
gives instructions for doing so. The reason it gives is that the
MySQL site's connectors will always be current, while those downloaded
with a PHP distribution may be a few weeks old.

I thought I'd do this to eliminate old connectors as a possible cause
of the phpMyAdmin problem,
Nope, afaik, the starting/reading/writing of a session in PHPMyAdmin has
nothing to do with database access.
but I found that:
1. Only the mysql connector was installed with PHP -- mysqli was not.
Pretty standard on 'older' setups, PHPMyAdmin requires only one of the
two, not necessarily both
2. The mysql connector was version 5.0.45, and my MySQL (the latest
stable version, as of a few weeks ago) is 5.0.51a.

3. The latest mysql and mysqli connectors on the MySQL web site are
even older than the mysql connector from the PHP distribution --
5.0.27. This conflicts with what the book advised me, and is rather
surprising!

I'd like to ask for advice before I start trying various combinations
of connectors more or less at random. Is this situation likely to be
related to my phpMyAdmin problem?
About 99% sure it is totally unrelated, and the version of your dll's is
probably not even a problem at all.

Most likely there's still something wrong with the session managment at a
whole. What if you try to use sessions in a simple test page, and what
does a phpinfo() tell you about the session settings. Is the directory for
sessions writeable for instance?
--
Rik Wasmus
Feb 21 '08 #8
Jonathan Sachs wrote:
On Thu, 21 Feb 2008 08:38:28 +0300, AnrDaemon <an*******@free mail.ru>
wrote:
>>Fatal error: session_start() [<a
href='functio n.session-start'>function .session-start</a>]: Failed to
initialize storage module: user (path: C:\...\Temp\php \session) in
Why the hell You use "user" storage?

If you think about it, the answer should be obvious: I did not do any
such thing. All I did was install a widely used and respected
application on my computer. Its use of directories is determined by
its creators. If you have to swear at somebody, swear at them.

I'd like to see if we can salvage something useful from your post. Is
there reason to believe that moving the directory will help? If so,
is there a way to do it without going in and mucking with the code? I
think that would be far more likely to complicate the problem than
solve it.
That's not all you did. To quote you: "I set up the config file by
hand..."

Again, what do you have in your php.ini file for session_save_pa th and
session_save_ha ndler?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Feb 21 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
3717
by: Darren Gates | last post by:
hi PHP users, Here's a Flash 7 version of phpMyAdmin: http://www.tufat.com/phpflashmyadmin.php Special features include: drag-and-drop interface for InnoDB table relationships, quick record editing, tree-menu display for databases and tables, support for multiple hosts, and much more...
4
2103
by: opal7313 | last post by:
Hello, I have some difficulties to use phpMyAdmin on my ppc; I am working on panther 10.3.7 and php is already installed. I put phpMyAdmin directory in /Library/WebServer/Documents/ ; I adapted the config.inc.php of this application to have the good authorizations, the absolute uri... I check the httpd.conf to see if option to execute php were ok : apparently they were but.... when I tryied to open on a browser the url...
16
12924
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine otherwise. Most interesting to me is that a reboot won't fix the problem. But if I just try it again sometime later it will work. Anyone have any ideas? I'm running python 2.3 on windows 2000 professional.
58
4684
by: Jeff_Relf | last post by:
Hi Tom, You showed: << private const string PHONE_LIST = "495.1000__424.1111___(206)564-5555_1.800.325.3333"; static void Main( string args ) { foreach (string phoneNumber in Regex.Split (PHONE_LIST, "_+")) { Console.WriteLine (phoneNumber); } } Output: 495.1000
0
1047
by: lynn | last post by:
Hello! I installed on my mac (panther) on /usr/local mysql4.1.8 php5 and apache2; I already had a data dir (called var) on another volume witch was linked to a previous mysql installation via symlink (called data); here if I do the same symlink (changing permissions of files in this previous var) it is ok for the first connection but not for new connections : I can not connect to anything, users and passwords are lost. Apparently when I...
33
6626
by: selowitch | last post by:
I've been searching in vain for a way to present typographically correct fractions (not resorting to <sup> and <sub> tags) but have been frustrated by the fact that the glyphs for one-half, one-eighth, three-quarters, etc. do not display in the correct typeface (or even consistently the same typeface) and seem totally resistant to attempt to fix this through CSS: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
1
2718
by: oraustin | last post by:
My application was set to open the Switchboard as the default startup form. It worked fine up until recently. Now it won't "remember" that the default form should be the Switchboard and the field under Tools > Startup is blank and won't retain a value. Have Access 97 on W2K Thanks in advance
3
2172
by: cofused | last post by:
Hi, I have set up the Xitami server (2.5c2) and PHP (5.0.5) on my Win98 system without any problem. I am trying to add PhpMyAdmin. When I try to load http://home/phpmyadmin which loads index.php, I get the following (lengthy) warning...
10
2011
by: Martin Jørgensen | last post by:
Hi, I got this piece of code, but I won't compile: #include <iostream> using namespace std; //////////////////////////////////////////////////////////////// struct link //one element of list { int data; //data item
0
8917
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.