Comments (4)
Hi.
What OS is hosting your code right now?
First this package is made for Laravel Framework. I don't know OctoberCMS. Even if it is based on Laravel I don't know again how to extend database module of this CMS.
Plus you have to know that for now pdo_ibm doesn't work well on IBMi so you can't make it work natively on IBMi. I'm working on it with Zend and IBM.
So my package work only with ODBC. Here I have a webapp running under Windows Server very well. I didn't test with unixODBC but it should.
Now the thing is that in your error stack message I don't see anything from my package. What did you do exactly?
from laravel-db2.
Sorry, here are more details:
As far as an OS goes, it's just the AS400 running with AIX. It's an iSeries, which is separate from their LUW products.
I realize that it is for Laravel. I just assumed since OctoberCMS was built on vanilla Laravel, using Illuminate, that this plugin would be compatible. I'll try testing the plugin with just Laravel today and see how it goes.
Also, we are using Zend Server as you mentioned. We have been able to successfully use Doctrine as a DBAL with just DB2 calls and not ODBC, so Symfony is a viable option, but I was really stoked when I heard about a Laravel solution, so I wanted to give it a shot. I can try out the ODBC maybe, but I'm not sure how to get an ODBC driver running on an iSeries. I could look into that also.
I am calling php artisan october:up
, which just seeds the database like db:seed
does, but with OctoberCMS data. I realize you're not here to debug October, and I'm not asking you to, but any help would be awesome. I'll try just Laravel today and give you an update on how that goes.
from laravel-db2.
Actually my package should work as it with Laravel (Really don't know for OctoberCMS but why not) running with Zend Server for IBMi. The thing is that it relies on PDO database access. That's why it works only with PDO_ODBC or PDO_IBM. In fact most of PHP frameworks use PDO.
As I said PDO_IBM is broken on IBMi (Zend Server). I'm waiting from them a fix.
A fix exists => http://youngiprofessionals.com/wiki/index.php/XMLService/PHPPDOChangeLog
The major issue I'm faced to is "- odd problem in column names" and they, he, she fixed it.
So I have a case opened at Zend. I'm waiting a new PDO_IBM.so library compiled for Zend Server for IBMi. Then I test it.
Doctrine uses ibm_db2 driver. This latter is not broken on IBMi. That's why you could make it work.
This issue made us host our website on Windows/Apache but I have good hope that we can migrate it on Zend Server for IBMi as soon as they fix PDO_IBM driver.
About OctoberCMS i'll try to have a look on it as soon as I have time ;-) Could you ask them in the same time how we can extend database access with their CMS. For instance there are also other packages for Laravel which add MongoDB support.
from laravel-db2.
Oh, that's great! Thanks for that link. I will talk to some developers in the OctoberCMS IRC and relay the information.
from laravel-db2.
Related Issues (20)
- Laravel 7.x HOT 1
- Bad return value with CCSID 1208 HOT 1
- Problem sending query that contains ยง char HOT 1
- how to add isolation to each query
- Table name using lower case HOT 1
- Posibility for custom Processor HOT 1
- Error typeUuid does not exist
- Error typeTinyInteger does not exist
- DB2 Union Support Lost in Framework Refactor
- Error typeJson does not exist
- Could we add a proper license to this project?
- PDOException could not find driver HOT 4
- set default charset ? HOT 1
- Update for PHP 8.0 HOT 2
- Illuminate DB ^9.0 or Work with Laravel 9
- Problems with charset
- Lumen: Unsupported driver [db2_ibmi_odbc]. HOT 1
- Laravel 10 Support HOT 6
- PHP8 Support? HOT 1
- IBM DB2 integration with Laravel 8 using cooperl/laravel-db2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-db2.