-
AuthorPosts
-
November 25, 2009 at 9:10 am #324917
Hello all,
I have been receiving this error
<blockquote>Fatal error: Call to a member function get() on a non-object in /templates/ja_purity_ii/libs/menu/base.class.php on line 149</blockquote>
When lines 149 to 154 on the base.class.php file are disabled and Menu type other than Mega Menu is selected, only this functions. Otherwise this template doesn’t work for my site, so I am not able to use Mega Menu and explore the potential of this great template.
If the site is functional (if Mega menu is disabled alongwith those lines on 149 to 154), you can see my site URL here: http://ekendraonline.com/tech/webguide/joomla-troubleshooting-errors-encountered-in-joomla.html
The blank page appears on each page of the site, Im using Joomla 1.5.15, no special 3rd party components or modules are used. The hosting environment is Linux on Bluehost..
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 25, 2009 at 9:58 am #324933Hello myzenith!
Please open the file: “templatesja_purity_iilibsmenubase.class.php” and try to remove a section code at line 63:
[PHP] $v->megaparams = $this->parseTitle ($v->name);[/PHP]at line 59:
[PHP] if ($v->access <= $aid) {[/PHP]
Replace:[PHP]
$v->megaparams = $this->parseTitle ($v->name);
if ($v->access <= $aid) {
[/PHP]good luck
1 user says Thank You to Saguaros for this useful post
November 26, 2009 at 3:21 pm #325067<em>@tienhc 154578 wrote:</em><blockquote>Hello myzenith!
Please open the file: “templatesja_purity_iilibsmenubase.class.php” and try to remove a section code at line 63:
[PHP] $v->megaparams = $this->parseTitle ($v->name);[/PHP]at line 59:
[PHP] if ($v->access <= $aid) {[/PHP]
Replace:[PHP]
$v->megaparams = $this->parseTitle ($v->name);
if ($v->access <= $aid) {
[/PHP]good luck</blockquote>
Hello tienhc,
you can have a look at my site, it’s still the same, now Mega Menu doesn’t work. I don’t know wht’s the wrong going on.I did exactly as you pointed me to do.
I don’t know if this link work, according to your suggestion http://ekendraonline.com/tech/webguide/joomla-troubleshooting-errors-encountered-in-joomla.html
November 26, 2009 at 6:09 pm #325075<em>@tienhc 154578 wrote:</em><blockquote>Hello myzenith!
Please open the file: “templatesja_purity_iilibsmenubase.class.php” and try to remove a section code at line 63:
[PHP] $v->megaparams = $this->parseTitle ($v->name);[/PHP]at line 59:
[PHP] if ($v->access <= $aid) {[/PHP]
Replace:[PHP]
$v->megaparams = $this->parseTitle ($v->name);
if ($v->access <= $aid) {
[/PHP]good luck</blockquote>
Please, correct me if I am wrong on this. what I understood is
// line 63 ie disabled this line
// line 59 ie disabled this line and replaced this line 59 with
[PHP]
$v->megaparams = $this->parseTitle ($v->name);
if ($v->access <= $aid) {
[/PHP]or shall I replace both lines 63 and 59… I am confused
korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
November 28, 2009 at 10:22 am #325185I find myself confused as well. Could this be related to code changes 1.0 -> 1.1 ?
December 1, 2009 at 5:58 pm #325432I think I may have found a bug. If I create a new menu item and select Section Blog Layout or Category Blog Layout then the right module column will appear where the left column should be and the left column will appear below the main section.
Is this a bug or something I just need to adjust somehow?
Thanks,
-RyanEdit: I’ve found that it only does this when you have articles to be displayed in the ‘Intro’ area in columns below. If there is only the leading article then it doesn’t happen.
My current setup is 1 Leading, 4 Intro, 2 Columns and 4 Links.
December 3, 2009 at 7:56 pm #325663First, love the new template. I’ve been buying templates but this is my new favorite. I’m now using it for my main site. http://www.gerrypeters.com
When i write as a Blog in Joomla (blog mode) the mudules do not work properly, left or right. check below as an example:
I’ve been using the new K2 component extension but cannot do it when using this template. The mudules just get added at the bottom of the Main body section. I thought it was a K2 issue but i get the same result when i use the standard joomla blog mode.
can you help with this? Appreciate your hard work on this template. it’s a winner in my books.
December 4, 2009 at 5:58 pm #325745I found a solution for my my Blog Layout issue. In the situation with the K2 problem, I dumped K2 and did a fresh load. Luckily I did not have much to lose.
It looks like it works as well for the Joomla Blog Layout. A fresh load allows for Modules to be placed in their appropriate locations.
Good work
lbarriocanal Friendlbarriocanal
- Join date:
- November 2007
- Posts:
- 14
- Downloads:
- 78
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
December 14, 2009 at 10:19 pm #326563Alternative Read more text is not shown in this template.
Some changes are needed in all com_content blog_item.php filesI have changed this
<?php if ($this->item->readmore_register) : ?>
<span><?php echo JText::_(‘Register to read more…’); ?></span>
<?php else : ?>
<span><?php echo JText::_(‘Read more…’); ?></span>
<?php endif; ?>to this
<?php if ($this->item->readmore_register) :
echo JText::_(‘Register to read more…’);
elseif ($readmore = $this->item->params->get(‘readmore’)) :
echo $readmore ;
else :
echo JText::sprintf(‘Read more…’);
endif; ?>and it works
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
December 15, 2009 at 2:29 am #326584Guys,
This thread has gone too long to follow. It is requested to make new threads for each bug report or issues. So that they can be attended to and answered efficiently. Will close this thread in the next few days.
Regards
Arvind
December 22, 2009 at 12:51 pm #327169I have a problem with JA Purity II Template? for some reason it now gives me the following error
Notice: Undefined property: stdClass::$megaparams in C:wampwwwCows FCtemplatesja_purity_iilibsmenubase.class.php on line 149Fatal error: Call to a member function get() on a non-object in C:wampwwwCows FCtemplatesja_purity_iilibsmenubase.class.php on line 149
All I did was change from another template and back a few times.
My system details are
Windows NT CURUMBA-COMPAQ 6.0 build 6002
Database Version: 5.1.36-community-log
Database Collation: utf8_general_ci
PHP Version: 5.2.11
Web Server: Apache/2.2.11 (Win32) PHP/5.2.11
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.14 Stable [ Wojmamni Ama Naiki ] 30-July-2009 23:00 GMT
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 3.5.30729; OfficeLivePatch.0.0; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)see the attached file for list of added components.
Any help would be most appreciated as I really like this template and we use it for a NFP organisation.
Thanks
thierrym Friendthierrym
- Join date:
- November 2009
- Posts:
- 10
- Downloads:
- 4
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 2 posts
December 22, 2009 at 2:27 pm #327171Hi,
The solution is given by the member Tienhc in this thread here : http://www.joomlart.com/forums/showpost.php?p=154578&postcount=107
Regards,
Thierryviet4777 Friendviet4777
- Join date:
- August 2006
- Posts:
- 17
- Downloads:
- 4
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
January 9, 2010 at 3:03 am #328765Trước hết xin cảm ơn JA Team đã cung cấp 1 sản phẩm rất tuyệt vời: đẹp, nhiều option hữu ích và cấu hình đơn giản dễ hiểu.
Hiện nay tôi đang sử dụng com_morfeoshow để hiển thị Gallery ảnh từ Google. Trước đó tôi sử dụng JA Purity hiển thị rất tốt. Nay chuyển sang JA Purity 2 thì không xuất hiện nội dung của com_morfeoshow nữa.
http://viet4777.vatlieu.us/galleries/view/1.htmlThanks.
Đây là nội dung với JA Purity only:
denis25 Frienddenis25
- Join date:
- July 2009
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 8
- Thanked:
- 22 times in 6 posts
January 13, 2010 at 9:22 am #329186In order to translate lhe “TOP” link in layouts > blocks > footer.php I think it’s better to put JTEXT
the line 10 :
[PHP]<li class=”top”><a href=”<?php echo $this->getCurrentURL();?>#Top” title=”Back to Top”>Top</a></li>[/PHP]
becomes :
[PHP]<li class=”top”><a href=”<?php echo $this->getCurrentURL();?>#Top” title=”<?php echo JText::_(‘BACK TO TOP’)?>”><?php echo JText::_(‘TOP’)?></a></li>[/PHP]Then you have to put in your language file :
BACK TO TOP=Your language text for back to top
TOP=your language text for top1 user says Thank You to denis25 for this useful post
January 13, 2010 at 9:25 am #329187http://www.joomlart.com/forums/topic/issue-with-ajax-search/
I believe this is a bug -
AuthorPosts
This topic contains 241 replies, has 90 voices, and was last updated by Hung Dinh 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum