Jump to content

Topic on Project:Support desk

"Notice: fwrite(): write of 656 bytes failed with errno=22 Invalid argument in C:\xampp\htdocs\wiki\includes\shell\Command.php on line 474" on the common CSS page

4
C.Ezra.M (talkcontribs)

Hello, I see the following content on MediaWiki:Common.css:

Notice: fwrite(): write of 656 bytes failed with errno=22 Invalid argument in C:\xampp\htdocs\wiki\includes\shell\Command.php on line 474

The CSS page has the following content:

/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

/* Resetowanie stylu "display" */
div {display: block}
span {display: inline}
table {display: table}
tr {display: table-row}
th, td {display: table-cell}

.mainpage-top
{
	border: 1px solid #7c5a43;
	background: white;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	display: table;
	width: 100%;
	padding: 5px
}

/* .page-Strona_główna #firstHeading,
.page-Strona_główna .siteSub
{
	display: none
} */

.page-Strona_główna .mw-body
{
	background: #F7C9AB;
}

/* .mw-body-content
{
	font-family: 'Fira Sans', Verdana, Arial, sans-serif
} */

Please help me.

Bawolff (talkcontribs)

i suspect this is a big that only shows up in windows and people test windows less.

Be helpful to know the stacktrace for the failed fwrite

MarkAHershberger (talkcontribs)
Gunnar.offel (talkcontribs)

i got

Notice: fwrite(): write of 3189 bytes failed with errno=22 Invalid argument in C:\Laragon\www\Localwiki\includes\shell\Command.php on line 493

Notice: Failed to invoke Pygments: Der Befehl ""C:\Laragon\www\Localwiki\extensions\SyntaxHighlight_GeSHi\includes/../pygments/pygmentize"" ist entweder falsch geschrieben oder konnte nicht gefunden werden. [Called from SyntaxHighlight::highlight in C:\Laragon\www\Localwiki\extensions\SyntaxHighlight_GeSHi\includes\SyntaxHighlight.php at line 356] in C:\Laragon\www\Localwiki\includes\debug\MWDebug.php on line 430


just comment '''SyntaxHighlight_GeSHi''' out, it calls the pygmentize and returns the error if phyton for the script is not available. commenting out or delete the corresponding line of this extension. Its needless, since you didn't used them.

Reply to ""Notice: fwrite(): write of 656 bytes failed with errno=22 Invalid argument in C:\xampp\htdocs\wiki\includes\shell\Command.php on line 474" on the common CSS page"