Opened 4 years ago
Closed 4 years ago
#1485953 closed Bugs (fixed)
autoload not compatible with Zend
| Reported by: | corbosman | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | PHP backend | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Im trying to use Zend XMLRPC Client lib in a plugin, but it looks like the php5 autoload function is not zend compatible:
Jul 1 12:54:17 roundcube-test roundcube: PHP Warning: include(Zend_Uri_Http.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /data/WWW/roundcubemail-2493/program/include/iniset.php on line 100
Change History (4)
comment:1 Changed 4 years ago by alec
- Component changed from Core functionality to PHP backend
comment:2 Changed 4 years ago by corbosman
Im not getting an error, just a warning from RC. Since Zend seems to function just fine, wouldnt it be possible to just do something like:
if(preg_match('/Zend_/', $classname)) return;
In autoload();
Let Zend do its own includes, and make sure RC doesnt try it as well for Zend classes.
comment:3 Changed 4 years ago by corbosman
This ticket can be closed, as it's almost certainly fixed by 2703
comment:4 Changed 4 years ago by alec
- Resolution set to fixed
- Status changed from new to closed

Hmm... related with #1485947 ?