6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7223] upgrade option in setup.php fails
*
Your Email Address
*
Spam protection
Enter the letters below:
. .__.. ,.__.. . | | | \./ | |\ / |___|__| | |__| \/
Comment
>> Several problems in upgrade scripts setup.php for webmail 1.1.2 > >> > >> 1. when run from commandline: > >> putenv fails for 'HORDE_DB_USER' and 'HORDE_DB_PASS' > > > > Why? > > > >> some upgrade scripts try to run /var/www/bin/php or /usr/local/bin/php/bin > > > > Which scripts? No script has those weird paths hardcoded. > > > >> remedy: > >> - header in setup.php #!/usr/bin/php -n -q -d > >> safe_mode_allowed_env_vars=HORDE_ > > > > Ah, so you are running safe_mode? > > > >> - change all paths to /usr/bin/php in upgrade scripts > >> > >> 2. errors in php.log: > >> [19-Aug-2008 23:56:18] PHP Fatal error: Call to undefined method > >> MDB2_Error::execute() in > >> /home/httpd/webmail/horde/kronolith/scripts/upgrades/convert_datatree_shares_to_sql.php on >> line > >> 152 > >> > >> Net Result is that the upgrade process does not lead to a working > >> installation > >> > >> > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers