Announcement
Collapse
No announcement yet.
problems with testsite/database restores
Collapse
X
-
5.1.0 installed...i just made an extra database for safety and toggled the live url/directory since i had a half upgraded live site directory handy. sooo easy i can hardly believe it...like 5 minutes total for updated styles and everything, lol....id still like to get a solid test site process...was just trying to be careful and idk what some of those issues were but glad its over for now. ....i just toggled the live url/directory since i had a half upgraded live site directory handy and that is ok for now, but im not sure once this software is more stable and get more traffic will def want a solid dev site
- Likes 1
-
is there anything i NEED to change if using the live url and files as test? prefixes or anything? dont want any long term effects just little impatient, lol, and seems like the quickest way for now....
fwiw, the 3 minutes i had the test site with live files/database, things seemed ok...upgrade went thru fine, i put the html header back and was about to replace the additional.css when the redirecting issues started happening yst...idk pray for me, lol
-
been thinking about this alot today and realizing i dont think ive ever setup a test site with live site database restored...i put the styles and things but never full database, so i gotta be doing it wrong somehow or something....this should work right??
the only time i was able to successfully restore my live sites database was yesterday when i accidentally broke my site then restored it.....sooooooo, im wondering some if i can create a test site with the same url as my live one and simply toggle the directory names back and forth to test the test one.....this was giving me odd issues yesterday like the files not showing up when i know they are there but pretty sure ive done that before so idk what that was....
im guessing even if it doesnt work i can always restore what ive got so far on the live site? and for ultimate backup ive got the full restore .gar.gz file can reset the whole account but id really like to figure this out for future upgrades....the tutorial on this doesnt seem to suggest having a test site thats a copy of live site for upgrades so im wondering if its even possible by now but to me there is an obvious value here or im not really testing my site upgrading, but rather the vb upgrade only....
Leave a comment:
-
yes i backed up urls to test sites...it worked one time i swear, lol(the first time i uploaded and restored)....but now this time i cant log test site admin cp or the site at all, just the loop error...it may have been a fluke i got in the first time....i remember having to use a diff browser with nothing cached/no cookies etc...tried that again this time but no luck...if that makes any sense...
thanks again for your assistance
Leave a comment:
-
Yes it should remain there.
Before you made your database backup did you edit the Core URL and other URLs in the Setting / URL / Contact Details setting in the Admin CP to the test URLs? Can you log into the AdminCP of the test site directly?
Leave a comment:
-
thank you...i hadnt made this change but now that i have im still getting the same loop....
i was curious about this line....although it seems it should be there and works on my live site its in a way what seems to be happening idk...
# Redirect old install path to core.
RewriteRule ^install/ core/install/ [NC,L]
Leave a comment:
-
Have you edited the .htaccess file in your /test/ directory?
You should, it needs to be different from the one in your non-test folder.
Edit the .htaccess file...
Find the line that is either-
Code:#RewriteBase /
Code:RewriteBase /waf/
Code:RewriteBase /test/
Leave a comment:
-
signing off for now but more info the redirect loop was in chrome....the error in firefox says
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
does that mean i need a backup with the cookie path changed as well as the urls? i did edit them into both config.php files but the tutorial seems to throw that step in at the end as if its done after the restore, and again i did manage to get it to go long enough to change the cookie path in admincp one time so thought i could do it again idk
-
hmm, well i got a solid database to go finally but still the redirect loop when i try to put my live sites database..this is i think exactly what i did initially and it worked before so im stuck again.....its using a directory with my live sites files and config.php should all be correct idk stuck
thanks for your time i know it can be hard to say sometimes..
i can get a clean install for test site but issues trying to use the live sites backup even tho all the files are there n stuff idk
-
this time it started looping right after i restored the live site database....i check admincp and 0.00mb in database.....no wonder....even when they said they had data it wasnt accurate so somehow its problem in there...im using putty and the standard script for db restore, any ideas why this database restore issues would be so hit and miss?
-
im using fireftp btw, and this is strange indeed...after the clean 5.0.5 install i went to delete the install folder....didnt appear in the core directory!
tried to load admincp but said to delete install directory, so i reuploading it now, lol so i can see it and delete it....i think this is how i got to the install screen one time, but most of the times its only redirect loop error page
i can try to think like, ive done a server optimization here since my working test site but idk why these things would happen...
still pushing forward but something wacky going on idk..
Leave a comment:
-
What page are you seeing when you get redirected to install.php? Are you seeing an actual page to begin the install or a 404 error?
Leave a comment:
-
i wonder could this be something about the .htaccess files? im just using the ones from my live site, but i havent manually edited them or anything idk...
just a little extra frustrating because ive done this successfully before even using same config files..idk
Leave a comment:
-
ive removed all instances of install directory from the entire server and im still getting the core/install/core/install loop...
trying installing my live 5.0.5 to test again after deleting the old ones so just one test and one live....gonna try testing the 5.0.5 test site further before the upgrade and see what i can learn :/
Related Topics
Collapse
-
by rtfm1I have created a test site, but it seems there is no connection to the database, as there is no posts or users - so I am even unable to login to admin panel. I have placed the test site in a different...
-
Channel: Support Issues & Questions
Sat 17 Aug '13, 9:02am -
-
by CraigI'm creating a test environment, and everything so far has gone well.
I am at the last leg before running the install script. I have uploaded the tools to point the test site to a separate...-
Channel: Support Issues & Questions
Thu 29 Sep '16, 7:25am -
-
by wdwmsGreetings!
We wanted to have a development site, which I know w/the license you can do. We went ahead and created a separate database, separate url (test.sitename.com), separate directory...-
Channel: Support Issues & Questions
Wed 24 Aug '16, 8:11am -
Leave a comment: