Author Topic: Bash Script to clone SOBI2 and Plugins (Cloning Tool)  (Read 100900 times)

0 Members and 3 Guests are viewing this topic.

Offline effektlabor

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #90 on: 01. May 2009, 01:24:54 »
Hi,

I can't install the german language file on the clone.

I always get the following error message:

"Error: Could not parse XML file. Installation aborted. : 489"

Any ideas?

thank you for your help!

best regards!
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile


Offline roco2000

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #91 on: 02. May 2009, 04:57:23 »
Just wanted to say thanks for letting have a copy.  It makes sense not to keep reinventing it individually.  I won't tell you how much hair and sleep I have lost trying to do this.  Again thank you.
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline liypfhe1

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #92 on: 06. May 2009, 06:32:51 »
quick question.. how do i access th econsole/ terminal program to run the clone program. ???
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline Everette

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #93 on: 08. May 2009, 09:43:09 »
Thank you thank you thank you to the Sobi2 and clone creators!

This is how to achieve a clone on a windows system.

  • Unzip the com_sobi installation to a fresh directory
  • Name the directory your clone target name. Mine was a second install for adoptable animals so the directory is named com_sobi2adopt
  • Get a bulk file renamer tool that knows how to recurse subdirectories. I used File and MP3 Tag Renamer from 123renamer.com. Point the renamer utility to com_sobi2adopt. Replace all instances of sobi with sobiadopt so that all filenames in com_sobi2adopt that have the word sobi in them are now named (in part) sobi2adopt instead.
  • Get a bulk search and replace tool that knows how to recurse subdirectories. I used Actual Search and Replace by divlocsoft.com. This is a two step process. Point the tool to com_sobi2adopt. (1) find all instances of sobi (lowercase) and do a case sensitive replacement with sobiadopt. (2) find all instances of SOBI (uppercase) and do a case sensitive replacement with SOBIADOPT.
  • In com_sobi2adopt, open sobiadopt2.xml. All of its sobi and SOBI instances should already be changed to sobiadopt and SOBIADOPT. Edit this file only to change what you will see when you click the Administrator components tab. Otherwise both installations will have the same menu item title. Change

   <administration>
      <menu img="components/com_sobiadopt2/images/sobiadopt_sm.jpg">Sigsiu Online Business Index 2</menu>
to
   <administration>
      <menu img="components/com_sobiadopt2/images/sobiadopt_sm.jpg">Sigsiu 2 Adopt</menu>


  • Use a ZIP creation tool like IZarc or JZip to create a new zip installation file. Pack all of com_sobi2adopt file folder into com_sobi2adopt.zip.
  • Go to the Administrator, Extensions, Install/Uninstall. In Upload Package File, Browse to your new com_sobi2adopt.zip. Upload and Install.
  • View your components menu for the instance Sigsiu 2 Adopt.




I just tried that and it worked great.
Thanks
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline robiv8

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #94 on: 10. May 2009, 15:43:32 »
Hat sich erledigt! War mein Fehler.

Aber Frage:
Kann man nicht dem Clone eigenständige MySql Tabellen geben. Sprich wenn man den Original Sobi2 deinstalliert und die Datenbankeintäge löscht
es nicht die Einträge vom Clone löscht?
« Last Edit: 12. May 2009, 15:55:01 by robiv8 »
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Noch im Aufbau

Offline dr Monk

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #95 on: 08. June 2009, 10:34:51 »
Hallo zusammen.

Wollte mal nachfragen ob das Clonen unter Windows auch mit der neuen Version funktioniert?!

Und in wie fern kann man Clone Updaten? Nicht das es irgendwann zu Problemen kommt wenn das
Batchen mal nicht gehen sollte.

Wäre es auch möglich bei neuen Versionen ein Clon vom Sigsiu aus anzubieten? Anscheinend wird
dieser ja öfters benötigt?!

(Wird jemals die Möglichkeit kommen für verschiedene Kategorien verschiedene Eingabemasken zu definieren?)

MfG Monk
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline stealth027

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #96 on: 24. June 2009, 23:35:25 »
Please can someone help me with this. I have managed to clone sobi2 with the script and it runs perfectly (I think, no errors) and it installs fine. The problem is once installed the menu description in the components menu drop down all show "Sigsiu Online Business Index 2". I am quite new at this but i did check in the .xml files and the name is set it sobi2test (The name i created in the clone) but its not showing up like that.

The "metadata.xml" file reads:
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<structure>
<menu>
<options var="sobi2testTask">
<default name="SOBI2TEST_FRONT" msg="SOBI2TEST_FRONT_EXPL" />
<option value="search" name="SOBI2TEST_SEARCH" msg="SOBI2TEST_SEARCH_EXPL"/>
<option value="addNew" name="SOBI2TEST_ADD_FORM" msg="SOBI2TEST_ADD_FORM_EXPL" />
<option value="usersListing" name="SOBI2TEST_USER_LISTING" msg="SOBI2TEST_USER_LISTING_EXPL" />
<option value="showNew" name="SOBI2TEST_NEW_LISTING" msg="SOBI2TEST_NEW_LISTING_EXPL" />
<option value="updated" name="SOBI2TEST_UPDATED_LISTING" msg="SOBI2TEST_UPDATED_LISTING_EXPL" />
<option value="popular" name="SOBI2TEST_POPULAR_LISTING_CATS" msg="SOBI2TEST_POPULAR_LISTING_CATS_EXPL" />
<option value="popularListing" name="SOBI2TEST_POPULAR_LISTING" msg="SOBI2TEST_POPULAR_LISTING_EXPL" />
</options>
</menu>
<state>
<url addpath="/administrator/components/com_sobi2test/elements" >
<param name="SOBI2TEST_SELECT_CAT" type="sobi2test" msg="SOBI2TEST_SELECT_CAT_EXPL" />
<param name="cid" type="sobi2test" />
</url>
</state>
</structure>

Please can someone help me out with this, as i am building a website but obviously need to know what sobi2 directory i am working with from the drop down. I have looked everywhere i think this could be and cannot find it anywhere.

Any help with this would be greatly appreciated as i am totally clueless! ???

Here is the clone i created. [attachment=1]
If someone could point out to me where i am going wrong so that i know for the next time. I am going to be doing a couple of clones so if you could show me where the problem is then i know how to fix it for the rest.

I am using:
Joomla! 1.5.11 Production/Stable
SOBI2 - com_sobi2-RC2.9.2.1.j15 (latest one)
PHP Version 5.2.9
Apache/2.2.11

I have tried this in Ubuntu 9.04, SUSE 11.1 and via SSH and still get the same thing :silly:

Thanks a mill :)
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline seven-76

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #97 on: 25. June 2009, 00:49:22 »
it's something to do with SOBI2 - com_sobi2-RC2.9.2.1.j15, you don't get the problem of the menu name in joomla on com_sobi2-RC2.9.1.0.j15 (it comes out as to whatever you name it), i haven't figured out why yet (haven't really had the time). if i do i'll post something.
Country: Australia Australia |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline nighthurdles

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #98 on: 10. July 2009, 17:29:53 »
Hi Neo, I've tried to submit 2 different review on the extensions.joomla.org site with two different accounts, however ive waited for a few days and neither has been published :( I could really use one of your shiny stars! Any ideas why they might not have been published? I made sure they were clear and useful. I dont understand why they havent been put up.

I am on a deadline for a student project and in order to complete it i could really do with your extensions clone. Please let me know if this is possible! Honestly I've tried my best to give you a good review!! Its a great component - I can't believe you do this stuff for free - The world is a lot more pleasant with people like you in it :)

Any help would be great! I am sorry to grovel!!!

Thanks
Paul
Country: United Kingdom United Kingdom |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline Fungai

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #99 on: 14. July 2009, 17:47:59 »
Is there anyway this script can be modified or used on windows. Is there a windows version of it at all?
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Tags: