It is currently Wed Dec 13, 2017 3:11 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Aug 07, 2014 6:06 pm 
Offline

Joined: Thu Aug 07, 2014 5:59 pm
Posts: 2
how to solved error this script ?

Quote:
Notice: Undefined property: JObject::$text in D:\Program Files\xampp\htdocs\listrik\plugins\content\admirorgallery\admirorgallery.php on line 34


thx for help

Line 34 Script
Quote:

if (!preg_match("#{AdmirorGallery[^}]*}(.*?){/AdmirorGallery}|{AG[^}]*}(.*?){/AG}|{ag[^}]*}(.*?){/ag}#s", $row->text))



Last edited by mikuni90 on Sat Aug 09, 2014 8:56 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Undefined property: JObject::$text
PostPosted: Thu Aug 07, 2014 6:06 pm 
Top  
PostPosted: Fri Aug 08, 2014 4:18 pm 
Offline

Joined: Thu Aug 07, 2014 5:59 pm
Posts: 2
up pls help


Top
 Profile  
 
PostPosted: Sun Aug 10, 2014 10:40 pm 
Offline
Contributor
Contributor
User avatar

Joined: Thu Oct 21, 2010 12:31 am
Posts: 217
Location: Essex, UK
Not something I can help with, but the DEVs chould be able to. Might have to be patient as he's a busy man! :D


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 3:00 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Could you post a link to your site? I cannot reproduce the same in my environment.

However I notices something similar in : components/com_admirorgallery/views/layout/tmpl/default.php in this case the problem is that we try to add but we never assigned anything to $article->text
So the solution in this case is to add: $article->text = ''; as a default value in case show_page_heading is false
Code:
$article->text = '';
//Display page heading
if(JSite::getMenu()->getActive()->params->get('show_page_heading'))
{
    $article->text = '<h1>'.JSite::getMenu()->getActive()->params->get('page_title').'</h1>';
}
$article->text .= '{AG '.$ag_inlineParams.' }'.$this->galleryName.'{/AG}';
$article->id = 0;

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
PostPosted: Mon Nov 17, 2014 8:20 pm 
Offline

Joined: Mon Nov 17, 2014 7:57 pm
Posts: 4
We have the same problem. Adding $article->text = ''; in the default.php file doesn't seem to solve it.
I'm using Joomla 3.3.6. My problem shows up when I create a new article, go to Images and Links tab and click Select on the Intro Image field, the popup shows the error for every image in that location.
Should I edit the admirorgallery.php file as well and if so, what sould be entered into it? Thanks /Marcus


Top
 Profile  
 
 Post subject: Re: Undefined property: JObject::$text
PostPosted: Mon Nov 17, 2014 8:20 pm 
Top  
PostPosted: Mon Dec 08, 2014 8:51 pm 
Offline

Joined: Mon Nov 17, 2014 7:57 pm
Posts: 4
widen76 wrote:
We have the same problem. Adding $article->text = ''; in the default.php file doesn't seem to solve it.
I'm using Joomla 3.3.6. My problem shows up when I create a new article, go to Images and Links tab and click Select on the Intro Image field, the popup shows the error for every image in that location.
Should I edit the admirorgallery.php file as well and if so, what sould be entered into it? Thanks /Marcus


The problem has been solved for me: http://www.vasiljevski.com/forum/viewtopic.php?f=38&t=1387&p=4603#p4603


Top
 Profile  
 
PostPosted: Thu Jul 16, 2015 4:24 pm 
Offline

Joined: Thu Jul 16, 2015 4:19 pm
Posts: 1
Hi sir,

me too facing the same problem.

in the localhost with XXAMP I am getting error like this

Notice: Undefined property: JObject::$text in C:\xampp\htdocs\abcd\components\com_admirorgallery\views\layout\tmpl\default.php on line 46

and I am getting the albums

but when I install the same in remote server I am getting (500)internal server error
http://rotarykarwar.org/rotarykarwar/index.php/gallery
Please let me know the issue

thanking you
Santosh Sharma


Top
 Profile  
 
PostPosted: Thu Oct 01, 2015 12:39 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Sorry for very very late replay.

Anyway, I don't see a reason for 500 error. I would have to check PHP error log and see what is crashing.

Sorry to see you had to use different extension, but important thing is you found the solution ;)

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group