Loading...
 
Skip to main content

Architecture / Installation


You are viewing a reply to I get these errors on my page.

Re: Re: I get these errors on my page.

> What version are you trying to install?
> dthacker

It happens in version 1.9.8.3. It's a bug in file lib/init/initlib.php, in line 101. The function tempdir() for returning system defined temporary directory calls tempnamQuestion(false, ). This is obviously wrong, as the firs parameter is not a boolean value, but the directory where the temporary filename will be created. The problem can be patched in a quick and dirty manner by modifying the call on the line 101 to tempnam('/tmp',). Obviously, this is not the proper way to patch the bug, but it illustrates the point.

> > What version are you trying to install?
> > dthacker
>
> It happens in version 1.9.8.3. It's a bug in file lib/init/initlib.php, in line 101. The function tempdir() for returning system defined temporary directory calls tempnamQuestion(false, ). This is obviously wrong, as the firs parameter is not a boolean value, but the directory where the temporary filename will be created. The problem can be patched in a quick and dirty manner by modifying the call on the line 101 to tempnam('/tmp',). Obviously, this is not the proper way to patch the bug, but it illustrates the point.


> > What version are you trying to install?
> > dthacker
>
> It happens in version 1.9.8.3. It's a bug in file lib/init/initlib.php, in line 101. The function tempdir() for returning system defined temporary directory calls tempnamQuestion(false, \'\'). This is obviously wrong, as the firs parameter is not a boolean value, but the directory where the temporary filename will be created. The problem can be patched in a quick and dirty manner by modifying the call on the line 101 to tempnam(\'/tmp\',\'\'). Obviously, this is not the proper way to patch the bug, but it illustrates the point.