Moving server

s3studio / 2014-05-19 14:56:21   

i have found a " Moving Server - Mini How To " for legacy v. how do we do it fo v.2.
indexhibit.org/forum/thread/5912/

Vaska A / 2014-05-19 18:33:13   

Basically the same way but now there is an 'ndxzsite' folder to move as well.

s3studio / 2014-05-19 18:51:31   

i think my problem is at step 3
those folder are from the original indexhibit installation
Don't reupload these directories:
- /files (folder and it's contents)
- /ndxz-studio/config (folder and contents) this is now /ndxzsite /config
- /ndxz-studio/site (folder and contents) this i do not find
- /ndxz-studio/defaults.php this is now /ndxzsite /default
(quote Vaska)

can you let me know more in detail, please !

Vaska A / 2014-05-19 19:39:21   

Move...

/files/
/ndxzstudio/
/ndxzsite/

Export your database via PHPMyAdmin (your hosts provides this) and import it to the new server.

Update your /ndxzsite/config/config.php with your new database connection info.

heavyside / 2014-06-12 15:43:17   

hi guys,

i'm really having trouble with the instructions above... i'm trying to move to a new install from an old (legacy?) install of index exhibit on my site, and it seems rather unclear, both above and here:
indexhibit.org/forum/thread/5912/ (i'll post in that forum post about that forum post :)

above -- when you say 'Move...' you mean from the old server to the new server? or from the clean install folder hierarchy of index exhibit to the new server?

please help ;)

Vaska A / 2014-06-12 15:46:04   

I'm confused - you are simply migrating a v1 site? Or, upgrading at the same time?

1 - export your database via PHPMyAdmin
2 - you move your files to the new server
3 - import database to new server (again PHPMyAdmin)
4 - update the config.php file with new db connection

5 - IF you are upgrading - you can do that part now...

Makes sense?

heavyside / 2014-06-12 15:54:36   

ah i see... sorry - yes makes sense. thanks V -- i just got lost as the ndxz-studio folder doesn't even exist in my install (v 1.0, i guess). meaning that there's no guide here for what i'm actually trying to do (migrate v. 1.0)

i may upgrade after that, ok... thanks

heavyside / 2014-06-12 16:07:57   

shoot... it's not working
robopoems.com/

is there an old tutorial for V1 migration to another server i could follow somewhere? doesn't seem like i'm doing it exactly right, even though i did exactly this:
1 - export your database via PHPMyAdmin
2 - you move your files to the new server
3 - import database to new server (again PHPMyAdmin)
4 - update the config.php file with new db connection

heavyside / 2014-06-12 16:11:32   

(i meant the "ndxzsite folder doesn't even exist", two posts up :)

Vaska A / 2014-06-12 16:20:07   

Sorry I missed that (too much coffee!).

Legacy version doesn't have that folder...don't worry about it.

heavyside / 2014-06-12 16:58:54   

I think I need some coffee -- its still not working, and everything is perfect... even checked permissions. Damnit.

Vaska A / 2014-06-12 17:11:00   

What's not working...you're just moving files...

Do you have a DNS issue?

heavyside / 2014-06-12 17:12:26   

nope seems fine... NS2.MEDIATEMPLE.NET, NS1.MEDIATEMPLE.NET

heavyside / 2014-06-12 17:13:02   

i just mean the site's not working... i've looked at everything i know how to. all files are indeed transferred... hm...

Vaska A / 2014-06-12 17:16:04   

Where is it installed at?

heavyside / 2014-06-12 17:17:03   

mediatemple (thanks for your help btw!)

heavyside / 2014-06-12 17:32:50   

it does seem like there's something wrong at the server side...
like this file is definitely there at the root...
robopoems.com/…

but its giving me an error - i'll ask the media temple folks and come back here maybe if need be - thanks V!

Vaska A / 2014-06-12 17:50:49   

Yeah, that's what I was seeing too. Perhaps your site isn't setup correctly (the folder directions).

heavyside / 2014-06-12 18:08:26   

ok so there was something wrong on MT end...
this works now
robopoems.com/…
but i can't get this to run... despite now having triple checked the database settings and the folder structure from V1
robopoems.com/…

Is there some kind of 'downgrade' or something i need to do for the database? i.e.: maybe it's in too new a format or something (i don't really know what i'm talking about :)

heavyside / 2014-06-12 18:09:22   

and there's a huge eval at the top of the index.php file...

is that supposed to be there?

heavyside / 2014-06-12 18:12:35   


heavyside / 2014-06-12 18:12:48   

dropbox.com/s/2ivri1grwu7igf2/…

heavyside / 2014-06-12 18:19:30   

this is the spec's on the server...
screencast.com/t/…
is here something that wouldn't work from V1?

Vaska A / 2014-06-12 18:25:53   

and there's a huge eval at the top of the index.php file...

Absolutely not.

heavyside / 2014-06-12 18:42:01   

eeeesh... so its maybe corrupted... or spammy?
do you have clean files from V1 somewhere i could download?

Vaska A / 2014-06-12 19:08:23   

Just clean the eval from your files - check all the index.php files for the bad code. Simple to do...

heavyside / 2014-06-13 09:50:07   

(sorry to have to ask this but as it seems simple to you...)
how? :)

heavyside / 2014-06-13 09:51:48   

the only way i can think to do it would be to have a clean copy of the original V1 and then run a comparison on them?

heavyside / 2014-06-13 16:46:17   

ok ... so i got there with a really convoluted transmit4+textmate solution :) but now i have this... robopoems.com/

Fatal error: Allowed memory size of 103809024 bytes exhausted (tried to allocate 261900 bytes) in /nfs/c06/h08/mnt/183598/domains/robopoems.com/html/ndxz-studio/common.php on line 140

heavyside / 2014-06-13 18:23:06   

ok... got there eventually... i guess i can't use "localhost" as my database name... argggh (THANKS V)

Vaska A / 2014-06-13 19:49:19   

Yes, it's a database connection issue at this point - just get the connection strings right and you should be back in business.

This thread has been closed, thank you.