multiple indexhibits

serviceforthepeople / 2007-10-18 20:19:11   

is it possible to have 2 different indexhibits on the same site ?

serviceforthepeople / 2007-10-18 20:21:20   

if so how do i go about doing that ?

Vaska A / 2007-10-19 07:48:14   

It's possible, but I don't think it's easy unless you really know what you are doing. The next version will make this easier...

serviceforthepeople / 2007-10-19 11:27:17   

thanks for the reply v.
yeah i'll just wait for the next version then

ignacio / 2007-12-12 17:49:32   

i want to have my site in two languages, would this be the way to go? (have two identical inexhibits, one in each lang.)

Vaska A / 2007-12-12 19:00:55   

Hmmm...let me think about this a bit.

IJohnson / 2008-02-18 18:30:59   

Hey Vaska, I think Indexhibit is the best thing since steak and chips!
Seriously though, I'd like to continue that question about multiple indexhibits running on the same server.

I have 2 friends that have their sites on the same server as me and they all want to use indexhibit.

I've also recently purchased the MySql option from my domain host and it says I can run up to 5 Databases on the domain, this lead me to believe it was possible to run more than one indexhibit on the domain.

Basically I'd like to know how I can accomplish that. You say its only possible to do it if you "really know what you're doing", so lets say I'm not a programmer or coder but I do understand how to work with code.

I'd appreciate it if you could let me know if doing this is possible.

Thanks a million.

I

Vaska A / 2008-02-18 18:44:37   

Ok...here you go...this is not for the faint of heart...and these are very fast instructions.

First thing I will say, this won't be a problem in the next version. ;)

Do a global regex replacement of 'ndxz_' on all files and replace with a new prefix. Then install. Do this for each installation.

If it messes up or doesn't work...it's beyond my control. ;)

IJohnson / 2008-02-18 19:53:51   

Great, I will try that.

Thanks so much and looking forward to the next release.

I

IJohnson / 2008-02-18 22:23:33   

Hey Vaska, I'm having another strange issue with creating a database from my MySql admin page.

Is possible that it won't run on my server?

Thanks

IJohnson / 2008-02-18 22:41:04   

I guess I failed to mention that I have successfully installed indexhibit on other servers, but on my own it won't run even though I purchased the MySql option.

I would greatly appreciate any help.

I

AntoineLafontaine / 2008-02-20 02:03:24   

Hi IJohnson,

Could you provide a bit more information on what is the problem when you say "it won't run". Is indexhibit providing any error messages? Could you list them here? Could you provide any information on what is different on your server from the others you've successfully configured and so on...

If you want some help you need to give a bit more details since everyone's setup isn't the same as yours.

knotsco / 2010-02-24 22:22:45   
Do a global regex replacement of 'ndxz_'

hey, i tried this and it all seems to work with... the exception of being able to log in on the second installation.

monti / 2010-03-08 03:51:54   

It worked just fine for me. I have two sites on the same host. I has the login problem too, but then I reinstalled with a global replace of ndxz and a 2nd MySQL Database for the 2nd site.

Klara / 2010-03-29 18:33:17   

i'm just about to install a second indexhibit-site now and I have two questions.

Do I need to have a certain program to change these ndxz_ ?
"Do a global regex replacement of 'ndxz_' on all files and replace with a new prefix. Then install. Do this for each installation." I just opened them in Dreamweaver and chose "find and replace" is that it?

Also I was wondering how many files there actually are with this ndxz_ ?
I could only find it in one and I went over them all...did I miss something?

Klara / 2010-03-30 14:04:49   

Anyone?

Vaska A / 2010-03-30 16:44:12   

You can do multiple installs simply with two separate folders and two separate databases.

Klara / 2010-03-30 17:37:37   

Appearently I cannot have more than one database, therefor I am now trying to edit the prefix of the second install so they wont be in conflict.

My webhotel tells me I need to replace ndxz_ with ndxz_en_ and I'm not sure I found them all..how many files is that prefix in?

mcrae2112 / 2010-07-16 21:27:57   

any update on this issue?

I am also trying to install indexhibit to run on 3 different domains using one database...

If the replacement of ndxz_ is necessary, is there any idea what files need to be replaced? suggested prefix replacement ? easiest way to do this would be helpful!

Thanks!

mcrae2112 / 2010-07-20 21:08:27   

I did the replacement of all ndxz prefixes using find and replace of the whole folder via dreamweaver. Got indexhibit installed and i can access it by logging in. BUT there seems to be one major thing not working... I cannot toggle any of the switches in the side menu when editing pages (ie. publish site, thumbnail size, image size, additional settings, ect...)

Any idea what is happening here??

I really need to get this working ASAP! Any help is appreciated!

mcrae2112 / 2010-07-21 19:43:58   

still struggling... any help here??

mcrae2112 / 2010-07-21 21:38:56   

issue resolved.

Vaska A / 2010-07-22 02:23:30   

I'm sorry you never got a response. Happy to hear you found the solution though.

neilsone / 2011-02-05 01:46:49   
  1. An easy was to do this (on a Mac) is to perform a find and replace after unziping the indexhibit files.  Run the following command from a terminal window in the directory you unzipped the indexhibit files to:
  2. find . -type f | xargs perl -pi -e 's/ndxz_/ndxz2_/g'

replace "ndxz2_" with your own string of course. I also suggest that you only elect to do this if you really know what you're doing, you can really screw your machine up with a mistyped global find and replace.

maticusfowl / 2011-02-24 16:04:46   

Vaska,

"this won't be a problem in the next version. ;)"

What's the status on this?

Thanks

Candice / 2011-04-20 06:47:31   
  1. You can always modify the defaults.php (in the ndxz-studio folder) and replace this line :
  2. // database prefix
  3. define('PX', 'ndxz_');

with an other prefix ;) it works. Just do it before installing it your server.

7 / 2013-09-12 23:25:44   

I've tried this with the seperate folder and seperate database. Installs fine, can edit it, add/change exhibits etc. But clicking on an exhibit on the second Indexhibit takes me to the home page of the overall Indexhibit. Am I missing something or are there further things to edit here? Cheers.

arsondpi / 2013-09-13 08:31:55   

could be an htaccess thing that redirects you to the main site - I had a host that doesn't allow separate htaccess files to each folder - just one in the main directory.

7 / 2013-09-13 15:28:45   

Hm, well my hosts said it's likely an issue with the scripting within one of them. They changed the htaccess in the second indexhibit to htaccess.bak but no luck.

They said:
"Basically we tried to switch it to a single htaccess file. I spoke with the admin and we ran through some tests and everything seems to be good on the server so it looks like its an issue with the script. "

Any ideas? Cheers!

Vaska A / 2013-09-16 17:16:57   

If you remove htaccess completely, the both work?

7 / 2013-09-16 22:04:16   

Just tried it, no luck! I've got round it by using a sort of second menu which looks good/works well.

Vaska A / 2013-09-18 11:48:44   

you removed htaccess from both sites and it still did not work?

7 / 2013-09-19 12:57:06   

Yeah, it broke the overall site, whilst the second remained up.

Vaska A / 2013-09-20 14:23:17   

then you didn't remove it properly - did you disable mod_rewrite from the config/options file part of things too?

basically, i'm trying to see if these sites both work without mod_rewrite set up on either of them. then, start trying to make it work from there...

This thread has been closed, thank you.