Menu

#71 setup.php not quite getting path names correct

beta_version
open-fixed
installer (18)
8
2005-03-07
2005-03-06
No

Attempting to do an upgrade of a 1.2.0.4 instance of
mindmeld. The mysql user is other than "mindmeld", and
has a password. The mysql database is not named
mindmeld, either.

Checked "Expert" on the setup first page. The second
page reads:

Warning:
opendir(/home/rhickers/public_html/mindmeldrdbms):
failed to open dir: No such file or directory in
/home/rhickers/public_html/mindmeld/acweb/install/setup.inc.php
on line 1296

Warning: readdir(): supplied argument is not a valid
Directory resource in
/home/rhickers/public_html/mindmeld/acweb/install/setup.inc.php
on line 1297

Warning: sort() expects parameter 1 to be array, null
given in
/home/rhickers/public_html/mindmeld/acweb/install/setup.inc.php
on line 1300

Warning: Invalid argument supplied for foreach() in
/home/rhickers/public_html/mindmeld/acweb/install/setup.inc.php
on line 960

unable to read
'/home/rhickers/public_html/mindmeldopensource/adodb/adodb.inc.php'

The form values it fills are:

Mindmeld: /home/rhickers/public_html/mindmeld
Web Path: /home/rhickers/public_html/mindmeld/acweb/
Site Path: /~rhickers/mindmeld/acweb/

Platform: (blank)
User: mindmeld
Password: (blank)
Host: localhost
Name: mindmeld

ADODB:
/home/rhickers/public_html/mindmeldopensource/adodb/
Cache: /home/rhickers/public_html/mindmeldcache/

The original mindmeld.config file is:
home = /home/rhickers/public_html/mindmeld
webhome = /home/rhickers/public_html/mindmeld/acweb
site = /~rhickers/mindmeld/acweb
cache = /home/rhickers/public_html/mindmeld/cache
dbType = mysql
dbName = <db_name>
dbHost = localhost
dbPort =
dbUser = <user_name>
dbPass = <password>
adodb =
/home/rhickers/public_html/mindmeld/opensource/adodb
sql_cache_dir =
/home/rhickers/public_html/mindmeld/cache/sql_cache

Discussion

  • Richard Tango-Lowy

    Logged In: YES
    user_id=302293

    Just caught it. Existing paths don't get slashes added in
    the upgrade. I think the best way would be to always check
    for them on the fly. Will fix it.

     
  • Richard Tango-Lowy

    • priority: 5 --> 8
     
  • Richard Tango-Lowy

    • status: open --> open-fixed
     
  • Richard Tango-Lowy

    Logged In: YES
    user_id=302293

    Fixed in svn. Please test.

     

Log in to post a comment.

MongoDB Logo MongoDB