Great blog system.....having PHP Trouble

Having trouble installing serendipity?
Post Reply
schristy
Regular
Posts: 6
Joined: Fri Oct 20, 2006 12:43 am

Great blog system.....having PHP Trouble

Post 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.
schristy
Regular
Posts: 6
Joined: Fri Oct 20, 2006 12:43 am

Error codes

Post 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!
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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?
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
schristy
Regular
Posts: 6
Joined: Fri Oct 20, 2006 12:43 am

versions

Post 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. :x
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: versions

Post 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
# 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/
ihra
Regular
Posts: 26
Joined: Thu Sep 21, 2006 11:15 am

Post 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.
...ihra / ukki / Jussi Josefsson
schristy
Regular
Posts: 6
Joined: Fri Oct 20, 2006 12:43 am

Shell access

Post 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.
schristy
Regular
Posts: 6
Joined: Fri Oct 20, 2006 12:43 am

running OK?

Post 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?
ihra
Regular
Posts: 26
Joined: Thu Sep 21, 2006 11:15 am

Re: Shell access

Post 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.
...ihra / ukki / Jussi Josefsson
schristy
Regular
Posts: 6
Joined: Fri Oct 20, 2006 12:43 am

Re: Shell access

Post 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. :D
Post Reply