bryanau Posted January 9, 2008 Share Posted January 9, 2008 So i have a forum php in a folder called Editor, then i duplicated it and made a new folder called Editor2, but when i go onto the site and change something in Editor2 it changes stuff in Editor so im not sure where in the code i have to change something in the Editor2 folder? Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/ Share on other sites More sharing options...
teng84 Posted January 9, 2008 Share Posted January 9, 2008 what are this changes? Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435060 Share on other sites More sharing options...
bryanau Posted January 10, 2008 Author Share Posted January 10, 2008 when the posts/changes are made on Editor2 it changes things in the Editor folder Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435062 Share on other sites More sharing options...
teng84 Posted January 10, 2008 Share Posted January 10, 2008 not sure but maybe you mean when you update the data in other folder the other one is affected? if that is what you mean maybe because they share database so if change the content on that folder you will also see the changes on the other records on the other dir Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435064 Share on other sites More sharing options...
bryanau Posted January 10, 2008 Author Share Posted January 10, 2008 Yeah changes in one folder affects the other folder even though its a duplicate renamed folder. How could this be fixed? Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435068 Share on other sites More sharing options...
teng84 Posted January 10, 2008 Share Posted January 10, 2008 you dont get my last post.. I'll try to explain it well sample if i edit my name on that folder it will also be edited on the other folder? if that is the case you are sharing database create another databse for that other folder duplicate also your database Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435073 Share on other sites More sharing options...
bryanau Posted January 10, 2008 Author Share Posted January 10, 2008 hmm...i understand what you mean. See this is actually my bosses forum and he told me to find the piece of code in the 2nd folder that is different then the first so that it works properly and he told me to ask for help so i picked this forum ha. So i guess i should tell him he needs to also duplicate his database..say he did..is there a line of code somewhere in the new php folder that would need to be edited to work with the new database? Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435078 Share on other sites More sharing options...
teng84 Posted January 10, 2008 Share Posted January 10, 2008 if that software is coded properly(standard ) all you have to do is find that page where it defines the db connection and change the DB name to your new DB, but if that soft ware is poorly coded you have to look for each connection and change its db name to your duplicated db Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435083 Share on other sites More sharing options...
bryanau Posted January 10, 2008 Author Share Posted January 10, 2008 hmmm alright ill have to tell him, thanks alot Quote Link to comment https://forums.phpfreaks.com/topic/85275-php-duplicate-forum/#findComment-435088 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.