Page 1 of 1
Great blog system.....having PHP Trouble
Posted: Fri Oct 20, 2006 1:26 am
by schristy
I installed Serendipity and every thing went just fine except that I did get a couple database errors during installation. Unfortunately I didn't think to record the error messages because the install proceeded and seemed to work.
I seem to recall the error message was something about a database index error.
Everything seems to be working fine but I notice my blog is running quite slowly. I only have 2 posts in the blog and the response time is 5-10 seconds for it to load.
I'm thinking that the installation errors I ran into might be part of the problem. Should I reinstall or is there something I can do to fix it without reinstalling? Is there anything in particular I could check?
Thanks in advance for any help.
Error codes
Posted: Fri Oct 20, 2006 4:09 am
by schristy
I decided to do a complete reinstall. This time I copied down the error codes.
In the initial screen I get the following errors:
Warning: Wrong parameter count for php_uname() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... er.inc.php on line 100
Warning: Wrong parameter count for php_uname() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... er.inc.php on line 100
Warning: Wrong parameter count for php_uname() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... er.inc.php on line 100
After keying in the configuration settings I get the following error messages:
Installing default plugins...
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Error: serendipity_event_s9ymarkup:2b285f9e420acb449b31723c4dc60fab ()
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Error: serendipity_event_emoticate:b29caeea1512a8cf7ac6f33dfcd7a3d2 ()
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Warning: Wrong parameter count for print_r() in /export/www/customer/
www.greenbayeasthighschool.com/htdocs/a ... pi.inc.php on line 116
Error: serendipity_event_spamblock:f76e487106d0ef793196ae7d7829d7c6 ()
Done
Attempting to write .htaccess file...... Done
From there Serendipity works ok but it's pretty slow running.
Anybody have an idea why?
Thanks!
Posted: Fri Oct 20, 2006 5:50 am
by judebert
I've got different versions of the files than you, so I can't tell what's there/supposed to be there. Which version of s9y are you using?
Posted: Fri Oct 20, 2006 11:31 am
by garvinhicking
Hi!
Also please tell us which PHP version you use. This seems to be pretty old!
PHP 4.3.1 at least should be used; better would be a 4.4.x version.
Best regards,
Garvin
versions
Posted: Fri Oct 20, 2006 1:47 pm
by schristy
I'm running version 1.02 of Serendipty
My host is running version 4.1.2 of PHP. I already talked to them once about upgrading due to the requirements of a CMS I wanted to run and they are dragging their feet on upgrading for some reason. Might be time to start looking for a new host.

Re: versions
Posted: Fri Oct 20, 2006 4:20 pm
by garvinhicking
Hi!
PHP 4.1.2 is not an option for Serendipity, I'm afraid. You'll need to make an upgrade or webserver switch, if you care to use Serendipity. I'm sorry!
PHP 4.1.2 has dozens of security leaks. Any web provider that insists on keeping it should not be considered a good one.
Best regards,
Garvin
Posted: Fri Oct 20, 2006 7:46 pm
by ihra
If you have shell access to your isp account, you can run php in client mode, or as CLI version. You can setup your own php.ini too.
Shell access
Posted: Fri Oct 20, 2006 7:58 pm
by schristy
ihra wrote:If you have shell access to your isp account, you can run php in client mode, or as CLI version. You can setup your own php.ini too.
I DO have shell access. If I run in client mode (which I'm not exactly sure how to do but I can look into it) how will it fix my problem? Please explain.
Thanks.
running OK?
Posted: Sat Oct 21, 2006 4:30 pm
by schristy
my blog seems to be running ok now even with the older version of PHP I listed above. Is there anything I should be concerned about though?
Re: Shell access
Posted: Mon Oct 23, 2006 2:39 pm
by ihra
schristy wrote:ihra wrote:If you have shell access to your isp account, you can run php in client mode, or as CLI version. You can setup your own php.ini too.
I DO have shell access. If I run in client mode (which I'm not exactly sure how to do but I can look into it) how will it fix my problem? Please explain.
Thanks.
You can compile and install any (=newer or with different libraries) version of php and run it independently of your ISPs defaults. Same thing with php.ini -files.
Normally your own programs are run in rootjail, meaning php has only access to your files (it runs under nobody or with your account, thus no access outside your directory which is normally fine). Just a note, some paths in s9y will be different (like base directory).
You can ask also your ISP to set it up for you if they are kind.
Normally needs ability to run cgi-files:
http://blog.dreamhosters.com/kbase/index.cgi?area=2538
I have to admit it is not for fainthearted, especially if haven't compiled linux binaries before (assuming it is linux they are running, worse still with BSD, AIX, HP or others).
If you know what you are doing it takes about 15-30 minutes.
Re: Shell access
Posted: Mon Oct 23, 2006 3:58 pm
by schristy
ihra wrote:schristy wrote:ihra wrote:If you have shell access to your isp account, you can run php in client mode, or as CLI version. You can setup your own php.ini too.
I DO have shell access. If I run in client mode (which I'm not exactly sure how to do but I can look into it) how will it fix my problem? Please explain.
Thanks.
You can compile and install any (=newer or with different libraries) version of php and run it independently of your ISPs defaults. Same thing with php.ini -files.
Normally your own programs are run in rootjail, meaning php has only access to your files (it runs under nobody or with your account, thus no access outside your directory which is normally fine). Just a note, some paths in s9y will be different (like base directory).
You can ask also your ISP to set it up for you if they are kind.
Normally needs ability to run cgi-files:
http://blog.dreamhosters.com/kbase/index.cgi?area=2538
I have to admit it is not for fainthearted, especially if haven't compiled linux binaries before (assuming it is linux they are running, worse still with BSD, AIX, HP or others).
If you know what you are doing it takes about 15-30 minutes.
Sounds over my head after all. I guess since my blog appears to be running ok right now, I won't mess with it and will continue to push my host to upgrade their version of PHP.
They were just bought out by a different company so maybe they'll be more interested in keeping me happy.
