2

I was using WampServer for my PHP development. Suddenly, it went offline. (It says the wamp server is online but in red color)

I don't use skype, and when I check port 80 used for the wamp server it says port 80 is free.

This is the accesslog for last few hours:

127.0.0.1 - - [12/Jun/2013:15:32:47 +0530] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [12/Jun/2013:15:32:49 +0530] "GET /test/ HTTP/1.1" 200 7
127.0.0.1 - - [12/Jun/2013:15:32:49 +0530] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [12/Jun/2013:15:33:34 +0530] "POST /phpmyadmin/import.php HTTP/1.1" 200 100380

This is the appache_error log:

[Wed Jun 12 14:19:48 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:20:35 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '[0-5]'' at line 1 for query SELECT * FROM wp_skilllist WHERE column REGEXP '[0-5]' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2
[Wed Jun 12 14:20:37 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:21:04 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '[0-5]+$'' at line 1 for query SELECT * FROM wp_skilllist WHERE First_name LIKE 'Menuka%' AND column REGEXP '[0-5]+$' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2
[Wed Jun 12 14:21:06 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:21:46 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '^[0-5]+$'' at line 1 for query SELECT * FROM wp_skilllist WHERE First_name LIKE 'Menuka%' AND column REGEXP '^[0-5]+$' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2
[Wed Jun 12 14:21:47 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:22:01 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 15:31:57 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico

MySQL error log:

130607 10:14:46  InnoDB: Waiting for the background threads to start
130607 10:14:47 InnoDB: 1.1.8 started; log sequence number 2897277
130607 10:14:47 [Note] Server hostname (bind-address): '(null)'; port: 3306
130607 10:14:47 [Note]   - '(null)' resolves to '::';
130607 10:14:47 [Note]   - '(null)' resolves to '0.0.0.0';
130607 10:14:47 [Note] Server socket created on IP: '0.0.0.0'.
130607 10:14:49 [Note] Event Scheduler: Loaded 0 events
130607 10:14:49 [Note] wampmysqld: ready for connections.
Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
130612 15:37:34 [Note] wampmysqld: Normal shutdown

130612 15:37:34 [Note] Event Scheduler: Purging the queue. 0 events
130612 15:37:35  InnoDB: Starting shutdown...

I tried several articles but I didn't find a solution. My main problem is it was working properly and suddenly stopped working, which is why I included the error logs.

Is there anything I have to do with user permissions for machine?

4

2 回答 2

0

正如你所看到的,你有一个关于 wp_skilllist 插件的错误,如果你禁用这个插件可能会更好。我不完全确定它,但这是一种可能性,导致你的日志记录到这个脚本的行照顾这一行

[Wed Jun 12 14:21:46 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '^[0-5]+$'' at line 1 for query SELECT * FROM wp_skilllist WHERE First_name LIKE 'Menuka%' AND column REGEXP '^[0-5]+$' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2

有问题,你可以看到它是指'C:\wamp\www\wordpress\wp-content\themes\twentytwelve\Skill_page.php',尝试改变主题

于 2013-06-12T14:59:18.373 回答
0

很伤心,我发现网络管理员已经取消了我机器上的管理员权限。一旦我要求他允许我在机器上使用权限,我就可以运行 wamp 服务器。

如果您在网络中并且工作的 wamp 服务器离线,请检查您在您的机器上的权限。

于 2013-06-13T05:25:56.680 回答