Files counter.php and commandLine.inc Where to find them

View: New views
2 Messages — Rating Filter:   Alert me  

Files counter.php and commandLine.inc Where to find them

by Temlakos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Markus (and anyone else having any knowledge of this):

As I know you're putting together another SMW package that will rework
the entire SMW store and require me to run certain maintenance scripts,
I face a crisis: I cannot run any of your maintenance scripts.

They always fail on the opening of one or both of the following files:

1.   counter.php
2.   commandLine.inc

Where are those files supposed to be located? Whenever I try to run
them, I get a message from the PHP runtime engine saying that it looked
from them in the /usr/local/include/ directory and could not find them.

If these are MediaWiki files, then I'd like to know where I might fetch
them and where to install them so that the scripts can find them and
open them.

If these are any other kind of file, know this: Some of us are running
MediaWiki under one restriction or another. My Web hosts are furnishing
a dedicated server. But that server uses the Plesk control panel--and
Plesk insists, to the point of an automatic override, that PHP run
restricted to the "httpdocs" directory and never go outside it. Lately I
have been trying to work around that restriction by creating symbolic
links to certain outside files in a directory called "httpdocs/bin". If
I have to do that in this case, I will.

More to the point, if I don't get those two files, then I will be
limited to the "old store." In fact, I was never able to run the
"unifyProperties.php" script when I upgraded from SMW 0.7 to 1.0. I had
to do a "manual unification" that took me about an hour.

Any assistance will be appreciated.

Temlakos

PS: In case anyone's wondering why I don't simply "check out" the
"current version" of SMW from SVN, remember that I created a custom data
type (SMW_DV_HxDate.php) to which I needed to add some custom references
in the DataValueFactory class and in nearly all the language files. A
simple SVN checkout will erase those custom references, and that I
/cannot/ afford on a "live" server.

Right now I'm running SMW 1.1.1, with my custom "historical date" datatype.

Temlakos

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: Files counter.php and commandLine.inc Where to find them

by S Page-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Temlakos wrote:

> I face a crisis: I cannot run any of your maintenance scripts.

Are you following the instructions in extensions/SemanticMediaWiki/README ?

> They always fail on the opening of one or both of the following files:
>
> 1.   counter.php
> 2.   commandLine.inc
>
> Where are those files supposed to be located?

They're in mediawiki/maintenance, and as the README says you have to
copy the SMW maintenance files there or make them symlinks in that
directory.

> If these are MediaWiki files, then I'd like to know where I might fetch
> them and where to install them so that the scripts can find them and
> open them.

You might be able to instead copy the MediaWiki maintenance
infrastructure back into the SMW maintenance directory and run from
there; I tried it a while ago and couldn't get it to work.

If you're restricted to running things through a web interface you'll
probably have other issues.  I think someone on this mailing list made a
version of SMW_refreshData.php that worked as a web page.

Good luck,
--
=S Page

> PS: In case anyone's wondering why I don't simply "check out" the
> "current version" of SMW from SVN, remember that I created a custom data
> type (SMW_DV_HxDate.php) to which I needed to add some custom references
> in the DataValueFactory class and in nearly all the language files. A
> simple SVN checkout will erase those custom references, and that I
> /cannot/ afford on a "live" server.

`svn update` will preserve your local changes, possibly adding '>>>>'
around lines with conflicting changes.  But you probably want to do `svn
switch` to the REL_1_1_2 tag first if you don't want the absolute latest
1.2 changes.

> Right now I'm running SMW 1.1.1, with my custom "historical date" datatype.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
LightInTheBox - Buy quality products at wholesale price