Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2008-04-28 20:11:01
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Debugging mode: blank page!
Ruud, this gives
Notice: Undefined index: SERVER_PROTOCOL in /Users/Uli/Sites/txpdemo.dev/textpattern/lib/txplib_misc.php on line 1622
Warning: Cannot modify header information - headers already sent by (output started at /Users/Uli/Sites/txpdemo.dev/textpattern/lib/txplib_misc.php:1622) in /Users/Uli/Sites/txpdemo.dev/textpattern/lib/txplib_misc.php on line 1625
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Untitled</title>
</head>
<body>
<p align="center" style="margin-top:4em">Database unavailable.</p>
<!-- Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) -->
</body>
</html>
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#14 2008-04-29 13:24:52
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Debugging mode: blank page!
I’m running backups quite regularly. Which part of my local installation seems to be concerned? Is ist possible, that the database got corrupted? If so, which table?
Or are my guesses completely wrong?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Debugging mode: blank page!
Can you try installing a separate fresh copy of TXP (different directory, using a different database table prefix) and see if the problem is reproducible.
If the problem doesn’t occur there, you could try to make both installs more similar, for example by installing the plugins you have in the other install, copying templates (which can be done by copying the corresponding tables from the malfunctioning TXP install), etc, up till the point where things begin to break.
Last edited by ruud (2008-04-29 17:34:08)
Offline
#16 2008-04-30 11:37:45
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Debugging mode: blank page!
I began by adding the plugins one by one, I then imported my articles. Things started acting oddly when I imported my previous default page. I could narrow it down on the tag <txp:output_form form="p_titelweiche" />
(the form “p_titelweiche” not yet existing!). Without the output_form tag everything was fine. When I created the empty form “p_titelweiche” the page worked, too.
I tried removing the output_form tag on the old installation, but without any success.
To keep things running, at this point the fresh installation contained the standard installation’s page (not mine!). I then replaced sab_substr (v3) by rvm_substr (which BTW was contained in the old installation’s set of plugins, but not active) and activated it, and got the same effect: blank page in debugging mode.
EDIT: can not be reproduced
I’m rather clueless now, does this all give you any hint?
Last edited by uli (2008-04-30 12:47:04)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Debugging mode: blank page!
Unfortunately, it doesn’t really help, no.
I’m wondering though… if PHP does segfault, that can’t be a TXP bug. PHP shouldn’t segfault, no matter what happens.
Offline
#18 2008-05-05 19:52:47
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Debugging mode: blank page!
Seems to be caused by Zend. Turning it off did the trick. (MAMP -> Preferences -> PHP)
Last edited by uli (2008-05-05 19:55:30)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Debugging mode: blank page!
That would explain why I couldn’t reproduce it. Thanks for following up on this issue!
Offline