Fatal error trying to change colors on DesignNow

  • RocDoc
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #4170 by RocDoc
Hi. I've got the DesignNow template with HotStart, running at
www.brenau.edu/home
When I try to edit the template, I get this error message:

Fatal error: Cannot access empty property in d:\home\sites\brenau.edu\wwwroot\home\libraries\joomla\registry\registry.php on line 146

Already checked the Joomla forum and found nothing useful there. Any advice?

Thanks,
RocDoc

Please Log in to join the conversation.

More
13 years 3 months ago #4176 by ivan.milic
Hello ,
I found this for you:

www.joomlastats.org/index.php?option=com...view&id=3636&catid=8

Maybu you can just put if part before all value assignments in that file like in that link.

Please Log in to join the conversation.

  • RocDoc
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #4185 by RocDoc
Ivan, thank you so much for the fast response! I'm going to try this asap, but may not be able to complete the work before our campus goes into hibernation until January 3. Will definitely report on the progress of this. I really like the HotDesign template a lot and hope to make it our main display method.
Best regards,
Rudi Kiefer, webmaster
Brenau University

Please Log in to join the conversation.

  • RocDoc
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #4523 by RocDoc
Thanks again, Ivan! I used the code changes that were suggested for line 196, and applied them to line 146 (where the error was indicated).
The new code block now reads as below.

The display modes and custom settings for the DesignNow template now appear to be working properly. Much appreciated!

Best,
RocDoc


if (isset($this->_registry[$namespace])) {
$ns = & $this->_registry[$namespace];
$pathNodes = $count - 1;

//for ($i = 0; $i < $pathNodes; $i ++) {
for ($i = 1; $i < $pathNodes; $i ++) {
if((isset($ns->$nodes[$i]))) $ns =& $ns->$nodes[$i];
}

if($nodes[$i])if(isset($ns->$nodes[$i])) {
$result = $ns->$nodes[$i];
}
}

Please Log in to join the conversation.

Time to create page: 0.137 seconds
Powered by Kunena Forum