- Posts: 3
- Thank you received: 0
Fatal error trying to change colors on DesignNow
-
RocDoc
Inactive member -
Topic Author
- New Member
-
Less
More
14 years 4 months ago #4170
by RocDoc
Fatal error trying to change colors on DesignNow was created 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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 4 months ago #4176
by ivan.milic
Replied by ivan.milic on topic Re: Fatal error trying to change colors on DesignNow
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.
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
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 4 months ago #4185
by RocDoc
Replied by RocDoc on topic Re: Fatal error trying to change colors on DesignNow
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
Best regards,
Rudi Kiefer, webmaster
Brenau University
Please Log in to join the conversation.
-
RocDoc
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 3 months ago #4523
by RocDoc
Replied by RocDoc on topic Re: Fatal error trying to change colors on DesignNow
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];
}
}
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.163 seconds