Ah yes, thanks :-)

I think that I will begin to review the guide for other things than MySQL
part.

Best.

Julien.


2013/4/17 Jona Christopher Sahnwaldt <[email protected]>

> The triples files are created in the same folders where the Wikipedia xml
> dump files are stored.
> On Apr 17, 2013 1:47 PM, "Julien Plu" <[email protected]>
> wrote:
>
>> I did almost exactly the same thing. And I don't know enough too about
>> PHP but we have 2 things to change inside, it's really easy to ask to the
>> users to change just these changements.
>>
>> By the way, I have a simple question with no meaning with this topic, but
>> where are put the results N-Triples files ?
>>
>> Best
>>
>> Julien.
>>
>>
>> 2013/4/17 Jona Christopher Sahnwaldt <[email protected]>
>>
>>> You are correct, we shouldn't tell people to use the whole file. Maybe
>>> we can put most of our changes / additions into one php file
>>> DBpediaSettings.php, put that file into the repo, and tell people to add
>>> that file to their MediaWiki folder and add something like
>>>
>>> include "DBpediaSettings.php"
>>>
>>> at a certain place in their LocalSettings.php.
>>>
>>> I'm not sure if that will work, I don't know enough about PHP in general
>>> and our changes in particular, but could you give it a try? Or maybe we
>>> need multiple DBpedia settings files because we have to modify different
>>> parts of LocalSettings.php.
>>>
>>> The last message in the thread Dimitris pointed to explains a different,
>>> somewhat like less elegant approach:
>>>
>>> Delete LocalSettings.php. Go to http://localhost/mediawiki (or whatever
>>> the
>>> appropriate URL is) in your browser. You should see a page asking for
>>> your
>>> configuration. Enter your settings. When you are done, you should have a
>>> new LocalSettings.php file. Now comes the hard part. Figure out what we
>>> changed in our LocalSettings.php. In other words, make a git diff between
>>> the first and last version of
>>>
>>> https://github.com/dbpedia/extraction-framework/commits/master/dump/src/main/mediawiki/LocalSettings.php
>>> .
>>> Now, also make these changes in your own LocalSettings.php - that
>>> means,
>>> copy a few lines here and there.
>>>
>>> To test if things are working, go to
>>> http://localhost/mediawiki/api.php?uselang=en in your browser. You
>>> should
>>> see usage instructions. Now try the extraction again.
>>>
>>> I keep my fingers crossed. :-)
>>> On Apr 17, 2013 12:09 PM, "Julien Plu" <
>>> [email protected]> wrote:
>>>
>>>> Ok, the problem come from the "LocalSettings.php" file coming from the
>>>> repository. I don't know where but it come from here.
>>>>
>>>> So I think instead of providing the file, maybe explain just what we
>>>> have to change inside will be a better solution ?
>>>>
>>>> Best.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> 2013/4/16 Julien Plu <[email protected]>
>>>>
>>>>> Thanks Dimitris, I will watch this tomorrow because I'm not behind my
>>>>> working machine until tomorrow morning.
>>>>>
>>>>> So I will let you know :-)
>>>>>
>>>>> Best.
>>>>>
>>>>> Julien.
>>>>>
>>>>>
>>>>> 2013/4/16 Dimitris Kontokostas <[email protected]>
>>>>>
>>>>>> Hi Julien,
>>>>>> you can take a look at this thread. Gaurav (cc) had the exact same
>>>>>> issue.
>>>>>>
>>>>>>
>>>>>> https://sourceforge.net/mailarchive/forum.php?thread_name=CAEQewppiJEWbG3dcUxEYPGiKCAjoX%2B7drZWYrjFJmWp5%3DMbwow%40mail.gmail.com&forum_name=dbpedia-discussion
>>>>>>
>>>>>> if the thread doesn't help, maybe Gaurav could give you some hints.
>>>>>>
>>>>>> Cheers,
>>>>>> Dimitris
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 16, 2013 at 7:05 PM, Julien Plu <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I installed mediawiki on my web server it worked like a charm, the
>>>>>>> version that I use is origin/REL1.21. Now after to import every 
>>>>>>> templates I
>>>>>>> have to download your "LocalSettings.php", "ApiParse.php" and
>>>>>>> "DBPediaFunctions.php" files.
>>>>>>>
>>>>>>> I put your "LocalSettings.php" instead of mine, I change just the
>>>>>>> database user password. I replace the "ApiParse.php" file by your 
>>>>>>> version
>>>>>>> too and put the "DBPediaFunctions.php" file in the root directory of
>>>>>>> mediawiki.
>>>>>>>
>>>>>>> After I download every extensions listed in the "LocalSettings.php",
>>>>>>> by the way "Timeline" extension doesn't exist anymore, now it's
>>>>>>> "TimelineTable" so I downloaded this one and modified the
>>>>>>> "LocalSettings.php" file to make replacement.
>>>>>>>
>>>>>>> And when I open this page "
>>>>>>> http://localhost/mediawiki/api.php?uselang=fr"; I have a blank page
>>>>>>> and this error in the apache log file :
>>>>>>>
>>>>>>> [Tue Apr 16 17:50:14 2013] [error] [client 127.0.0.1] PHP Fatal
>>>>>>> error:  Call to a member function disable() on a non-object in
>>>>>>> /var/www/mediawiki/includes/GlobalFunctions.php on line 2164
>>>>>>> [Tue Apr 16 17:50:14 2013] [error] [client 127.0.0.1] PHP Stack
>>>>>>> trace:
>>>>>>> [Tue Apr 16 17:50:14 2013] [error] [client 127.0.0.1] PHP   1.
>>>>>>> MWExceptionHandler::handle() /var/www/mediawiki/includes/Exception.php:0
>>>>>>> [Tue Apr 16 17:50:14 2013] [error] [client 127.0.0.1] PHP   2.
>>>>>>> MWExceptionHandler::report() 
>>>>>>> /var/www/mediawiki/includes/Exception.php:713
>>>>>>> [Tue Apr 16 17:50:14 2013] [error] [client 127.0.0.1] PHP   3.
>>>>>>> MWException->report() /var/www/mediawiki/includes/Exception.php:643
>>>>>>> [Tue Apr 16 17:50:14 2013] [error] [client 127.0.0.1] PHP   4.
>>>>>>> wfHttpError() /var/www/mediawiki/includes/Exception.php:265
>>>>>>>
>>>>>>> I precise that my database is called "frwiki".
>>>>>>>
>>>>>>> Anyone can know why this error occur ?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Best.
>>>>>>>
>>>>>>> Julien.
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Precog is a next-generation analytics platform capable of advanced
>>>>>>> analytics on semi-structured data. The platform includes APIs for
>>>>>>> building
>>>>>>> apps and a phenomenal toolset for data science. Developers can use
>>>>>>> our toolset for easy data analysis & visualization. Get a free
>>>>>>> account!
>>>>>>> http://www2.precog.com/precogplatform/slashdotnewsletter
>>>>>>> _______________________________________________
>>>>>>> Dbpedia-discussion mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kontokostas Dimitris
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Precog is a next-generation analytics platform capable of advanced
>>>> analytics on semi-structured data. The platform includes APIs for
>>>> building
>>>> apps and a phenomenal toolset for data science. Developers can use
>>>> our toolset for easy data analysis & visualization. Get a free account!
>>>> http://www2.precog.com/precogplatform/slashdotnewsletter
>>>> _______________________________________________
>>>> Dbpedia-discussion mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>>>>
>>>>
>>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to