Page 1 of 1

Prompt to download .php

Posted: Thu Jan 04, 2007 10:16 pm
by davecjr
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.

Re: Prompt to download .php

Posted: Thu Jan 04, 2007 11:10 pm
by garvinhicking
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

Posted: Fri Jan 05, 2007 9:05 pm
by davecjr
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.

Posted: Sat Jan 06, 2007 12:51 pm
by garvinhicking
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

Posted: Mon Jan 08, 2007 4:08 pm
by davecjr
I thought I had done that but I said I was new to linux! I didn't have the rights to modify the php.ini file before and didn't realize it! After a little learning on permissions on linux and your help, it is fixed now!

As usual, many thanks Garvin! :D