Page 1 of 1

Issues with MySQL connection and php not running ** Resolved

PostPosted: 01. February 2013 17:42
by skeeterz71
Hi,

Just installed XAMMP so I can work on my wordpress in dreamweaver.
Specs
XMAPP Control Panel Version 3.1.0.3.1.0
XMAPP version 1.8.1
From PHP Info Compiler MSVC9 (Visual C++ 2008) I assume this meets the requirements noted in the must read post
Windows 7 Professional

Apache Green Light
MySql Green light
php info displays

I installed wordpress in C:\xampp\htdocs\wordpress-3.5.1\wordpress

created "wordpress" database in phpMyAdmin

when I go to install.php

http://localhost/wordpress-3.5.1/wordpress/wp-admin/install.php
I get:

Warning: define() expects at least 2 parameters, 1 given in C:\xampp\htdocs\wordpress-3.5.1\wordpress\wp-config.php on line 19

Warning: define() expects at least 2 parameters, 1 given in C:\xampp\htdocs\wordpress-3.5.1\wordpress\wp-config.php on line 22

Warning: define() expects at least 2 parameters, 1 given in C:\xampp\htdocs\wordpress-3.5.1\wordpress\wp-config.php on line 25

However these are the lines mentioned above

define('wordpress');

/** MySQL database username */
define('root');

/** MySQL database password */
define('*********');

Now the 2nd issue has to do with PHP when trying to open in dreamweaver. Note my testing server settings are correct in dreamweaver. I also get connection problems similar to above in dreamweaver.

WordPress

Error: PHP is not running

WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

Not sure what to do. Any help would be appreciated

Re: Issues with MySQL connection and php not running

PostPosted: 01. February 2013 18:27
by Altrea
Hi skeeterz71,

I'm sorry, we can't provide any support for third party applications like wordpress or dreamweaver.
Sticky Post: This is NOT a PHP/Joomla/WordPress/Drupal etc. Help Forum

A minute of googleing the error message relating with wordpress results in that ressource: http://wordpress.org/support/topic/prob ... -wordpress

So the only questions i can ask are XAMPP related:

best wishes,
Altrea

Re: Issues with MySQL connection and php not running #Resolv

PostPosted: 01. February 2013 22:17
by skeeterz71
Unfortunately that did not help.

One thing that happened when starting the MySql originally and a few other times was a message that I was not running as administrator. Some things might not work. I didn't understand why it would say that because I was logged in as administrator on my computer. Apparently that was the problem. I know this because when I uninstalled it and reinstalled it, I no longer got those errors and was able to configure wordpress and dreamweaver just fine.

This turned out to be an all day job though because when I uninstalled it, I thought I would try WampServer. Well I had permission problems on that one and connection problems etc.

So I uninstalled it, and reinstalled X and everything went real smooth.

I hate losing so much time over software issues. Very frustrating.

So, my suggestion to anyone else having similar issues, try uninstalling by turning off everything in XAMPP and then deleting the xampp folder. There are no registry issues with XAMPP according to this site somewhere.

Then reinstall and see if the problem is fixed. I should of done this way in the beginning.