Synonymous
Joined: 11 May 2005
Posts: 5
Posted: 2005-05-11 10:57
Back to top
Reply with quote
|
After the setup program creates the file, when I try to goto the file it just sits there. I have to restart apache when it does this.
I took out the phpMyEdit.class.php at the end of the output file and it complains but does not hang so I think the problem is in phpMyEdit.class.php .
Does anyone know what is wrong?
Thanks for your help :o)
Synonymous
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2005-05-11 14:20
Back to top
Reply with quote
|
more info is needed:
phpMyEdit version
php version
also what do the log files say ? any errors warnings ?
|
Synonymous
Joined: 11 May 2005
Posts: 5
Posted: 2005-05-11 23:15
Back to top
Reply with quote
|
Thanks for replying!
1) phpMyEdit version
2) php version
3) also what do the log files say ? any errors warnings ?
I am using phpMyEdit 5.4, PHP Version 5.0.4. I am not sure what log file information you want, here is from the apache error.log but I dont think it contains any useful information:
[Wed May 11 18:10:05 2005] [notice] Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7f PHP/5.0.4 configured -- resuming normal operations
[Wed May 11 18:10:05 2005] [notice] Server built: Apr 8 2005 10:55:39
[Wed May 11 18:10:05 2005] [notice] Parent: Created child process 3956
[Wed May 11 18:10:07 2005] [notice] Child 3956: Child process is running
[Wed May 11 18:10:07 2005] [notice] Child 3956: Acquired the start mutex.
[Wed May 11 18:10:07 2005] [notice] Child 3956: Starting 250 worker threads.
[Wed May 11 18:10:13 2005] [error] Parent: child process exited with status 3 -- Aborting.
[Wed May 11 18:10:13 2005] [notice] Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7f PHP/5.0.4 configured -- resuming normal operations
[Wed May 11 18:10:13 2005] [notice] Server built: Apr 8 2005 10:55:39
[Wed May 11 18:10:13 2005] [notice] Parent: Created child process 3436
[Wed May 11 18:10:14 2005] [notice] Child 3436: Child process is running
[Wed May 11 18:10:14 2005] [notice] Child 3436: Acquired the start mutex.
[Wed May 11 18:10:14 2005] [notice] Child 3436: Starting 250 worker threads.
[Wed May 11 18:10:32 2005] [notice] Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7f PHP/5.0.4 configured -- resuming normal operations
[Wed May 11 18:10:32 2005] [notice] Server built: Apr 8 2005 10:55:39
[Wed May 11 18:10:32 2005] [notice] Parent: Created child process 3532
[Wed May 11 18:10:33 2005] [notice] Child 3532: Child process is running
[Wed May 11 18:10:33 2005] [notice] Child 3532: Acquired the start mutex.
[Wed May 11 18:10:33 2005] [notice] Child 3532: Starting 250 worker threads.
[Wed May 11 18:10:43 2005] [error] [client 127.0.0.1] File does not exist: C:/apachefriends/xampp/htdocs/favicon.ico
[Wed May 11 18:10:47 2005] [error] [client 127.0.0.1] File does not exist: C:/apachefriends/xampp/htdocs/favicon.ico
[Wed May 11 18:10:47 2005] [error] [client 127.0.0.1] File does not exist: C:/apachefriends/xampp/htdocs/favicon.ico
[Wed May 11 18:10:52 2005] [error] [client 127.0.0.1] File does not exist: C:/apachefriends/xampp/htdocs/favicon.ico
[Wed May 11 18:10:54 2005] [error] Parent: child process exited with status 3 -- Aborting.
[Wed May 11 18:10:55 2005] [notice] Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7f PHP/5.0.4 configured -- resuming normal operations
[Wed May 11 18:10:55 2005] [notice] Server built: Apr 8 2005 10:55:39
[Wed May 11 18:10:55 2005] [notice] Parent: Created child process 288
[Wed May 11 18:10:56 2005] [notice] Child 288: Child process is running
[Wed May 11 18:10:56 2005] [notice] Child 288: Acquired the start mutex.
[Wed May 11 18:10:56 2005] [notice] Child 288: Starting 250 worker threads.
The phperror.log is at 0 bytes, I'll look on how to turn it on :(.
Thanks for your help!
|
Synonymous
Joined: 11 May 2005
Posts: 5
Posted: 2005-05-11 23:40
Back to top
Reply with quote
|
Hello,
I went to the php.ini ( the config file indicated when running phpinfo() ) to turn on error logging:
; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
log_errors = On
; Log errors to specified file.
error_log = c:\apachefriends\xampp\apache\logs\phperror2.log
Yet there are no error files being created, even though I purposely made some to test it ( e.g. phpinfotesterrorabc() ). Am I on the right track to turning on phperror logging?
As well, there are no visible errors when the webserver hangs (it does not specify a line error it just hangs).
Thanks for your help,
Synonymous
|
Synonymous
Joined: 11 May 2005
Posts: 5
Posted: 2005-05-11 23:54
Back to top
Reply with quote
|
Sorry about all the replies but I got the php log errors working:
[11-May-2005 18:48:40] PHP Fatal error: Call to undefined function phpinfoerrortest() in C:\apachefriends\xampp\htdocs\index.php on line 2
is the only error I have, and that is a self made error to verify that logging works.
I also have an old copy of phpMyEdit that was working/configured before but on a remote webserver, it has the same hang error when I try to run it on this computer though.
Thanks
Synonymous
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2005-05-12 08:42
Back to top
Reply with quote
|
php5 is the problem. nobody has a server running php5, so there is a problem with debugging/finding differences between php4 and php5. this probably will change in the future, but nobody knows when.
see some notes on php5 in this forum.
|
Synonymous
Joined: 11 May 2005
Posts: 5
Posted: 2005-05-12 10:09
Back to top
Reply with quote
|
It is true that many people are using PHP4, and in retrospect that is likely what the server was running as well.
I'll try using PHP4 :).
Thanks for your help!
Synonymous
|
Sab
Joined: 26 Dec 2004
Posts: 5
Posted: 2005-06-01 22:52
Back to top
Reply with quote
|
| michal wrote: |
php5 is the problem. nobody has a server running php5, so there is a problem with debugging/finding differences between php4 and php5. this probably will change in the future, but nobody knows when.
see some notes on php5 in this forum. |
I've just migrate on php5 and phpMyEdit doesn't work. Just blank page.
This is hard I felt in love of phpMyEdit and I use it intensively ... nearly 3/4 of my devs this past 2 months were on it.
I cannot go back on php4 I'm not admin of the site. I'll try to investigate (and learn php5).
|
|
Post new topic
Reply to topic
|