> Have a bit of a problem getting the site wizard to 
> run. Its a completely clean install from source 
> using latest midgard all in one package. Aegir, 
> spider and the sample site all work fine. Going to 
> the site wizard returns

I suppose you installed Midgard 1.8.3? It has some misfeatures that have been 
fixed to the upcoming release (Midgard 1.8.4).

I encountered the same problem on all those three installations I made with 
1.8.3. I can't remember exactly how this was supposed to be solved, so I'm at 
the moment creating a virtual machine to solve the problem. OK, here it goes 
(you can check between each main point if it works already or not):

* Check if _midgard.admin.sitewizard_ was properly installed
  - `pear info midcom/midgard_admin_sitewizard`
    - check if you have the package already downloaded
  - `pear install midcom/midgard_admin_sitewizard`
    - I needed to upgrade pear, but that might be just this fresh server
  - Stop and start Apache
  - Invalidate MidCOM cache
    - either visit the URL referring to your sitewizard (e.g.
      `http://stable.localhost/midgard-sitewizard/midcom-cache-invalidate`)
      or delete the files from _/var/cache/midgard/midcom/phpscripts/_
* Run `datagard` again, it didn't originally add the newly installed PEAR
   packages as it should have (fixed in 1.8.4)
  - Select _Update_
  - Select the database to update and update it
  - Don't install PEAR packages
* Set the error level higher to see what the real error is:
  - Edit the Midgard Sitewizard host with either
    Spider admin or Aegir by adding a page element
    called `code-init-before-midcom`
    - go to `http://stable.localhost/spider-admin/`
    - select the Midgard Sitewizard host
    - select the link after _Edit main page_
    - click on _New pageelement_ and create `code-init-before-midcom`
    - Add lines

    <?php
    $GLOBALS['midcom_config_local']['log_level'] = 5;
    $GLOBALS['midcom_config_local']['log_filename'] = 
'/var/log/midgard/midcom/sitewizard.log';
    // Change the filename according to your wishes
    ?>
  
* Check now what seems to be the problem.

This should give already more output on the error.


-- 
Arttu Manninen aka Adrenalin
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to