Search found 3 matches

by eternal
Sat Jul 26, 2003 5:22 pm
Forum: Bugs
Topic: fgets
Replies: 4
Views: 10852

mmcfadden: I know it's the php version thing, just mainly posted it here for documentation purposes...not to mention since the string is optional, and it does no detriment to put it in, it might be a good idea, since that stops it from working on systems with older php.
by eternal
Thu Jul 24, 2003 5:51 am
Forum: Bugs
Topic: fgets
Replies: 4
Views: 10852

fgets

On install on systems with older versions of php, there is a bug with fgets, and that it requires a length param.

Attempting to setup Database...

Warning: Wrong parameter count for fgets() in /home/web/blog.paupau.org/htdocs/serendipity_admin_installer.inc.php on line 142


fix :

in serendipity ...
by eternal
Thu Jul 24, 2003 5:45 am
Forum: Installation
Topic: fgets() problem
Replies: 4
Views: 11065

I just installed it, I however ran into the same roadblock, but I do have a fix :)

in serendipity_admin_installer.inc.php
on line 141 $line = trim(fgets($fp));
this should be $line = trim(fgets($fp, '4096'));

This will fix the problem.

Also, on the newspaper template there is a reference to ...