[solved] phpMyAdmin-error : strSessionStartupErrorGeneral

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

[solved] phpMyAdmin-error : strSessionStartupErrorGeneral

Postby hanpedro » 18. January 2008 15:10

I have got this error,

phpMyAdmin-error : strSessionStartupErrorGeneral

Through ggogling, I could not find any clues.

At httpd- xampp.conf, I've wrote

Alias /security "k/xampp/security/htdocs/"
<Directory "/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

I can open phpinfo.php at root directory of my localhost, but could not open phpmyadmin.

Any ideas would be appreciated.

xampp is 1.6.5 for windows.
System is windows vista x64.
Last edited by hanpedro on 19. January 2008 02:36, edited 1 time in total.
hanpedro
 
Posts: 134
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86

Postby Izzy » 19. January 2008 02:27

Your post contains many typos which makes it hard to imagine what you really typed into the config files - try copy and paste instead of trying to type the error messages and configuration file snippets.

You have to be equally as accurate and aware of typos when dealing with all things Apache and XAMPP in Windows as you have to be in a Linux environment, as a misplaced colon or misspelled word will be just as devastating.


Does XAMPP work fully without errors before making any edits to any configuration files - as a default installation 'out of the box'?

Always make sure your default installation has been successful before attempting to make any changes to configuration files by loading the XAMPP Welcome Page in your preferred language and testing that all the menu items work as they should.

Try reverting to your backup configuration files that you created before making any changes to them so you can determine if your editing is at fault, which I suspect it is in light of seeing all the typos you created here.
You did make backups before editing?

Did you follow the installation instructions with regard to running the .\xampp\setup_xampp.bat file which will set the correct paths for your installation if needed?


I have got this error,

phpMyAdmin-error : strSessionStartupErrorGeneral
Where did you see this error?
What did you do to get this error?
Is this the full error message?


At httpd- xampp.conf, I've wrote
This is a typo?
perhaps you mean .\xampp\apache\conf\extra\httpd-xampp.conf

Was this edit really necessary and why did find a need to do this edit?

See note above about running .\xampp\setup_xampp.bat as IMHO this configuration file edit may not have been needed and may well be the reason you are receiving some errors.
Alias /security "k/xampp/security/htdocs/"
<Directory "/xampp/security/htdocs">

Another typo perhaps?
Any way if the edit was needed should this not be
Alias /security "K:/xampp/security/htdocs/"
<Directory "K:/xampp/security/htdocs">

which is the correct syntax for a Windows path.

All the other paths in this httpd-xampp.conf file should also show their absolute paths K:/xampp/, which again may have been correctly inserted if the setup_xampp.bat file had been used perhaps.
In my httpd-xampp.conf file they all show C:/xampp/ the XAMPP installation path on my PC.


What does the command apache -t say about the integrity of your httpd.conf file?
Open a command console in .\xampp\apache\bin directory and type apache -t at the prompt.


I can open phpinfo.php at root directory of my localhost, but could not open phpmyadmin.
How are you trying to open phpMyAdmin?
From the URI http://localhost/phpmyadmin perhaps?


Have you checked the .\xampp\apache\logs\error.log file for clues?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby hanpedro » 19. January 2008 02:36

Thanks Izzy,

I ran "\xampp\xampp_setup.bat " you pointed out, and solved my problem.
hanpedro
 
Posts: 134
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 180 guests