Problems installing SMW

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems installing SMW

Guillaume Galdrat
Hello Semantic folks,
I installed MediaWiki 1.10.0 then I followed the INSTALL instructions.
The last step (In your wiki, log in as a user with admin status...) gives me:

Warning: include_once(/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php) [ function.include-once]: failed to open stream: No such file or directory in /home/aproche/public_html/wikino/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 267

Warning: include_once() [function.include]: Failed opening '/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/aproche/public_html/wikino/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 267

Fatal error: Class 'SMW_LanguageEn' not found in /home/aproche/public_html/wikino/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 271

IIs it a known issue ?
Though I am new to SMW, I would really appreciate your help.
Best regards,
Guillaume.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: Problems installing SMW

S Page
Guillaume Galdrat wrote:

> I installed MediaWiki 1.10.0 then I followed the INSTALL instructions.
> The last step (In your wiki, log in as a user with admin status...)
> gives me:
>
> *Warning*:
> include_once(/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php)

Normally this has the full path to the file on the front.
I assume you do in fact have this file at
/home/aproche/public_html/wikino/extensions/SemanticMediaWiki/includes/languages/SMW_LanguageEn.php
?

> [ function.include-once
> <http://www.youmean.org/wikino/function.include-once>]: failed to open
> stream: No such file or directory in
> */home/aproche/public_html/wikino/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php
> * on line *267*

That line is
   include_once($smwgIP . '/languages/SMW_LanguageEn.php');
and in turn SMW_Settings.php defines $smwgIP as
   $smwgIP = $IP . '/extensions/SemanticMediaWiki';

so it looks like $IP isn't defined in your MediaWiki installation, and
it should be "/home/aproche/public_html/wikino"
$IP is documented at http://www.mediawiki.org/wiki/Manual:$IP
In my Windows XAMPPlite MediaWiki installation, LocalSettings.php
defines $IP near the top:
   # This file was automatically generated by the MediaWiki installer.
   ...
   $IP = "C:\\xampplite\\htdocs\\mediawiki";
   ...
and then much later in the file is the line
   include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php');


What value does LocalSettings.php give for $IP in your installation?  If
it's missing, reinstall or try adding the following two lines near the top:
   # Manually set $IP to full path to the installation directory
   $IP = '/home/aproche/public_html/wikino';

> *Is it a known issue ?

I don't think this is specific to SMW.


Regards,
--
=S

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user