+ Reply to Thread
Results 1 to 5 of 5

Thread: Site settings could not be loaded?

  1. #1

    Default Site settings could not be loaded?

    I almost had dekiwiki working. A new install was running, but when I tried to log in, I got an error that some function wasn't found. Turns out I had to upgrade php to 2.5.x. In the process of doing so, php, apache, and mysql were updated. Now when I try to bring up the home page I get:


    Site settings could not be loaded

    Your site settings could not be loaded. This is most likely the result of misconfiguration of your API (or your API's location).

    HTTP Response Status Code: 502

    Here are some other tests/results:
    http://localhost:8081/deki/@about - Bad Request (Invalid host)
    http://localhost/@api/deki/@About - works
    http://localhost/config/index.php - works: Setup has completed, your wiki is configured.

    looks like mysql works with the user and pass from the mindtouch.deki.startup.xml.

    deki log looks clean.
    apache error_log has:

    PHP Notice: Undefined variable: wgSitename in /var/www/deki-hayes/languages/Language.php on line 51


    Any help is appreciated!

  2. #2
    Join Date
    Mar 2007
    Location
    Northampton, MA
    Posts
    622

    Default

    Hi mdahman,

    are running a VM or did you install your own server?

    If you are running the VM there is no need to upgrade apache, MySql or PHP, and this may be causing the issues. I would suggest re-downloading the VM and starting over.

    If you are running deki on your own server hopefully some of the experts in that area can help you.

    what did you call your site when you set up deki wiki.. perhaps there is something in the site name that is causing the issue.
    Deki Wiki 10
    UBUNTU 10.04 LTS

  3. #3

    Default

    This is a from-scratch install on RHEL5. I've used the vm install on another install with success, but this instance called for a from-scratch install. Anywho... I had to upgrade php from the base RHEL5 version as it was throwing errors when I tried to do an initial login to dekiwiki. My yum update, installed updates for mysql & apache along with php.

    What did I call the site? hmm, not sure. I think I left it as the default. The server hostname is its serial number, crazy enough. Here is what is in LocalSettings.php, I guess this is the name:

    $wgSitename = "Deki Wiki";

    I may not be giving you the info you are looking for, so let me know what file to pull it out of, and I'll do what I can to track it down.

    Thanks for the initial rapid response.

    -mike

  4. #4
    Join Date
    Mar 2007
    Location
    Northampton, MA
    Posts
    622

    Smile

    This is what I have around line 51 in Language.php

    Code:
    if(!isset($wgMetaNamespace) || $wgMetaNamespace === FALSE)
            $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
    See if the code is the same and if not try changing it (after backing up Language.php)

    Thats about I all I can think of. Perhaps one of the devs can help you with this one if that does not work.

    Good Luck!
    Deki Wiki 10
    UBUNTU 10.04 LTS

  5. #5

    Default



    The code in my Language.php file matched yours. I made some changes to no avail and restarted apache a couple times. It looks like apachectl wasn't restarting the entire http stack. The old date on the httpd parent process caught my eye.


    Code:
    # ps -ef | grep http
    apache   17667 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17668 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17669 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17670 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17671 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17672 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17673 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    apache   17674 23972  0 15:24 ?        00:00:00 /usr/sbin/httpd
    root     17676 17599  0 15:24 pts/0    00:00:00 grep http
    root     23972     1  0 Jan11 ?        00:00:00 /usr/sbin/httpd
    apache   24913     1  0 Jan11 ?        00:00:01 mono /var/www/deki-hayes/bin/mindtouch.host.exe apikey 169snL0n0uYzzdwspp6anZKUQCzRzirO script /etc/dekiwiki/mindtouch.deki.startup.xml path-prefix @api http-port 8081 ip localhost notty
    I forced a complete restart with

    Code:
    cd /etc/init.d
    ./httpd stop
    ./dekihost stop
    ./httpd start
    ./dekihost start
    I backed out my changes in Language.php. Now I get in. Thanks for taking to time to assist. I'm off to find my next install problem.

    -mike

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts