0
Welcome Guest! Login
0 items Join Now

Error on selection as default

  • Re: Error on selection as default

    Posted 13 years 6 months ago
    • EDIT 3:
      so i looked into the core files and after i little research i found the problem (or i believe so)

      the problem is in joomla/form/form.php on line 694
      $file = JPath::find(self::addFormPath(), strtolower($file).'.xml');
      The strtolower() function convert "templateDetails.xml" into "templatedetails.xml" and that is mixing this up.

      i coded a rtbasepath (you have better ways but i think this lines show where the problem is in your code:

      Edit rtparameter.php on lines 48 & 49
      $rtbasepath = JPATH_SITE.DS.'administrator'.DS.'templates'.DS.'rt_missioncontrol_j16'.DS.'templateDetails.xml';   
              $form =& JForm::getInstance('templateDetails',$rtbasepath, array(), true, '//config');
       

      hope I could help :) - if there are Questions you can ask
    • Last Edit: 13 years 6 months ago by Solution-Work UG.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Error on selection as default

    Posted 13 years 6 months ago
    • DELETED my code sample

      ack, mine was wrong yours was right. So does that fix of yours address the problems both assigning and also in the template configuration?

      Below is a copy of the updated file.
  • Re: Error on selection as default

    Posted 13 years 6 months ago
    • omg yes "JPATH_ADMINISTRATOR" - Sorry it's 0:30 in the morning in Germany and my mind go's blank...

      but why you does not have the problem? - are you testing only on Windows?
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Error on selection as default

    Posted 13 years 6 months ago
    • I'm on a mac, which is case sensitive, so it's really strange. Anyway, if you guys can confirm that Omega's fix works, i'll push out a build.

      cheers.
  • Re: Error on selection as default

    Posted 13 years 6 months ago
    • Andy Miller wrote:
      ack, mine was wrong yours was right. So does that fix of yours address the problems both assigning and also in the template configuration?

      it solves most of the Problems... MC is usable and you can make adjustments like template name an so on...

      But not all color-settings are working... params.ini is chmod 777 but no changes so far..
  • Re: Error on selection as default

    Posted 13 years 6 months ago
    • I can't find that file in the default 1.6.3 install, where would it be located?
      I'm having the same issues.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Error on selection as default

    Posted 13 years 6 months ago
    • Omegatcu wrote:
      Andy Miller wrote:
      ack, mine was wrong yours was right. So does that fix of yours address the problems both assigning and also in the template configuration?

      it solves most of the Problems... MC is usable and you can make adjustments like template name an so on...

      But not all color-settings are working... params.ini is chmod 777 but no changes so far..

      In Joomla 1.6 all the template params are stored in the db. There is no params.ini in the rt_missioncontrol_j16 folder at all, so permissions should not factor into it at all. I'm a little confused.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Error on selection as default

    Posted 13 years 6 months ago
    • ScottDDMIdeas wrote:
      I can't find that file in the default 1.6.3 install, where would it be located?
      I'm having the same issues.

      Default 1.6.3 install refers to Joomla 1.6.3, not MissionControl (which is still currently at 1.6.0)

      www.joomla.org/download.html
  • Re: Error on selection as default

    Posted 13 years 6 months ago
    • Yep, got that, I'm at 1.6.3 for Joomla and 1.6.0 for MC. I installed the updated file from above, but, still no luck getting anything other than the login page to look/work correctly, thoughts?
  • Re: Error on selection as default

    Posted 13 years 6 months ago
    • Hey Andy,

      i work on a fresh system and i have an params.ini in my folder...!

Time to create page: 0.056 seconds