Hello,
MediaWiki 1.3.3 is giving strange error-messages on pages with thumbs, but only when I use the browser Netscape 7.1 and not with IE 6.0 or Firefox 0.9. The error messages are the following:
Warning: shell_exec,popen,escapeshellcmd,proc_open,proc_nice() has been disabled for security reasons in /www/htdocs/wiki/includes/Image.php on line 179
Warning: stat() [function.stat http://www.php.net/function.stat]: Stat failed for /www/htdocs/v101777/wiki/images/thumb/5/57/180px-Kvdr-image02.jpg (errno=2 - No such file or directory) in /www/htdocs/wiki/includes/Image.php on line 246
Warning: unlink(/www/htdocs/v101777/wiki/images/thumb/5/57/180px-Kvdr-image02.jpg) [function.unlink http://www.php.net/function.unlink]: No such file or directory in /www/htdocs//wiki/includes/Image.php on line 249
Has anybody a idea what is going wrong? What can I do?
Thank you! Markus
On Sep 20, 2004, at 11:37 AM, Markus Klaus Schäffauer wrote:
MediaWiki 1.3.3 is giving strange error-messages on pages with thumbs, but only when I use the browser Netscape 7.1 and not with IE 6.0 or Firefox 0.9. The error messages are the following:
Those messages have to do with your PHP configuration and shouldn't be affected by which browser you use. It's possible that there's a caching issue that causes Netscape to see different versions of the page, or the error messages might be hidden or displayed differently (check 'view source').
Warning: shell_exec,popen,escapeshellcmd,proc_open,proc_nice() has been disabled for security reasons in /www/htdocs/wiki/includes/Image.php on line 179
Well, that's going to make it pretty hard to shell out to ImageMagick.
If you're unwilling or unable to change that, try using the GD library support instead (switch the settings in LocalSettings.php). This of course will only work if GD support is available in your PHP configuration.
Warning: stat() [function.stat http://www.php.net/function.stat]: Stat failed for /www/htdocs/v101777/wiki/images/thumb/5/57/180px-Kvdr-image02.jpg (errno=2 - No such file or directory) in /www/htdocs/wiki/includes/Image.php on line 246
It's also kind of odd that there are different path names here. Is this a deliberate configuration you've set up, or something weird?
Warning:
unlink(/www/htdocs/v101777/wiki/images/thumb/5/57/180px-Kvdr- image02.jpg) [function.unlink http://www.php.net/function.unlink]: No such file or directory in /www/htdocs//wiki/includes/Image.php on line 249
This is trying to remove 0-length faulty generated thumbnails. Since the file doesn't even exist, that naturally doesn't work right.
-- brion vibber (brion @ pobox.com)
Hi Brion, thank you for answering.
MediaWiki 1.3.3 is giving strange error-messages on pages with thumbs, but only when I use the browser Netscape 7.1 and not with IE 6.0 or Firefox 0.9. The error messages are the following:
Those messages have to do with your PHP configuration and shouldn't be affected by which browser you use. It's possible that there's a caching issue that causes Netscape to see different versions of the page, or the error messages might be hidden or displayed differently (check 'view source').
I can observe the difference between Netscape 7.1 and Firefox 0.9 even in the source code. So I think you are right, it might be a caching issue of Netscape 7.1, because there is nothing wrong in the other browsers.
Warning: shell_exec,popen,escapeshellcmd,proc_open,proc_nice() has been disabled for security reasons in /www/htdocs/wiki/includes/Image.php on line 179
Well, that's going to make it pretty hard to shell out to ImageMagick.
If you're unwilling or unable to change that, try using the GD library support instead (switch the settings in LocalSettings.php). This of course will only work if GD support is available in your PHP configuration.
I allready disabled ImageMagick this afternoon, but may be the error messages are still present (in Netscape) due to the caching issue you mentioned.
Warning: stat() [function.stat http://www.php.net/function.stat]:
Stat failed for /www/htdocs/v101777/wiki/images/thumb/5/57/180px-Kvdr-image02.jpg (errno=2 - No such file or directory) in /www/htdocs/wiki/includes/Image.php on line 246
It's also kind of odd that there are different path names here. Is this a deliberate configuration you've set up, or something weird?
I am sorry, this is my fault: I wanted to erase the directory name and forgot this one ;-)
The thumbs are working well (with GD library support), so I hope the error messages will dissapear once the cache is reloaded.
Thank you! Markus
Hello,
since I installed MediaWiki 1.3.3, I get sometimes the following error message from the search engine (and have to repair the table):
"SearchEngine::showResults". MySQL meldete den Fehler "1016: Can't open file: 'searchindex.MYI'. (errno: 145)".
What can be the reason for that behaviour and what can I do to avoid it?
Thank you! Markus
By running 'perror 145', I see:
Error code 145: Unknown error: 145 145 = Table was marked as crashed and should be repaired
Your searchindex table is corrupt. You can either use REPAIR TABLE from within mysql, or you can use the myisamchk app to try to fix the file. There's a lot of info on this at http://www.mysql.com
I'd probably repair the file, and then re-run the maintenance script 'rebuildtextindex.php' with the command: php rebuildtextindex.php
I'd also suggest figuring out the root cause of that table corruption, but I don't have any great advice for you. When I was having corruption problems, it turned out to be an OS bug or corruption in my partition, I don't know which. I'd worry if you see this corruption again, but for now, maybe it's no huge issue.
good luck! -nick
Markus Klaus Schäffauer wrote:
Hello,
since I installed MediaWiki 1.3.3, I get sometimes the following error message from the search engine (and have to repair the table):
"SearchEngine::showResults". MySQL meldete den Fehler "1016: Can't open file: 'searchindex.MYI'. (errno: 145)".
What can be the reason for that behaviour and what can I do to avoid it?
Thank you! Markus
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 09/20/2004 4:23 PM, Markus Klaus Schäffauer markus.klaus.schaeffauer@romanistik.uni-freiburg.de wrote:
Hello,
since I installed MediaWiki 1.3.3, I get sometimes the following error message from the search engine (and have to repair the table):
"SearchEngine::showResults". MySQL meldete den Fehler "1016: Can't open file: 'searchindex.MYI'. (errno: 145)".
What can be the reason for that behaviour and what can I do to avoid it?
# /usr/bin/perror 145 MySQL error: 145 = Table was marked as crashed and should be repaired
Shut down your database and run `myisamchk -r` on that file.
Paul
On Sep 20, 2004, at 3:21 PM, Paul Fierro wrote:
# /usr/bin/perror 145 MySQL error: 145 = Table was marked as crashed and should be repaired
Shut down your database and run `myisamchk -r` on that file.
Shutting down shouldn't generally be necessary; you can issue 'REPAIR TABLE searchindex' from within mysql.
Note that these kinds of errors indicate one or more of the following: * Power outage or other unorganized shutdown of the computer / server. * Bug in MySQL itself * Bug in operating system * Hardware failure
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org