0
Welcome Guest! Login
0 items Join Now

SOLVED Rokcommon error when using git

  • SOLVED Rokcommon error when using git

    Posted 11 years 2 months ago
    • So i've got this very strange issue i'm trying to battle. I cloned a git repo of a joomla installation. The repo doesn't contain all the joomla sources (such as includes and what not). Just the libraries, components and templates.

      On top of that repo I ran akeeba kickstarter to extract a FUNCTIONING site. When I do that I get a Rokcommon error (see below). HOWEVER, when I extract the akeeba backup in a different folder (with no git repo) everything works fine. What the hell is going on? It seems that the existing files are causing a problem, but the extractor overwrites everything. I already chown'd everything to the right user when I did the extract so all files would be overwritten.

      This is the error
      Fatal error: Class RokCommon_PlatformInfo_Joomla17 contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (RokCommon_PlatformInfo::getInstanceId) in /var/zpanel/hostdata/exo/public2_html/libraries/rokcommon/RokCommon/PlatformInfo/Joomla17.php on line 89
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	656680	{main}( )	../index.php:0
      2	0.0205	4985296	JAdministrator->initialise( )	../index.php:34
      3	0.0270	6587200	JApplication->initialise( )	../application.php:81
      4	0.0315	7041528	JPluginHelper::importPlugin( )	../application.php:229
      5	0.0316	7050216	JPluginHelper::_import( )	../helper.php:125
      6	0.0327	7243440	plgSystemRokCommon->__construct( )	../helper.php:194
      7	0.0328	7245032	plgSystemRokCommon->loadCommonLib( )	../rokcommon.php:57
      8	0.0330	7284800	require_once( '/var/zpanel/hostdata/exo/public2_html/libraries/rokcommon/include.php' )	../rokcommon.php:99
      9	0.0349	7709056	RokCommon_Service::getContainer( )	../include.php:38
      10	0.0445	8391928	RokCommon_Service_ContainerImpl->__get( )	../include.php:70
      11	0.0445	8391928	RokCommon_Service_Container_Builder->getService( )	../ContainerImpl.php:377
      12	0.0447	8421832	RokCommon_Service_Container_Builder->createService( )	../Builder.php:86
      13	0.0448	8422584	__construct ( )	../Builder.php:238
      14	0.0448	8422928	RokCommon_ClassLoader_BootStrapLoader::loadClass( )	../Builder.php:0
      15	0.0450	8457152	require( '/var/zpanel/hostdata/exo/public2_html/libraries/rokcommon/RokCommon/PlatformInfo/Joomla17.php' )	../ClassLoader.php:107

      EDIT:

      Solved it by just recloning my repo, moving the .git folder to a different location. Clearing the entire folder that I just cloned. Running akeeba kickstart and moving back my .git folder. Commit and done.
    • Last Edit: 11 years 2 months ago by Marcel Fleuren.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED Rokcommon error when using git

    Posted 10 years 9 months ago
    • thank you for marking this solved and sharing the solution to your issue for future readers.

Time to create page: 0.055 seconds