is it possible to have 2 different indexhibits on the same site ?
is it possible to have 2 different indexhibits on the same site ?
if so how do i go about doing that ?
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...
thanks for the reply v.
yeah i'll just wait for the next version then
i want to have my site in two languages, would this be the way to go? (have two identical inexhibits, one in each lang.)
Hmmm...let me think about this a bit.
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.
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. ;)
Great, I will try that.
Thanks so much and looking forward to the next release.
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?
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.
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.
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.
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.
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?
You can do multiple installs simply with two separate folders and two separate databases.
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?
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!
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!
still struggling... any help here??
I'm sorry you never got a response. Happy to hear you found the solution though.
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:
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.
"this won't be a problem in the next version. ;)"
What's the status on this?
You can always modify the defaults.php (in the ndxz-studio folder) and replace this line :
// database prefix
with an other prefix ;) it works. Just do it before installing it your server.
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.
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.
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.
"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!
If you remove htaccess completely, the both work?
Just tried it, no luck! I've got round it by using a sort of second menu which looks good/works well.
you removed htaccess from both sites and it still did not work?
Yeah, it broke the overall site, whilst the second remained up.
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.