Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

PHP Error on phpmyadmin

New Here ,
Jan 29, 2008 Jan 29, 2008

Copy link to clipboard

Copied

Hi everyone, I got a weird error. I didn't change anyone over the last few weeks, and suddenly when I tried to go into my phpmyadmin to backup the database I got the following error

phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

when I go to Phpinfo {}, every seems to output correctly, but when I go to my php.ini my configuration looked a bit weird. Instead of # in front of every line I have : in front of every line. I wonder if my configuration is corrupted? Attached I copied some examples. Any help is appreciated.

Also, I can't seem to back my mysql from the "command Line". can I get a step by step instructions somewhere?
TOPICS
Server side applications

Views

425
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

moonstar2005 wrote:
> Hi everyone, I got a weird error. I didn't change anyone over the last few
> weeks, and suddenly when I tried to go into my phpmyadmin to backup the
> database I got the following error
>
> phpMyAdmin - Error
> Cannot start session without errors, please check errors given in your PHP
> and/or webserver log file and configure your PHP installation properly.

It means that the folder designated in session.save_path either doesn't
exist, or isn't writable. Check the location of session.save_path with
phpinfo(), and create a folder there.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

Thanks David.

Weird, I did what you said, for some reason it didn't work.

my session path states this:
session.save_path C:\DOCUME~1\owner\LOCALS~1\Temp\php\session C:\DOCUME~1\owner\LOCALS~1\Temp\php\session

so I went into c:document and setting\owner\ I noticed I didn't have a Locals file so I created

LOCALS\php\session folders but it didnt work. weird because it was working a few weeks ago.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

moonstar2005 wrote:
> am I naming the folder "session.save_path "

No. Run phpinfo(). Check the value of session.save_path. Create a folder
at the location indicated.

If session.save_path is C:\xyz\php\session\temp, create a folder called
temp at C:\xyz\php\session\.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

Hi David, thanks for the reply. sorry, I forgot you don't see the edited message.

I did what you said, for some reason it didn't work.

my session path states this in phpin():

session.save_path C:\DOCUME~1\owner\LOCALS~1\Temp\php\session


so I went into c:document and setting\owner\ I noticed I didn't have a Locals file so I created 4 folders/

LOCALS\php\session\temp folders but it didnt work. weird because it was working a few weeks ago. Thanks.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

BTW, I noticed the session.save_path is C:/docume~1

so I got to php configuration and spill the whole path out? like C:/document and setting\owner\Locals\Tem\session

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 31, 2008 Jan 31, 2008

Copy link to clipboard

Copied

LATEST
moonstar2005 wrote:
> BTW, I noticed the session.save_path is C:/docume~1
>
> so I got to php configuration and spill the whole path out?

If you're happy making changes in php.ini, the best solution is to
change the value of session.save_path to C:\WINDOWS\Temp. Save php.ini,
and restart Apache.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines