Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Indexhibit was updated to version 2.1.4 on April 10, 2017.

Now getting 'Database is not installed.' But backend working OK so is in calling page - advice pls!

 

Indexhibit version: 2.0
Thread is not resolved.

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Hi all
Support told me to post in the forum so here goes...
My site is still working in the old version (ie, is live)
The new cms2 is also working, as follows:

I h'Database is not installed.'ave the backend of CMS2 half working (get there by logging in to it)

(It updates the section name, Preview opens ok, but Upload images is not working at all, just shows it in list but no upload).

If I use the index.php
changed to use ndxzsite (not ndxz-site) for cms2, it says

'Database is not installed.'

Yes the backend of cms2 is working so db is working.
But the calling url is adjusted, and config.php is the new one (which was missing a end php tag, does that mean it has crashed?

This is the cms2 config.php
-------------
as expected - I added this is and uplaoded, no effect. But why is it missing?

The calling page does not generate the error msg.
This is the calling page index.php
---------------------------------------------

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Sorry this post got messed up, I added some php code, perhaps not allowed.

This is what it should say:
----
Hi all
Support told me to post in the forum so here goes...
My site is still working in the old version (ie, is live)
The new cms2 is also working, as follows:

I have the backend of CMS2 half working (get there by logging in to it)

(It updates the section name, Preview opens ok, but Upload images is not working at all, just shows it in list but no upload).

If I use the index.php
changed to use ndxzsite (not ndxz-site) for cms2, it says

'Database is not installed.'

Yet the backend of cms2 is working, so db is working.

But the calling url is adjusted, and config.php is the new one (which was missing a end php tag, does that mean it has crashed?

This is the cms2 config.php
It is exact same as cms1, plus a line at end

define('PX', 'ndxzbt1_');
-------------
But it had no end php tag, so I added this is and uploaded, no improvement.
(But why is it missing? Has the upgrade script crashed?

The calling page does not generate the error msg.
This is the calling page index.php
---------------------------------------------
This was stopped in the display, so basically, any tips welcome.
Thanks
Geoff (in UK not Malaysia btw)

arsondpi
GREECE
4 year(s) ago
Permalink Post

[I'm closing the other thread so people won't get confused]

So uploading images and a "database is not installed" error is the issue.
A few things to check:
1. verify your folder and files permissions. Your host may not allow 777 but 755 or 644. Simply ask them (indexhibit.org/forum/thread/17164/).
2. Are you using Firefox to upload images? If so, try uploading with a different browser - currently there's a bug in the uploader. Vaska is on it...

* there's nothing wrong with your config.php
Again check your folder/file permissions...

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Thanks ! I will check this out tomorrow...

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Hi
I used IE on Win 8 and the Uploader doesn't do anything at all - just opens the panel, none of the buttons work. Not even Cancel...
Chrome works OK.
Please mention that in the Help.

Vaska A
UNITED STATES
4 year(s) ago
Permalink Post

I don't believe IE 8 is supported - if I didn't add that to the requirements list I'll do so shortly.

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Hi
I am testing cms2 within the edit environment, I will look at deployment (the live cms2 db links) later (as I have cms1 still live).
In Use...
I am adding a block of text to a small white spacer image, to get a page of 'normal' text before the main images.
The white spacer has to be 600px wide to match the css setting, the text wraps to that width; the left column on title text is controlled by css also, that can be edited.
But no nav for the other images in the exhibit - they are not showing at all.
This seems like a rebuild... I must say this is not an Upgrade that works too well, I am one day in, on client time, and nothing to show yet. I am doing all this to get the normal text page at start of an exhibit (set of images). Phew!

Vaska A
UNITED STATES
4 year(s) ago
Permalink Post

What? I don't even understand what you are talking about...

And you can post a url.

Vaska A
UNITED STATES
4 year(s) ago
Permalink Post

We're here to help...

Your problem is likely quite minor.

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Yes I agree, minor as I have a working v2 and v1, just many tweaks, I think you are right though (as in instructions) a new install and rebuild might be quicker in most instances.
After this v2, I assume future upgrades will be like Wordpress, ie, fairly background.
Thanks for the hlp
Geoff

Vaska A
UNITED STATES
4 year(s) ago
Permalink Post

Correct, future upgrades will not be this difficult. I knew long ago that v1 to v2 would be hard which is part of the reason I did not release so many updates before v2.

Most v2 updates will be as simply as replacing the ndxzstudio folder and that's it. And later, I want to do automatic updates but that is not near the top of the list right now.

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Hi
just started the v2 deployment, I have the new index.php all OK

Exhibit formats: I am following the instructions to edit the format php files, using Grow as shown.
class Exhibit
{
$OBJ->page->exhibit['dyn_css'][] = $this->dynamicCSS();
$OBJ->page->add_jquery('grow.vaska.js', 26);

}

This causes a php error:
Fatal error: Call to undefined method stdClass::add_jquery() ......line location...

This is on the js call.

Am I missing an address change? Is the class Exhibit set up ok (ie, the two OBJ are insid eit, and it contains all the code?

Sorry, I am not a php coder.
Thanks

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

I see in the completed example, Visual Studio, the new grow code is called by

$OBJ->page->add_jquery('jquery.ndxz_grow.js', 20);

I tried this instead on the code above, same error

Any tips most welcome as client site offline! Thanks

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

btw I have gone back to a 'new' format so I can still work; my need is a simple paginating image display with prev/next

All the old ones error as expected.

Thanks

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Old format on all site was called Slideshow...

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

At top of Slideshow it says

// defaults from the general libary - be sure these are installed
$exhibit['dyn_css'] = dynamicCSS();
$exhibit['lib_js'] = array('jquery.cycle.all.js');
$exhibit['dyn_js'] = dynamicJS();
$exhibit['exhibit'] = createExhibit();

So that has to all be edited somehow into the new class.. tips very welcome as I am out of my depth here. Thanks.
PS client is a friend and I have no time to do the upgrade, is just to add a normal text page at start of each exhibit. 8-)

geoffd
MALAYSIA
4 year(s) ago
Permalink Post

JUST FOUND BETA OF SLIDESHOW so I will use that and get back to you
Thanks

Best Answer!
geoffd
MALAYSIA
4 year(s) ago
Permalink Post

Hi Vaska, that is great, the provided slideshow code sorted out my problems. Thanks for all the help along the way.
You can delete this thread (or middle of it) if you want.

 

This thread has been closed, thank you.