From: Faine, M. <Mar...@ms...> - 2001-04-27 12:54:16
|
> But I have errors: > > 1.) I had to comment out all the mcrypt stuff, I'll look these errors later > as they are not as important just yet. Actually they were just warnings and > probably not a big deal but I just want to be on the safe side. yeah, if you don't have mcrypt compiled in php bitches at you :) > 2.) these errors (warnings) are being reported on the main page in the > errors section: > > PHP Warning OCIStmtExecute: ORA-00942: table or view does not exist file: > /raidb4/iPlanet/server/binarycloud/core/base/db/metabase_oci.php line 200 > > I suspect the above to be normal as I haven't installed the database for > binarycloud yet? yes, though I want to make sure you're using oracle. can you give me a fairly detailed description of your environment? paths to "htdocs" binarycloud base, what db you're using, etc. I am using oracle 8.1.6 on Sun Solaris 2.6 with Netscape-Enterprise/4.0 SP5 BB1-8/01/10000:56 There is no htdocs directory with iPlanet but the equivelent is normally by convention called docs and located at: /raidb4/iPlanet/server/docs/ I've defined HTDOCS_PATH in defined_constants.conf as the above path. I've recently decided that the bc specific stuff must go in a subdirectory though so I've made a directory "bc" and I will be using it. binarycloud base directory is /raidb4/iPlanet/server/binarycloud > PHP Warning The length of the needle must not be 0 file: > /raidb4/iPlanet/server/binarycloud/core/lib/bread_crumbs_and_tabs.lib line > 40 > > I have no idea what this message means. This has popped up in a couple places, I believe you have the "old" breadcrumbs. I need to dig up the fix and post it for you. Don't worry about this one, it's peripheral. Ok > 3.) several problems relating to path's and such. > > For example all the links on the left like storm , docs and such all are not > appending the index.php, the links all look like this: > > http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d9581 > 37dc988845 > <http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d958 > 137dc988845> 1) you should be able to set the "directoryIndex" in iPlanet, which is essentially "if a directory is requested, try this list of filenames by default" Been there done that, index.php is in the directory index. 2) you're running php in cgi mode, which come to think of it, may be the only way you can on the iPlanet server (which is why you're getting the PHPSESSID appended to the url.) that could be a problem, we'll see. Nope, running PHP as NSAPI module. > I believe this to be simple mis-configuration but I can't find where to fix > it. All edits to defined_constants.conf have failed and I've even tried > changes to the web server configuration but that hasn't helped either, in > some cases it's actually caused more problems. > 4.) I can get to the update databases page in storm if I do it manually by > adding index.php to the URL above but when I try to actually update the > database I get this error when clicking on create_db.schema link: > > <<Error: Could not parse database schema file: Could not parse data: syntax > error Line 1 Column 14 Byte index 14 whoa! there's a new one. which file did you use, create_db.schema? Under a very strict configuration, with every thing just so I can get the main page to load and from there I click on storm admin which gives me a webserver directory index. I click on index.php and get the storm admin section. I then click on create_db.schema and that is the error I get. Thanks for your help -Mark |
From: Faine, M. <Mar...@ms...> - 2001-04-27 13:07:09
|
One more thing, The prepend and append included in php.ini has the strange effect of making any page in any directory on the entire site redirect back to the index.php page. If this can't be fixed I'll have to find another way of incuding the prepend/append files. See if this makes any sense to you? http://myserver.msfc.nasa.gov:2500/index.php?.pd=1&.rd=/drgi/index.php& This is the URL that gets loaded no matter what page you request. the last part is the page I was trying to get to /drgi/index.php. Thanks, -Mark -----Original Message----- From: Alex Black [mailto:en...@tu...] Sent: Thursday, April 26, 2001 1:55 PM To: binarycloud-dev Subject: Re: [binarycloud-dev] Installing on Netscape Iplanet with Oracle > But I have errors: > > 1.) I had to comment out all the mcrypt stuff, I'll look these errors later > as they are not as important just yet. Actually they were just warnings and > probably not a big deal but I just want to be on the safe side. yeah, if you don't have mcrypt compiled in php bitches at you :) > 2.) these errors (warnings) are being reported on the main page in the > errors section: > > PHP Warning OCIStmtExecute: ORA-00942: table or view does not exist file: > /raidb4/iPlanet/server/binarycloud/core/base/db/metabase_oci.php line 200 > > I suspect the above to be normal as I haven't installed the database for > binarycloud yet? yes, though I want to make sure you're using oracle. can you give me a fairly detailed description of your environment? paths to "htdocs" binarycloud base, what db you're using, etc. > PHP Warning The length of the needle must not be 0 file: > /raidb4/iPlanet/server/binarycloud/core/lib/bread_crumbs_and_tabs.lib line > 40 > > I have no idea what this message means. This has popped up in a couple places, I believe you have the "old" breadcrumbs. I need to dig up the fix and post it for you. Don't worry about this one, it's peripheral. > 3.) several problems relating to path's and such. > > For example all the links on the left like storm , docs and such all are not > appending the index.php, the links all look like this: > > http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d9581 > 37dc988845 > <http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d958 > 137dc988845> 1) you should be able to set the "directoryIndex" in iPlanet, which is essentially "if a directory is requested, try this list of filenames by default" 2) you're running php in cgi mode, which come to think of it, may be the only way you can on the iPlanet server (which is why you're getting the PHPSESSID appended to the url.) that could be a problem, we'll see. > I believe this to be simple mis-configuration but I can't find where to fix > it. All edits to defined_constants.conf have failed and I've even tried > changes to the web server configuration but that hasn't helped either, in > some cases it's actually caused more problems. > 4.) I can get to the update databases page in storm if I do it manually by > adding index.php to the URL above but when I try to actually update the > database I get this error when clicking on create_db.schema link: > > <<Error: Could not parse database schema file: Could not parse data: syntax > error Line 1 Column 14 Byte index 14 whoa! there's a new one. which file did you use, create_db.schema? -alex > Your help will be greatly appreciated. > > > Thanks > Mark -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 _______________________________________________ binarycloud-dev mailing list bin...@li... http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |
From: Alex B. <en...@tu...> - 2001-04-27 15:49:27
|
this is the result of moving all the files into a subdirectory, without changing file_permissions.conf and the redirect url in defined_constants. Have a look at the mail before this. _alex > One more thing, The prepend and append included in php.ini has the strange > effect of making any page in any directory on the entire site redirect back > to the index.php page. If this can't be fixed I'll have to find another way > of incuding the prepend/append files. > > See if this makes any sense to you? > > http://myserver.msfc.nasa.gov:2500/index.php?.pd=1&.rd=/drgi/index.php& > > This is the URL that gets loaded no matter what page you request. > > the last part is the page I was trying to get to /drgi/index.php. > > Thanks, > > -Mark > > -----Original Message----- > From: Alex Black [mailto:en...@tu...] > Sent: Thursday, April 26, 2001 1:55 PM > To: binarycloud-dev > Subject: Re: [binarycloud-dev] Installing on Netscape Iplanet with > Oracle > > >> But I have errors: >> >> 1.) I had to comment out all the mcrypt stuff, I'll look these errors > later >> as they are not as important just yet. Actually they were just warnings > and >> probably not a big deal but I just want to be on the safe side. > > yeah, if you don't have mcrypt compiled in php bitches at you :) > >> 2.) these errors (warnings) are being reported on the main page in the >> errors section: >> >> PHP Warning OCIStmtExecute: ORA-00942: table or view does not exist file: >> /raidb4/iPlanet/server/binarycloud/core/base/db/metabase_oci.php line 200 >> >> I suspect the above to be normal as I haven't installed the database for >> binarycloud yet? > > yes, though I want to make sure you're using oracle. can you give me a > fairly detailed description of your environment? paths to "htdocs" > binarycloud base, what db you're using, etc. > >> PHP Warning The length of the needle must not be 0 file: >> /raidb4/iPlanet/server/binarycloud/core/lib/bread_crumbs_and_tabs.lib line >> 40 >> >> I have no idea what this message means. > > This has popped up in a couple places, I believe you have the "old" > breadcrumbs. I need to dig up the fix and post it for you. Don't worry about > this one, it's peripheral. > >> 3.) several problems relating to path's and such. >> >> For example all the links on the left like storm , docs and such all are > not >> appending the index.php, the links all look like this: >> >> > http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d9581 >> 37dc988845 >> > <http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d958 >> 137dc988845> > > 1) you should be able to set the "directoryIndex" in iPlanet, which is > essentially "if a directory is requested, try this list of filenames by > default" > > > 2) you're running php in cgi mode, which come to think of it, may be the > only way you can on the iPlanet server (which is why you're getting the > PHPSESSID appended to the url.) > > that could be a problem, we'll see. > >> I believe this to be simple mis-configuration but I can't find where to > fix >> it. All edits to defined_constants.conf have failed and I've even tried >> changes to the web server configuration but that hasn't helped either, in >> some cases it's actually caused more problems. > > >> 4.) I can get to the update databases page in storm if I do it manually by >> adding index.php to the URL above but when I try to actually update the >> database I get this error when clicking on create_db.schema link: >> >> <<Error: Could not parse database schema file: Could not parse data: > syntax >> error Line 1 Column 14 Byte index 14 > > whoa! there's a new one. > > which file did you use, create_db.schema? > > -alex > > > >> Your help will be greatly appreciated. >> >> >> Thanks >> Mark > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Faine, M. <Mar...@ms...> - 2001-05-08 19:36:58
|
> PHP Warning The length of the needle must not be 0 file: > /raidb4/iPlanet/server/binarycloud/core/lib/bread_crumbs_and_tabs.lib line > 40 > > I have no idea what this message means. This has popped up in a couple places, I believe you have the "old" breadcrumbs. I need to dig up the fix and post it for you. Don't worry about this one, it's peripheral. Where do I get this new breadcrumbs? Thanks, Mark |
From: Alex B. <en...@tu...> - 2001-05-08 19:56:26
|
> This has popped up in a couple places, I believe you have the "old" > breadcrumbs. I need to dig up the fix and post it for you. Don't worry about > this one, it's peripheral. > > > Where do I get this new breadcrumbs? it's attached. it doesn't use BC_DOCROOT. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Faine, M. <Mar...@ms...> - 2001-05-08 20:19:09
|
Thanks, that does it, now I have a error free install, nice and pretty and waiting for me to actually learn to use. Here's to hoping the learning curve for the api isn't very great. From what I can see so far looks great, seems I've been doing it backwards all this time. I've been writing the markup and including necessary functions. BC seems to do the exact opposite. -Mark -----Original Message----- From: Alex Black [mailto:en...@tu...] Sent: Tuesday, May 08, 2001 2:56 PM To: binarycloud-dev Subject: Re: [binarycloud-dev] Installing on Netscape Iplanet with Oracle > This has popped up in a couple places, I believe you have the "old" > breadcrumbs. I need to dig up the fix and post it for you. Don't worry about > this one, it's peripheral. > > > Where do I get this new breadcrumbs? it's attached. it doesn't use BC_DOCROOT. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Faine, M. <Mar...@ms...> - 2001-05-08 20:22:48
|
Alex, Is ther a good (suitable for printing and reading offline) binarycloud API documentation file? -Mark |
From: Alex B. <en...@tu...> - 2001-05-08 21:58:31
|
> Is ther a good (suitable for printing and reading offline) binarycloud API > documentation file? No. Well, sort of. If you pull the api docs out of binarycloud/user/mod/html_passthru/html/api_docs you can print it without the binarycloud template. Obviously that's not very slick and it's not complete. There will be a quite complete set of API docs for r2, because we have converted to phpdoc, which spits out XML. So we'll write XSL for that output, which can put out PDF. Also, binarycloud r2 is architecturally mature: i.e. the base classes' methods won't be changing after r2, etc - we'll work on adding features, not changing the way subsystems work. binarycloud r1 is production quality code, but there are definitely things which would be more clear, thus the decision to change some things in r2. At this point, I recommend _strongly_ that you hold off building production code for r1 - not because it won't work with r2 (it will) but because r2 can save you so much more time that it's worth the wait. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-05-08 22:12:17
|
oh yeah, would you mind writing up a little ditty about installation with iPlanet? _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-05-09 02:12:25
|
> So you would say that r2 is close enough to release to wait. I'm not really > in a hurry for my personal site, and it's worth the wait for the work site > too if a small wait up front speeds up production down the road. Correct. you'll be able to do a number of things a lot faster, and I think it's worth the wait. Plus you'll be able to write XSLT as part of the system. In addition, r2 will be much more server-agnostic, as the structural changes I have made to init eliminate any server-specific configuration (prepends, etc) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Faine, M. <Mar...@ms...> - 2001-05-10 16:16:13
|
Alex, (and everyone) What do you think about doing a more tutorial type document for those of us with little to no binarycloud experience I'm thinking I'd love to get started as soon r2 is out but I won't have any idea of the steps I should follow. I guess I'm looking for a way to pick your brain and discover how it is that you plan, and implement a new project from start to finish. Personally I've thought about starting to design some static html pages as templates for the new site I will build when r2 comes out but I don't really know if this is possible, or if it is, any specific way it should be done. Then when r2 comes out I can just add the code. A lot of the page will be static, (mostly just a family homepage) what I really want r2 for is to try to develop a way to allow me to update my site easily from a web browser admin interface. Maybe save most of the site in a mysql database. I once used something called myphppagetool for this but found it restricted my site designs too much. -Mark -----Original Message----- From: Alex Black [mailto:en...@tu...] Sent: Tuesday, May 08, 2001 9:13 PM To: Faine, Mark; binarycloud-dev Subject: Re: [binarycloud-dev] Installing on Netscape Iplanet with Oracle > So you would say that r2 is close enough to release to wait. I'm not really > in a hurry for my personal site, and it's worth the wait for the work site > too if a small wait up front speeds up production down the road. Correct. you'll be able to do a number of things a lot faster, and I think it's worth the wait. Plus you'll be able to write XSLT as part of the system. In addition, r2 will be much more server-agnostic, as the structural changes I have made to init eliminate any server-specific configuration (prepends, etc) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-05-10 17:11:00
|
> What do you think about doing a more tutorial type document for those of us > with little to no binarycloud experience > > I'm thinking I'd love to get started as soon r2 is out but I won't have any > idea of the steps I should follow. This is exactly what I'm going to do. There will be a "simple" hello world kind of tut, and a complex, entity-manager-using tutorial. > I guess I'm looking for a way to pick your brain and discover how it is that > you plan, and implement a new project from start to finish. > > Personally I've thought about starting to design some static html pages as > templates for the new site I will build when r2 comes out but I don't really > know if this is possible, or if it is, any specific way it should be done. Go ahead! You'll probably end up converting them to XSLT, which isn't a big deal, just more tags. > Then when r2 comes out I can just add the code. A lot of the page will be > static, (mostly just a family homepage) what I really want r2 for is to try > to develop a way to allow me to update my site easily from a web browser > admin interface. I don't think you'll need to spend the time doing that, as we're working on something very powerful along those lines. > Maybe save most of the site in a mysql database. I once used something > called myphppagetool for this but found it restricted my site designs too > much. I promise more details are coming soon, but the basic jist of the stuff we're building on top of r2 is that it will allow you define a logical collection of fields (say fields that make up an 'article' for your site) and have an editor created for that entity automatically by the system. Anyway, groovy stuff I'm looking forward to releasing it. _alex > -Mark > > -----Original Message----- > From: Alex Black [mailto:en...@tu...] > Sent: Tuesday, May 08, 2001 9:13 PM > To: Faine, Mark; binarycloud-dev > Subject: Re: [binarycloud-dev] Installing on Netscape Iplanet with > Oracle > > >> So you would say that r2 is close enough to release to wait. I'm not > really >> in a hurry for my personal site, and it's worth the wait for the work site >> too if a small wait up front speeds up production down the road. > > Correct. you'll be able to do a number of things a lot faster, and I think > it's worth the wait. Plus you'll be able to write XSLT as part of the > system. > > In addition, r2 will be much more server-agnostic, as the structural changes > I have made to init eliminate any server-specific configuration (prepends, > etc) > > _alex > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-04-27 15:49:26
|
> > I've recently decided that the bc specific stuff must go in a subdirectory > though so I've made a directory "bc" and I will be using it. You're much better off using a virtual host or a clean docs directory, or you need to go into file_permissions.conf and add /bc/ to the front of each path string so the permissions system knows where the files are. You'll also have to change the permissions redirect, and the directory names (the latter are in file_permissions.conf as well). > Been there done that, index.php is in the directory index. what happens if you go to /knowledgebase/ ? > 2) you're running php in cgi mode, which come to think of it, may be the > only way you can on the iPlanet server (which is why you're getting the > PHPSESSID appended to the url.) > > that could be a problem, we'll see. > > Nope, running PHP as NSAPI module. really, with the appended PHPSESSID? I've never seen that done by default. > Under a very strict configuration, with every thing just so I can get the > main page to load and from there I click on storm admin which gives me a > webserver directory index. I click on index.php and get the storm admin > section. I then click on create_db.schema and that is the error I get. Can you post the file? I want to look at it to make sure there's no strangeness in your copy. it's in user/db/schema/create_db.schema _alex > Thanks for your help > > -Mark > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |