Prompt to download .php
Prompt to download .php
I have been using S9Y for a few years now and love it. I recently decided to learn a little more about linux, apache, mysql, php, and so on. I managed to get all the above installed and get s9y working. After playing around with s9y a few minutes and installing a few plugins, I started getting a prompt to save the .php file when I click on a plugin to install it. I know this isn't because of s9y but thought someone might be able to help. I have this on an internal site with Ubuntu 6.06, Apache 2, PHP 5.1.2, and S9Y 1.1.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Prompt to download .php
Hi!
Usually if that happens it can mean that your webserver or the PHP process crashed.
Can you inspect your kernel/syslog facility for fatal core dump messages? Also enable display_errors and error_log in your php.ini file and restart the webserver for taking effect. Then inspect those logfiles, there should be a clue to that.
Maybe if that does not help you could explain exactly what links you click on to reproduce the problem? Maybe with screenshots?
Best regards,
Garvin
Usually if that happens it can mean that your webserver or the PHP process crashed.
Can you inspect your kernel/syslog facility for fatal core dump messages? Also enable display_errors and error_log in your php.ini file and restart the webserver for taking effect. Then inspect those logfiles, there should be a clue to that.
Maybe if that does not help you could explain exactly what links you click on to reproduce the problem? Maybe with screenshots?
Best 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/
This is the error I keep getting in the /var/log/apache2/error.log.
--Allowed memory size of 8388608 bytes exhausted (tried to allocate 162 bytes)--
Here is a link to a screenshot of what I'm going.
http://www.affordablepcgeek.com/phperror.JPG
I click on the 'Gallery Display' icon to install it and get the popup in the screenshot. It also does the same thing when I click on a few others like the My Calendar plugin. It didn't do this when I installed the karma or track exit plugins.
Unless I'm looking in the wrong place for the kernel log, I don't see anything in there /var/log/kern.log. (I am a linux noob by a long shot though!)
Thanks for your help.
--Allowed memory size of 8388608 bytes exhausted (tried to allocate 162 bytes)--
Here is a link to a screenshot of what I'm going.
http://www.affordablepcgeek.com/phperror.JPG
I click on the 'Gallery Display' icon to install it and get the popup in the screenshot. It also does the same thing when I click on a few others like the My Calendar plugin. It didn't do this when I installed the karma or track exit plugins.
Unless I'm looking in the wrong place for the kernel log, I don't see anything in there /var/log/kern.log. (I am a linux noob by a long shot though!)
Thanks for your help.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
That message looks like your problem. You have too little memory available.
Either you or your hoster must raise the memory_limit in php.php to maybe 16MB, or you will need to remove some plugins from your s9y installation.
Best regards,
Garvin
That message looks like your problem. You have too little memory available.
Either you or your hoster must raise the memory_limit in php.php to maybe 16MB, or you will need to remove some plugins from your s9y installation.
Best 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/