Exhibit display/preview

cinemateus / 2012-05-30 21:08:00   

Really excited to be running new Indexhibit. THANK YOU.

I can't see my exhibits in preview mode or on the live site though. Not sure what I'm doing wrong. I can create the content ok, just can't then see it.
Any help would be much appreciated.

site at cinemateus.com

Thanks.

Vaska A / 2012-05-30 21:10:32   

I think you are missing some files. You can reupload the entire /ndxzstudio/ folder without harming any customizations you might have already made.

It's not uncommon for FTP to miss some files...

cinemateus / 2012-05-30 21:12:09   

thanks I'll try that.

cinemateus / 2012-05-30 21:43:15   

still no luck I'm afraid... I'll keep playing.

Vaska A / 2012-05-30 22:18:47   

I see the front of your site - but you have no exhibits yet, right?

cinemateus / 2012-05-30 22:41:28   

I've made several test exhibits but they don't seem to show up. I seem able to create them. They're just not visible in preview or the index..

cinemateus / 2012-05-30 22:44:11   

*sorry, I can see them listed in the index whilst logged in. but on the actual site none of it is visible.

lukeb / 2012-05-30 23:08:08   

Yes, very excited to learn how you've updated everything. Like Christmas here.

I'm having, I think, a similar problem: able to preview the exhibits, able to see them listed in the navigation, but the link does not open the associated page.

I'm running Version 2.0 in a subfolder, see site here:
thumbprojects.com/…

Vaska A / 2012-05-30 23:29:13   

cinemateus - i'd like to look at this tomorrow. can you send me your ftp and indexhibit login info? contact [at] indexhibit [dot] org.

sebZlite / 2012-05-31 02:33:46   

I'm having the exact same problem except with text. I have an "about" page and it shows in the preview but not when I'm on the site.

Vaska A / 2012-05-31 02:42:22   

What is your site?

sebZlite / 2012-05-31 03:24:51   

i'm working locally. I'm looking in the code now to try to figure it out.

Vaska A / 2012-05-31 03:30:08   

MAMP? Hope not. Perhaps make sure error messages are outputting...

Vaska A / 2012-05-31 03:52:58   

I've been thinking about this - are you guys sure you don't have an index.html blocking your site and that you uploaded the new 'root' index.php file?

sebZlite / 2012-05-31 04:22:44   

I'm not that stupid.

sebZlite / 2012-05-31 04:23:14   

i'm not a newbie.

Vaska A / 2012-05-31 04:36:39   

Hey, it was simply a question.

Foldie / 2012-05-31 05:25:32   

Hi Vaska. Im experiencing something similar. I can see exhibits in the control panel but none appear listed on my front page. I reinstalled "ndxzstudio" folder but to no avail. v2.0 looks great regardless!

Foldie / 2012-05-31 05:27:06   

Sorry. Thats – foldie.net

sebZlite / 2012-05-31 06:37:06   

sorry Vaska if my response was a bit dry. I figured it out after 4 hours. Well, it has to be my machine because it works on the shared host. I'm using Apache on Debian. It's different than Wamp. Not as easy.

lukeb / 2012-05-31 11:27:20   

OK, I replaced the "ndxzstudio" folder and checked that I do not have an index.html anywhere on my domain. Still no connection from nav link to exhibit

lukeb / 2012-05-31 11:49:25   

Update: I changed htaccess to .htaccess and enabled clean URL's and now all links in the v2.0 site go to the legacy site at thumbprojects.com. Is there a conflict between my legacy site and 2.0 databases? btw, my webhost is pair.com

Ultimately, I'd like to be able to develop the 2.0 site and then change my DNS to point to the new folder if possible.

phillipreed / 2012-05-31 17:12:10   

Hi Vaska. Thanks for Indexhibit v2. I'm also experiencing this problem. I can see exhibits in the control panel but not in preview or on my front page. I reinstalled the "ndxzstudio" folder but that didn't seem to change anything. I did a new install, I am trying to run indexhibit version 2 on my site: phillipreed.co.uk.

Thanks for you help

Vaska A / 2012-05-31 17:15:59   

I'm about to look into this - if anybody wants to send me their Indehxibit login and FTP I'll take a look. contact [at] indexhibit [dot] org

Vaska A / 2012-05-31 17:41:29   

I believe the problem is with the parser - in the past year I never saw this happen. I believe it doesn't like this Regex (it doesn't return anything).

I can't post it yet...that's next on my list...

The regex is on line 110 of /ndxzstudio/lib/parse_default.php.

Vaska A / 2012-05-31 18:22:15   

I've narrowed this down to the parser - it seems different servers interpret it differently (that's not good). This is the regex:

  1. $f = "/<plugin:(?P<function>S+)s+(?P<variables>.*)/>/sUi";
  2. return preg_replace_callback($f, array($this, 'processTags'), $text);

But, my server outputs arrays thusly...

  1. Array
  2. (
  3.     [0] => <plugin:page:exhibit />
  4.     [function] => page:exhibit
  5.     [1] => page:exhibit
  6.     [variables] => 
  7.     [2] => 
  8. )

Whilst yours is probably doing something like this:

  1. Array
  2. (
  3.     [0] => <plugin:page:exhibit />
  4.     [1] => page:exhibit
  5.     [2] => 
  6. )

So, we have a bug and I'm working on it. Sit tight...thanks.

Vaska A / 2012-05-31 18:22:41   

Need to fix the styling on code blocks too... ;)

Vaska A / 2012-05-31 18:31:21   

Ok, it's fixed. Download this file and replace /ndxzstudio/lib/parse_default.php.

Looks like I was doing something a little silly...live and learn. ;)

sebZlite / 2012-05-31 19:11:28   

In my case, I found out the problem. Locally, if I put the site in /localhost/Indexhibit/
It wouldn't work. I would click on the links, the url was right but the content would stay the same. When I put it at the root in the localhost folder directly, as a test, It worked! So it's just a path problem. It makes sense.

Vaska A / 2012-05-31 19:17:58   

No, it wasn't just a path problem - or - your problem was different from the others. This was a serious bug that dealt with the regex.

Annnnnyways, happy to hear you resolved it. I'll keep in mind...

Foldie / 2012-06-01 01:27:29   

hi vaska.. im stil experiencing the same problem. I mailed you my ftp details. if you have the time to have a look please feel free to explore.
thanks again.
stuart

Foldie / 2012-06-01 06:11:13   

okay, i went back and flicked each sections "section organisation" to 'chronological' and then back to 'default'. one section is now visible while the rest are not. however, if i flick them to 'chronological' again all exhibits appear but with date for each section and sub-section appearing above. there is probably something v.simple I am overlooking... hopefully this makes sense. any suggestions are welcome.

Foldie / 2012-06-01 06:17:56   

And to top it off when I navigate to an exhibit to get this error message related to thumbnails:
"Warning: getimagesize(/home/stumaru/foldie.net/files/gimgs/16_16_untitled-31.jpg) [
function.getimagesize
]: failed to open stream: No such file or directory in /home/stumaru/foldie.net/ndxzsite/plugin/format.over_and_over.php

... or this for an exhibit itself:
"Fatal error: Class 'exhibit' not found in /home/stumaru/foldie.net/ndxzstudio/common.php on line 122"

My upgrade presently appears well and truly screwed :)

Foldie / 2012-06-01 06:33:43   

okay panic over... I jumped the gun. It all seems to be falling into place. I have to go and re-assign the media source. A pain-in-the-arse but I now know what the problem is.

This thread has been closed, thank you.