2009年10月9日星期五

Re: [fw-mvc] Problem with zend framework tutorial of Akrabat

 I downloaded the process explorer of sysinternals and made sure ther's only 1 mysqld process running.
But still the same result

On Fri, Oct 9, 2009 at 3:01 PM, Marcus Ramsden <mmr@ecs.soton.ac.uk> wrote:
I suspect that the problem you are having is right there in the log. Does the error message regarding the Operating system error occur whenever you try to execute your code? If so I am running out of my depth here but you should confirm that you aren't somehow running two instances of MySQL.

On 9 Oct 2009, at 08:09, Jigal sanders wrote:

The only thing I see apearing in the error log are these messages:

091008 21:58:33  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:58:43  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:58:53  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:59:03  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:59:13  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:59:23  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:59:33  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:59:43  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 21:59:53  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:00:03  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:00:13  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:00:23  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:00:33  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:00:43  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:00:53  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:01:03  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:01:13  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:01:23  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:01:33  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:01:43  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:01:53  InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
091008 22:39:50  InnoDB: Started; log sequence number 0 1879539
091008 22:39:50 [Note] Event Scheduler: Loaded 0 events
091008 22:39:50 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.1.30-community'  socket: ''  port: 3306  MySQL Community Server (GPL)
091009  8:28:37  InnoDB: Started; log sequence number 0 1879539
091009  8:28:40 [Note] Event Scheduler: Loaded 0 events
091009  8:28:40 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.1.30-community'  socket: ''  port: 3306  MySQL Community Server (GPL)

On Fri, Oct 9, 2009 at 1:11 AM, Marcus Ramsden <mmr@ecs.soton.ac.uk> wrote:
I haven't really used XAMPP before, but does it have logging for MySQL turned on? This may turn up an error on the database side of things. I mean looking at the error log the last problem appears to be with apache not being able to find your site favicon.

As you say this does look like an issue with the database. If MySQL hasn't had the error log enabled you can do it through the my.cnf file. This page; http://dev.mysql.com/doc/refman/5.1/en/error-log.html, has more details on the error log. Perhaps that will shed some light on the matter. If an error log for MySQL is already being made it will be in a file ending in .err.

Marcus

On 8 Oct 2009, at 21:54, Jigal sanders wrote:

Hello All, I have asked this question earlier today but I didn't provide enough information and therefore it was migrated to the serverfault forum. Well since I think it's not really a server releated problem rather a php related problem i woul lik to ask it here again and ask it properly. ### My environment > Xampp installation > PHP 5.2.8 > Windows xp > ZF version 1.9.+ ### The problem As I was going to [this][1] tutorial. At a certain point (on page 13 of the pdf) my server crashes. And I think these are the few lines of code where it goes wrong: This is the indexAction of my index controller public function indexAction() { $this->view->title = "My Albums"; $this->view->headTitle($this->view->title, 'PREPEND'); $albums = new Model_DbTable_Albums(); $this->view->albums = $albums->fetchAll(); } If I take away the last line: $this->view->albums = $albums->fetchAll(); My site doesn't crash but as soon as i add this line it crashes (apache crashes). There is no info in the error.log which seems valuebale to me. Here are the last line of my error log: http://pastebin.com/m67fdca85 ### Prossibe cause *I have the idea that it might have something to do with the mysql-pdo driver but I am not sure.* And I also don't know how to trigger this. All the dll's in my php.ini are enabled and are in the extenstion directory. Does anyone have an idea how to solve this problem? I hope I have provided enough info and with enough detail. Thanks anyway! [1]: http://akrabat.com/wp-content/uploads/getting-started-with-zend-framework-163.pdf



Marcus Ramsden
Technical Project Assistant
Learning Societies Laboratory, Electronics and Computer Science
University of Southampton
Room 3069, Building 32, Highfield Campus
Southampton SO17 1BJ
------------------------------------
Skype: cuscus1986






--
Met vriendelijke groet,

Jigal Sanders
A.J. Ernststraat 739
1082 LK Amsterdam
Mobiel: 06-42111489

Marcus Ramsden
Technical Project Assistant
Learning Societies Laboratory, Electronics and Computer Science
University of Southampton
Room 3069, Building 32, Highfield Campus
Southampton SO17 1BJ
------------------------------------
Skype: cuscus1986






--
Met vriendelijke groet,

Jigal Sanders
A.J. Ernststraat 739
1082 LK Amsterdam
Mobiel: 06-42111489

没有评论: