HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Catalog Display

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#96373 (In Topic #19138)
Avatar

Honoured member

So, I'm very frustrated. I would like to be able to use the select stuff from a separate catalog, to make it so I don't need to have books in multiple catagories, since, that feature is no longer an option to even get done. So - I set up a simple catalog with 2 entries, No Review and Comic Review. I set one book's entry in the archive's catalog, to select Comic Review from the other catalog. However, nothing I can do, will allow me to call up just that book (and theoretically any other books then set to be reviewed). 

I've tried simply adding a Yes No feild, so I can set a book as reviewed, but I can't figure out how to make a block that will list books as reviewed that way either.

I need some guidance here. I mean, in theory I like the idea of taking all people's names, and adding them to a separate catalog, then being able to select those names when entering a book, so that I can have a block somewhere that then displays all books that are attached to one person's name regardless of who published it, while still having the main archive of catagories set by publisher names that has been my set up.

I currently have to keep any books that are reviewed, in their own catagory, so that I can display a list of reviewed books...and if I wanted those books to display on a publisher's page, I would have to call them up separate from the rest of the books a publisher may have in their regular catagory.

I have spent the last 6 months organizing 4000 more names and companies into my system, and I want it to display nice. But I'm just not getting the select from another catalog thing, can anyone help me understand it? 
Back to the top
 
Posted
Rating:
#96377
Avatar

Community saint

If I were home I could play with this for a solution for you but I would think making a Reviewed field in the main catalogue set as searchable/sortable should work and you could  simply linked to the sorted results? A custom block could even be more effective I imagine with a little tempcode something like:

Code

{+START,IF,{$EQ,{REVIEWED},YES}}
of course I am not sure {REVIEWED} is right or a catalogue field id should be there but i am sure something like that could be useful.
Back to the top
 
Posted
Rating:
#96389
Avatar

Honoured member

A custom block would be great, but what I need to do to set that up, I don't yet know. And would that work in the case of having a separate catalog with just names of people…and the books in another catalog. How would I then have a block that pulled up all the books a person worked on, no matter what category they were in in the books catalog, using the select from another catalog stuff, to tag people who worked on a book.
Back to the top
 
Posted
Rating:
#96406
Avatar

Honoured member

I'm just dying over here, and thinking I'm going to have to find an easier to use system of displaying catalog entries, then Iframe them in or something to the pages the way I want them. Right now, I'm getting an error when looking at any catalog entry, and I'm not really sure why. this is it:

Fatal error: Call to a member function evaluate() on a non-object in /home/content/92/10010992/html/magazine/sources/catalogues.p
hp on line 1516
Critical error - bailing out

This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP ERROR [1] Call to a member function evaluate() on a non-object in sources/catalogues.php on line 1516 (version: 9.0.6, PHP version: 5.3.21, URL: /catalogues/entry/products-home/comics/reviews/midnight-tige
r.htm)
Stack trace…

File -> '/home/content/92/10010992/html/magazine/sources/failure.php
'
Line -> 792
Function -> 'die_html_trace'
Args -> array ( 0 => 'PHP ERROR [1] Call to a member function evaluate() on a non-object in sources/catalogues.php on line 1516 (version: 9.0.6, PHP version: 5.3.21, URL: /catalogues/entry/products-home/comics/reviews/midnight-tige
r.htm)', )
File -> '/home/content/92/10010992/html/magazine/sources/global2.php
'
Line -> 1011
Function -> '_fatal_exit'
Args -> array ( 0 => 'PHP ERROR [1] Call to a member function evaluate() on a non-object in sources/catalogues.php on line 1516', )
File -> '/home/content/92/10010992/html/magazine/sources/failure.php
'
Line -> 224
Function -> 'fatal_exit'
Args -> array ( 0 => 'PHP ERROR [1] Call to a member function evaluate() on a non-object in sources/catalogues.php on line 1516', )
File -> '/home/content/92/10010992/html/magazine/sources/global2.php
'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'error', 1 => 1, 2 => 'Call to a member function evaluate() on a non-object', 3 => 'sources/catalogues.php', 4 => 1516, )
File -> '/home/content/92/10010992/html/magazine/sources/global2.php
'
Line -> 810
Function -> 'ocportal_error_handler'
Args -> array ( 0 => 1, 1 => 'Call to a member function evaluate() on a non-object', 2 => '/home/content/92/10010992/html/magazine/sources/catalogues.
php', 3 => 1516, )
Function -> 'catch_fatal_errors'
Args -> array ( )
Back to the top
 
Posted
Rating:
#96409
Avatar

Ah, I plan to take a look at this error later on today.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#96417
Avatar

Ok, so I just downloaded 9.0.6, and line 1516 is:

Code

   if (is_null($title_to_use_2))
which doesn't contain evaluate like the error says.

I suspect you may have an incomplete upgrade somehow, or uploaded a hotfix designed for an older version, or somehow changed the file or uploaded an old version. The integrity checker in the upgrader should confirm this.

If it's the wrong version of the file, I wouldn't be at all surprised random errors could happen, or an old bug.


Regarding the topic in general…

Catalogues are being improved in v10, and there will be new filtering possibilities. However, this is on the very edge of ocPortal's functionality, in terms of it being implemented, and in terms of it being complex to configure. Really, this is programmer-territory – it isn't really something "off-the-shelf" software is going to make easy, at least not today. I know it's not what you really want to hear, but the truth is that complex stuff like this is almost always done by working out a technical spec and having a programmer implement it, not solely via configuration. I realise that's possibly not an option for you, but I need to set expectations rather than just leave a wall of silence in the topic.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#96441
Avatar

Honoured member

There are shopping cart softwares out there that do exactly what I am talking about. 7-8 years ado they could do it, and they are even better at it now. I was really hoping to put my Hall of Fame display into my overall OCPortal setup…but I guess I will have to use other software, which DOES make it easy. It will just take me re-working my pages, again, to go with another system.

Maybe I'll be able to iframe the display views of books I want to do onto the ocportal pages.

BTW - my integrity checker, is not working on any of the sites in my multisite setup. it ends up saying:

This webpage is not available
The connection to www.selfpubmag.com was interrupted.
Here are some suggestions:
Reload this webpage later.
Check your Internet connection. Restart any router, modem, or other network devices you may be using.
Add Google Chrome as a permitted program in your firewall's or antivirus software's settings. If it is already a permitted program, try deleting it from the list of permitted programs and adding it again.
If you use a proxy server, check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server, adjust your proxy settings: Go to the Chrome menu > Settings > Show advanced settings… > Change proxy settings… > LAN Settings and deselect the "Use a proxy server for your LAN" checkbox.
Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.


I did check all the settings and stuff, it still does that after doing that.
Back to the top
 
Posted
Rating:
#96442
Avatar

Yeah, I was going to say shopping cart software often can, but it was late and I was going off on a tangent so I shortened my post. It's hard for us to generalise it all in ocPortal while focusing on the broader range of general features we do. I really would recommend using a dedicated cart program if it has the features you need, as eCommerce is not a point of focus for ocPortal development.

Regarding that error, it looks like the server settings prevent disabling the timeout, and it's a long running script. Unfortunately I can't really do much about that (the script just has a lot of work to do, checking the hashes of each of thousands of files) – other than to suggest whoever manages the server implements a longer timeout (probably it's the CGI gateway timeout) – or to run OcCLE from an SSH command line and run the integrity check command from inside there.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: