Opened 3 years ago
Closed 3 years ago
#1486719 closed Bugs (worksforme)
include_path needed to be manually changed
| Reported by: | cviebrock | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4-stable |
| Component: | Core functionality | Version: | 0.4-beta |
| Severity: | normal | Keywords: | iniset |
| Cc: |
Description
I recently upgraded my SVN install (now rev. 3593).
I was getting weird errors when trying to log in, and hangs when using the installer and testing the connections to the mail server.
I finally realized that MDB2 was being loaded from my PEAR directory, instead of the one included with RC. I noticed that this wasn't a good thing, as mentioned in /program/include/iniset.php ... although the code there is designed to look in the PEAR directory first (if defined in php.ini).
The attached fix (just commenting out some lines and uncommenting others) changed it.
Attachments (1)
Change History (6)
Changed 3 years ago by cviebrock
comment:1 Changed 3 years ago by alec
- Milestone changed from later to 0.4-stable
comment:2 Changed 3 years ago by alec
I don't understand your patch. In original code, default include_path is added at the end of new path, so roundcube directory tree should be looked first. What PHP version?
comment:3 follow-up: ↓ 4 Changed 3 years ago by cviebrock
Actually, I have no idea what happened. I think I must have had a really old version of that file from SVN and it didn't update when I updated the rest of the install (SVN error on my part).
Can you close this, since clearly the current version in truck is identical to what I pasted?
Sorry!
comment:4 in reply to: ↑ 3 Changed 3 years ago by cviebrock
And by "truck", I mean "trunk", of course
comment:5 Changed 3 years ago by alec
- Resolution set to worksforme
- Status changed from new to closed

diff for program/include/iniset.php