Skip to main content
Participating Frequently
November 13, 2007
Question

phpmyadmin wont load

  • November 13, 2007
  • 4 replies
  • 773 views
anyways, I just tried to load phpmyadmin, and I downloaded the file, copied and pasted in C:\htdocs. I openned my browswer and type in I got an error message:

http://localhost/phpmyadmin/scripts/seetup.phpI

"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.
"

I don't think I did anything wrong. I downloaded the files several times and I was still getting the same message. Can anyone tell me what I am doing wrong.

using: Apache, PHP 5, Mysql and xp pro sp 2.

I can't believe every time when I am trying to install something, I always getting an error message. I am following the instructions in the book. I don't understand why I am still getting an error message. Please tell me what I am doing wrong. I noticed my localhost is not reading the setup.php file because when I put set.php under C:\htdocs\set.php and type the URL in the brower [L=http://localhost/setup.php,it gave me this "

Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\htdocs\setup.php on line 20

Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.;C:\php5\pear') in C:\htdocs\setup.php on line 20


did anyone get this message? I didn't install the sqli extension? would that make a differrence? I can't find my orginial php installer file so....
This topic has been closed for replies.

4 replies

Inspiring
November 13, 2007
moonstar2005 wrote:
> BTW, I bought 2 of your books David. Your books are so easy to follow and read
> . I like the way you explain the different occurance and the step-by-step
> instruction.

Glad you like the books. Spread the good word to all your friends. ;-)

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Participating Frequently
November 13, 2007
Thanks you steve and David. I put the file in my webfolder because I need to pull up setup.php from the browser. I am installing it menually, according to the book (CSS, AJAX and PHP) I added the extension sqli yesterday and I was actually able to pull up the setup.php. "I can't believe that I can not even pull up the graphic interface for "PHPmyadman" if the sqli extension is not installed.

>I suspect that you used the Windows PHP installer, which sets the value
>of session.save_path

Yes, I am using the windows php installer (.msi file)

I will check it when I get home to make sure session.save_path folder exist. (this is a newbie question, if the folder doesn't exist, how do I create the folder? do I just added that line in the php.ini?) I just started learing all this a few weeks ago so....)

BTW, I bought 2 of your books David. Your books are so easy to follow and read . I like the way you explain the different scenerio and the step-by-step instructions. I am still new at this. Thank you guys for the help.
Inspiring
November 13, 2007
moonstar2005 wrote:
> "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.
> "

I suspect that you used the Windows PHP installer, which sets the value
of session.save_path, but doesn't actually create the folder where
session variables are stored. Use phpinfo() to display details of your
PHP configuration, scroll down towards the bottom of the page, and check
the value of session.save_path in the session section. Make sure that
the designated folder exists, or create it if it doesn't exist.

phpMyAdmin should then work without problems.

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

PHP (and Apache, MySQL, etc) can be difficult to set up, even for
experienced developers. There are dozens of things that could go wrong.

There are installation packages available that are preconfigured to allow
all three packages to work together (Google: WAMP).

In your case, I'm not sure why you are putting myphpadmin install files on
your web server. These should be installed from a temp directory.

I suggest that you examine your server and php error log files for a clue to
what is going wrong, and post any errors so that we can see them.

HTH,

Steve

"moonstar2005" <webforumsuser@macromedia.com> wrote in message
news:fhbi2a$khd$1@forums.macromedia.com...
> anyways, I just tried to load phpmyadmin, and I downloaded the file,
> copied and
> pasted in C:\htdocs. I openned my browswer and type in
> http://localhost/phpmyadmin/scripts/seetup.php and I got an error
>
>
> http://localhost/phpmyadmin/error.php?lang=en&dir=ltr&type=Error&error=Cannot+st
> art+session+without+errors%2C+please+check+errors+given+in+your+PHP+and%2For+web
> server+log+file+and+configure+your+PHP+installation+properly.
>
> "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.
> "
>
> I don't think I did anything wrong. I downloaded the files several times
> and I
> was still getting the same message. Can anyone tell me what I am doing
> wrong.
>
> using: Apache, PHP 5, Mysql and xp pro sp 2. I can't believe everything
> when I
> am trying to install something, I am always getting an error message and I
> am
> following instructions to a T. I don't understand. Please tell me what I
> am
> doing wrong.
>