Last modified: 2012-02-12 11:58:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32589 - v1.6.1 - v1.7.1a2 SMW_conceptCache.php --delete fails
v1.6.1 - v1.7.1a2 SMW_conceptCache.php --delete fails
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-22 20:10 UTC by [[kgh]]
Modified: 2012-02-12 11:58 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description [[kgh]] 2011-11-22 20:10:27 UTC
# php SMW_conceptCache.php --delete
PHP Warning:  require_once(/.../maintenance/counter.php): failed to open stream: No such file or directory in /.../extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php on line 34
PHP Fatal error:  require_once(): Failed opening required '/.../maintenance/counter.php' (include_path='.:/pear/lib:/var/www/pear/lib') in /.../extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php on line 34
Comment 1 Jeroen De Dauw 2011-11-22 20:20:36 UTC
Markus fixed some issues with concepts in 1.6 or 1.6.1, so this might already be solved.
Comment 2 [[kgh]] 2011-11-22 20:25:31 UTC
Fair enough. I just tested with v1.6.1 but the problem is still appearing.
Comment 3 Jeroen De Dauw 2011-11-22 20:28:23 UTC
Looks like this file is no longer present in recent versions of MediaWiki. I don't know what it was used for though.
Comment 4 [[kgh]] 2012-01-15 12:41:11 UTC
I just tested this with SMW-r108966 and MW-1.18.1 and discovered that the issue is still there:

# php SMW_conceptCache.php --delete
PHP Warning:  require_once(/.../maintenance/counter.php): failed to open stream: No such file or directory in /.../extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php on line 34
Warning: require_once(/.../maintenance/counter.php): failed to open stream: No such file or directory in /.../extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php on line 34
PHP Fatal error:  require_once(): Failed opening required '/.../maintenance/counter.php' (include_path='.:/pear/lib:/var/www/pear/lib') in /.../extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php on line 34
Fatal error: require_once(): Failed opening required '/.../maintenance/counter.php' (include_path='.:/pear/lib:/var/www/pear/lib') in /.../extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php on line 34
Comment 5 Markus Krötzsch 2012-02-11 18:55:45 UTC
I hope I fixed this in r111253. Including counter.php is no longer necessary, so I just removed the offending line.

The problem you got seems to be related to the recent problem reports of other users about files that could not be found by maintenance scripts (esp. Bug33400), but here it was easier to solve.
Comment 6 [[kgh]] 2012-02-12 11:58:53 UTC
Thank you for this information an your fix which now allows you to delete caches, however only in bulk. I will open another bug for this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links