Issues with MySQL connection and php not running ** Resolved

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

Issues with MySQL connection and php not running ** Resolved

Postby skeeterz71 » 01. February 2013 17:42

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
Last edited by skeeterz71 on 01. February 2013 22:18, edited 1 time in total.
SkeeterZ71.com
Over 40 & Back to School
skeeterz71
 
Posts: 6
Joined: 01. February 2013 17:12
Operating System: Windows 7 Professional

Re: Issues with MySQL connection and php not running

Postby Altrea » 01. February 2013 18:27

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
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: Issues with MySQL connection and php not running #Resolv

Postby skeeterz71 » 01. February 2013 22:17

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.
SkeeterZ71.com
Over 40 & Back to School
skeeterz71
 
Posts: 6
Joined: 01. February 2013 17:12
Operating System: Windows 7 Professional


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 118 guests