phpmyadmin error cannot start session without errors

Problems with the Windows version of XAMPP, questions, comments, and anything related.

phpmyadmin error cannot start session without errors

Postby karonterrier » 29. February 2012 01:11

Helllo,,
my version of windows is windows xp home edition.
the folder the xampp is C:\Xampp
the version is 1.7.7 of xampp the latest
the error is phpmyadmin error -- cannot start session without errors check errors given in your php logfile or your webserver file.

I cannot get this software to work and it's driving me crazy. I don't understand what could be wrong...can anyone help with this.
If I don't assign a password to phpmyadmin it seems to work ok,
but the minute I add a password, it stops working.

Many thanks in advance for anyone's assistance.
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby hackattack142 » 29. February 2012 01:36

1. What errors is it returning in those logs it tells you to check

2. How are you trying to change the password

3. Try going to your /xampp/phpmyadmin/config.inc.php file and changing this line:
Code: Select all
$cfg['Servers'][$i]['auth_type'] = 'config';
to this
Code: Select all
$cfg['Servers'][$i]['auth_type'] = 'cookie';
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 29. February 2012 16:07

Thank you for your quick response. I've already done what you suggested. Cookies, password "" and one other option set to "". I'm trying to work out of a book Murach's PHP and MYSQL. They say to change the config to cookies password to "" and one other thing that I can't think of to "" as well. The author said he didn't know when I queried him about this situation.
So I don't know whats next?

Robert
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby hackattack142 » 01. March 2012 00:06

It would be helpful if you answer my first two questions.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 01. March 2012 00:44

You are so correct about that and I apologize. i will do everything I can to try and get the information that you have requested this evening and post it tomorrow. i really appreciate your taking the time to work with me on this. I have no idea where to go next. I walked away from this a few months ago, saying it just doesn't work on windows and thats that. But here I am again trying to make it work.

Regards,

Robert
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 01. March 2012 17:59

As i mentioned before, i can access the phpmyadmin interface if I don't change the settings in the phpmyadmin config file which are user,password and config. The book says to change the config to "cookie" and the other two options are blank. I looked in the php logs file and it is empty. I looked in the apache\logs\error.log and I saw nothing wrong. I changed the blowfish secret to a 16 character string and the other options as mentioned above and when I do that, I get the phpmyadmin error which says to check the logs in the phpmyadmin file and the apache log file and to config phpmyadmin correctly.

I might not be looking in the correct files. If I am not looking in the right place please let me know. Maybe I should have collected the info in the apache\logs\error.log and included that here, but I didn't. I can if you think this would help?
The php version is 5.3.8 the apache is 2.2.21. I have tried other versions of xampp as the author of the book suggested that I do and I still get the same results.

Some times when the log on screen does appear it has the characters ?(??/)?size= displayed in it. I.. of course, don't know why this is happening either.
The windows version is xp home sp2. But i've gotten the same results with Windows Professional operating system.

When i first install xampp it says there are errors in httpd that must be corrected, but then it corrects them I guess and the next message says that apache loaded correctly and when I open my browser apache is running. It just doesn't want to allow a log on. Is there anything I should do next?

Thank you,

Robert
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby Altrea » 01. March 2012 20:18

Hi karonterrier,

Which program do you use to change settings in the files?
Please check the encoding of the changed files and if you have (accidentally) setted a ByteOrderMark or not.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 01. March 2012 21:51

I use notepad++ to change the three settings that the book suggests, save the file and run the app.

I do not know how to check encoding and I don't know what a byteOrderMark is.

Can you please go into some detail?

Thank you,

Robert M
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby Altrea » 01. March 2012 22:55

With Notepad++ thats quite easy:
Open a file and check the second last value of notepad++ status bar, thats the encoding.
It should be "ANSI" or "ANSI as UTF-8". If there stands just "UTF-8" you should convert the file, because true UTF-8 uses a ByteOrderMark (BOM).

You can simply convert a files encoding in notepad++:
- Menue Encoding
- "Convert to UTF-8 without BOM"

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 02. March 2012 19:21

Hi Altrea,

I checked and it ANSI. Is there any thing else I can do before I give up on this thing?

Thank you,
Robert
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 02. March 2012 20:13

Another thing I noticed the panel next to ANSI says UNIX. I'm running windows XP. I don't know if this means anything or not. If it does I don't know how to fix it.

Thanks
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby hackattack142 » 03. March 2012 01:39

If you are experiencing problems manually editing the file, you could try using phpMyAdmin's built-in configuration builder: http://wiki.phpmyadmin.net/pma/Setup
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 03. March 2012 22:45

can anyone tell me...since I cannot get xampp to perform correctly under windows xp home edition or windows xp pro, if it would be possible to load a lynx operating system onto my hard drive to run along side windows so that I could get xampp to perform properly? If this is a do-able thing, could someone explain to me how to go about this? Or is there any solution to this problem?

Thanks
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Re: phpmyadmin error cannot start session without errors

Postby Sharley » 03. March 2012 23:36

Hello karonterrier,

If you used the installer version of XAMPP then in XP often this will give issues that seem to be unexplainable.


Try uninstalling XAMPP and then use a different method, ie. the zip version, instead.

These instructions may help you along the way:
viewtopic.php?p=179699#p179699
Before deleting the xampp folder it is very important to make sure that all service ticks in the control panel are removed, all components are stopped and the control panel is also shut down and not simply sent to the system tray.

Using this zip method has been known to fix many unusual issues that have been associated with the installer used in XAMPP and is why it is possible it will be changed in the next version of XAMPP -> 1.7.8
Item 4 viewtopic.php?f=16&t=48373#p185650

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: phpmyadmin error cannot start session without errors

Postby karonterrier » 04. March 2012 20:09

Thank you for your response. I am waiting with baited breath for 1.7.8.

I got a new one for your folks. I got a different book from the library that had a much earlier version of php,mysql and apache on a cd. I tried loading that...which of course didn't work...and now even though I have re-installed my operating system twice the 1.7.7 apache module won't load at all. As they say in I. T circles. Go Figure!

Robert
karonterrier
 
Posts: 11
Joined: 21. August 2011 14:10

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 137 guests