• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Oracle
PostPosted: Wed Jan 17, 2007 11:16 am 
Offline
Forum Members
Forum Members

Joined: Wed Nov 29, 2006 6:58 am
Posts: 53
Hi

I have a problem. I would like to try CMSmadesimle on Oracle database. Is't possible?  How can I do this?


Top
 Profile  
 
 Post subject: Re: Oracle
PostPosted: Wed Jan 17, 2007 1:59 pm 
Current CMSms version does not support oracle. And Current adodb lite does not support oracle too (no driver), so you have to switch to AdoDB (slower). And it's not tested too if CMSms will works right.

But I know you wanna try it - sounds very interesting.

Have not access to oracle but perhaps this will work:

1. Create a CMSms installation normally with mysql.
2. Export CMSms database
3. Import database into an oracle one (is it possible?)
4. Get currentAdoDB version from http://adodb.sourceforge.net/ and copy it to /lib folder.
5. change config.php

Code:
$config['dbms'] = 'mysql';


to

Code:
$config['dbms'] = 'oracle';


and

Code:
$config['use_adodb_lite'] = true;


to

Code:
$config['use_adodb_lite'] = false;


6. Clear Cache

I like to hear your skills ...


Top
  
 
 Post subject: Re: Oracle
PostPosted: Tue Mar 06, 2007 8:39 am 
hi,

why not try OleDB or DBexpress?


Top
  
 
 Post subject: Re: Oracle
PostPosted: Tue Mar 06, 2007 3:47 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3690
Location: Paris
Why not try oracle.com/products/middleware/content-management/web-content-management.html ?-)
kidding me...
Pierre M.

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: Oracle
PostPosted: Thu Mar 08, 2007 9:38 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Mon Jun 27, 2005 10:36 am
Posts: 144
Location: Southern France
So, were you successful ?


Top
 Profile  
 
 Post subject: Re: Oracle
PostPosted: Thu May 17, 2007 3:37 pm 
CMSMS seems to work (well... I'm testing it now) with Oracle using configuration like this:
Code:
define('ADODB_ASSOC_CASE', 0);         # required to get table and column names in lowercase
$config['dbms'] = 'oci8po';            # ADOdb calls it "portable version of oci8 driver"
$config['db_hostname'] = false;        # read adodb-oci8.inc.php for more info about connection modes
$config['db_username'] = 'scheme_name';
$config['db_password'] = 'password';
$config['db_name'] = 'service_name';   # from tnsnames.ora
$config['use_adodb_lite'] = false;


However, I must note that some table/sequence names are really long, and Oracle seems to have a 30 char limit for names. For example, a string 'cms_additional_htmlblob_users_seq' is 33 characters, which is too long, so in order to not have problems with this sequence, one must not set a very short table prefix (max. 1 character).

Furthermore, I cannot create new Content pages. With debugging turned on, I get following warnings when trying to create content:

Quote:
Warning: ociexecute() [function.ociexecute]: OCIStmtExecute: ORA-01841: (full) year must be between -4713 and +9999, and not be 0 in /path/to/cmsms/lib/adodb/drivers/adodb-oci8.inc.php on line 1026

      adodb_oci8po._execute(INSERT INTO cms_content (content_id, content_name, content_alias, type, owner_id, parent_id, template_id, item_order, hierarchy,..., Array[23]) % line  765, file: adodb-oci8.inc.php
  adodb_oci8po.execute(INSERT INTO cms_content (content_id, content_name, content_alias, type, owner_id, parent_id, template_id, item_order, hierarchy,..., Array[23]) % line 1130, file: class.content.inc.php
content.insert() % line  943, file: class.content.inc.php
content.save() % line  287, file: addcontent.php


Warning: ociexecute() [function.ociexecute]: OCIStmtExecute: ORA-00933: SQL command not properly ended in /path/to/cmsms/lib/adodb/drivers/adodb-oci8.inc.php on line 1026

        adodb_oci8po._execute(SELECT * FROM cms_module_search_items WHERE
                  extra_attr = ? AND content_id = ? LIMIT 1, Array[2]) % line  765, file: adodb-oci8.inc.php
      adodb_oci8po.execute(SELECT * FROM cms_module_search_items WHERE
                  extra_attr = ? AND content_id = ? LIMIT 1, Array[2]) % line  408, file: Search.module.php
  search.doevent(Core, ContentEditPost, Array[1]) % line  129, file: class.events.inc.php
events.sendevent(Core, ContentEditPost, Array[1]) % line  955, file: class.content.inc.php
content.save() % line  287, file: addcontent.php


Last edited by RQ on Fri May 18, 2007 1:37 pm, edited 1 time in total.

Top
  
 
 Post subject: Re: Oracle
PostPosted: Fri Jul 06, 2007 4:03 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu Jan 26, 2006 11:46 am
Posts: 700
what i'm curious to know.. is how does performance compare to mysql or postgre?

_________________
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner