fgets
Posted: Thu Jul 24, 2003 5:51 am
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_admin_installer.inc.php
on line 141 $line = trim(fgets($fp));
this should be $line = trim(fgets($fp, '4096'));
This will fix the problem.
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_admin_installer.inc.php
on line 141 $line = trim(fgets($fp));
this should be $line = trim(fgets($fp, '4096'));
This will fix the problem.