PHP timeout with problems
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
PHP timeout with problems
I didn't know about PHP timeout. I was creating an html nugget as impressum (stupid idea - I need a static page) and it timed out.
http://transblawg.eu
One of my two sidebars had disappeared, containing my admin login link. When I reentered admin via serendipity_admin.php, I thought I would remove a plugin I had last entered to show tags (I have none yet). Under 'configure plugins' there was no option to delete. Nor was there a pattern of dots to drag and drop plugins. I turned off Javascript in Firefox and then arrows for moving the plugins appeared. Now I can move the plugins, but there's no 'Save' button there any longer.
Bulletproof is still configured for three columns, BSSCF, but only one sidebar shows.
Have I destroyed something?
TIA
Margaret
http://transblawg.eu
One of my two sidebars had disappeared, containing my admin login link. When I reentered admin via serendipity_admin.php, I thought I would remove a plugin I had last entered to show tags (I have none yet). Under 'configure plugins' there was no option to delete. Nor was there a pattern of dots to drag and drop plugins. I turned off Javascript in Firefox and then arrows for moving the plugins appeared. Now I can move the plugins, but there's no 'Save' button there any longer.
Bulletproof is still configured for three columns, BSSCF, but only one sidebar shows.
Have I destroyed something?
TIA
Margaret
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
In your case it seems as if your webserver is configured to hide any PHP errors. SO you didn't see anything, because you would usually have seen a fatal PHP error that was hidden frmo your view, making it look like simply something was missing.
You might want to try to use a .htaccess with a command like:
to see those errors in the future?
Regards,
Garvin
In your case it seems as if your webserver is configured to hide any PHP errors. SO you didn't see anything, because you would usually have seen a fatal PHP error that was hidden frmo your view, making it look like simply something was missing.
You might want to try to use a .htaccess with a command like:
Code: Select all
php_value display_errors On
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
Thanks. I will try to work out what that is. Where would I find that .htaccess so I can change it?
I have just got the Impressum to work. I had to add a forward slash after the question mark in
/index.php?pages/impressum html
The question mark and lack of slash in the Static Plugin page where I entered the details confused me, and so did some forum messages - I think it would be easier if the slash was there. But I am drifting.
Regards
Margaret
I have just got the Impressum to work. I had to add a forward slash after the question mark in
/index.php?pages/impressum html
The question mark and lack of slash in the Static Plugin page where I entered the details confused me, and so did some forum messages - I think it would be easier if the slash was there. But I am drifting.
Regards
Margaret
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The .htaccess should be in the root of your s9y installation, usually a file should be existing there. If there is none, you can simply create it.
Regards,
Garvin
The .htaccess should be in the root of your s9y installation, usually a file should be existing there. If there is none, you can simply create it.
The slash should be there by default! Did you maybe accidentaly remove it in first time? If you create a new page, it should use your usual setting in the s9y configuration you entered for "Relative HTTP path". This setting MUST contain a slash, as instructed in the installation. Make sure you have entered "/" there!/index.php?pages/impressum html
The question mark and lack of slash in the Static Plugin page where I entered the details confused me, and so did some forum messages - I think it would be easier if the slash was there. But I am drifting.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
Thanks, I see the .htaccess now.
Sorry, I thought the slash was missing in the default, but it's there. But it was missing in at least one of the forum messages I was looking at to find out what to do (I couldn't find an explanation of the static page creation anywhere, but I suppose these are all details a lot of people would already realize).
Margaret
Sorry, I thought the slash was missing in the default, but it's there. But it was missing in at least one of the forum messages I was looking at to find out what to do (I couldn't find an explanation of the static page creation anywhere, but I suppose these are all details a lot of people would already realize).
Margaret
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
This is all the .htaccess.php says:
# BEGIN s9y
DirectoryIndex /index.php
<Files *.tpl.php>
deny from all
</Files>
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
Do I just add that line to it somewhere?
Margaret
# BEGIN s9y
DirectoryIndex /index.php
<Files *.tpl.php>
deny from all
</Files>
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
Do I just add that line to it somewhere?
Margaret
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, you can add your "php_value ..." line anywhere at the top or bottom of the .htaccess file. It would be best if you put it ABOVE or BELOW the '#begin/end s9y' parts.
Regards,
Garvin
Yes, you can add your "php_value ..." line anywhere at the top or bottom of the .htaccess file. It would be best if you put it ABOVE or BELOW the '#begin/end s9y' parts.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
No, I'm getting an error page from domainfactory:
Sehr geehrter Besucher,
leider ist ein Problem aufgetreten. Die angeforderte Seite hat einen Script-Fehler verursacht.
Haben Sie sich vielleicht vertippt oder eine alte URL aufgerufen? Wenn nicht, informieren Sie bitte den Webmaster dieser Homepage per Email. Um zu der vorherigen Seite zurückzukehren, verwenden Sie bitte einfach die "Zurück" - Taste Ihres Browsers.
I'm going to remove that again. I have too many other things to tweak. I think there is a plugin that helps with timeouts by saving, I read somewhere yesterday.
Maybe I haven't even got this problem, but the error happened in a timeout so it wasn't reported to me. Because when I got the site going again, there was a S9y fatal error message. There just wasn't one earlier because of the timeout.
Margaret
Sehr geehrter Besucher,
leider ist ein Problem aufgetreten. Die angeforderte Seite hat einen Script-Fehler verursacht.
Haben Sie sich vielleicht vertippt oder eine alte URL aufgerufen? Wenn nicht, informieren Sie bitte den Webmaster dieser Homepage per Email. Um zu der vorherigen Seite zurückzukehren, verwenden Sie bitte einfach die "Zurück" - Taste Ihres Browsers.
I'm going to remove that again. I have too many other things to tweak. I think there is a plugin that helps with timeouts by saving, I read somewhere yesterday.
Maybe I haven't even got this problem, but the error happened in a timeout so it wasn't reported to me. Because when I got the site going again, there was a S9y fatal error message. There just wasn't one earlier because of the timeout.
Margaret
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Okay, then you can't enable the error display like this, I'm sorry.
But it really was the Amazon plugin that did this. It tries to connect to the Amazon site, and if it can't, it might timeout and take the whole page with it. That's a restriction of PHP, so it can't really be handled differently.
Regards,
Garvin
Okay, then you can't enable the error display like this, I'm sorry.
But it really was the Amazon plugin that did this. It tries to connect to the Amazon site, and if it can't, it might timeout and take the whole page with it. That's a restriction of PHP, so it can't really be handled differently.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm