(New thread because the other one refers to older versions of OWL/XRMS)
Note on installing OWL 0.93
The OWL plugin for XRMS looks for OWL_API.php but the OWL_API file is actually OWL_API.inc
In linux create a symlink in owl/lib as follows:
'ln -s OWL_API.inc OWL_API.php'.
I get SQL errors at the moment, so this isn't a HOWTO. I'm posting as I go along and this isn't a priority for us.
<rant>why can't it be .php or .inc.php for those of us who want to keep our apache config as defalt as possible?</rant>
rpms for CentOS4/RHEL4 (mostly found on dries.studentenweb.org)
xpdf (for pdftotext)
(These provide the tools that are referred to in the OWL Administration screen) paths in CentOS are different from the defaults so do check each one.
Did You find how to fix these SQL errors? If You do please let know.
Sorry Grzegorz, I never progressed further on OWL. It got bumped WAAAAYYYYYYY down the list of priorities for now.
It is something I'll revisit later though, and I'll post my experiences here.
Hi my next expiriences concidering OWL:
the problem with sql errors is due to some errors in GUP_Pager class.
OWL plugin passes retrieved data to GUP_PAger instead of passing sql, and Pager instead of just displaying the data tires to invoke the empty sql with added order by clause. And this causes an error.
After I fix this it occured that additionally Pager fails to display the data passed by plugin,
the data is here (print_r method shows it) but it isnt displayed correctly.
I hope that somebody who knows XRMS better will fix before I spend too much time on it (-;
I haven't had time here to upgrade OWL to the newest OWL version and work through any issues.
Could you please provide the exact error you see in the Pager code? The Pager can display either array data, as with OWL, or SQL data. So, if you're seeing the Pager expect SQL, then pasting the exact error would help others incling me to troubleshoot the problem. Without giving us all the ugly details, you're forcing us to stumble through it on our own, and I just don't have time for that right now.
Help us help you. :)
In GUP_Pager.php i Render method
in line 349 there is a call:
in GetData Method line:416 there is a line:
$this->sql .= $this->order_by;
so it adds order by even if sql is empty, and furher on it will be executed and fail (-:
I think line :
$this->sql .= $this->order_by;
shall be replaced with:
if($this->sql) $this->sql .= $this->order_by;
It removes an ERROR but it still does not cause files to appear (however print_r shows they are there, and upload works)
This is all I know now...
Fix I gave in previous post is enough to make it work.
There is also need to set column layouts in Pager in order to make files displayed.
So just add the line and everything is ok
I followed the fix you suggested and looks like everything is working. But I dont see an option to add files. Am I missing anything?
Thanks for you help.
I'll fix our API to look for the .inc file used in newer versions of OWL.
I haven't tried upgrading our OWL installation to see if there are incompatibilities in the integration at this point.
Log in to post a comment.