The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 26 posts ] 
Author Message
PostPosted: Mon Feb 21, 2011 6:23 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 12, 2009 7:07 pm
Posts: 14
I get the following error message when appending ?tp=1 to my site's url.

<br />
<b>Fatal error</b>: Cannot use assign-op operators with overloaded objects nor string offsets in <b>/home/paramipr/public_html/j16/libraries/joomla/application/module/helper.php</b> on line <b>190</b><br />

http://paramipress.com/j16/?tp=1

I did nothing to the helper.php file.

Thanks for your suggestions.

PaulG


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 1:40 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Nov 13, 2009 1:33 pm
Posts: 500
What are the settings in your Template parameters regarding the showing of module positions? What happens when you append any other parameter than ?tp= to your URL?

_________________
http://www.themepartner.com/ - Easy to Use Professional Joomla Templates
http://www.themepartner.com/download-free-ebook/ - Download FREE Joomla! 3 SEO ebook


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 3:25 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 12, 2009 7:07 pm
Posts: 14
Show module positions is set to Enabled.

What else can I append to my url? ?tp=1 is the only string I know about.


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 3:49 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Nov 13, 2009 1:33 pm
Posts: 500
?foo=bar , just anything will do to check if you url doesn't accept any parameter or it doesn't accept ?tp=1

_________________
http://www.themepartner.com/ - Easy to Use Professional Joomla Templates
http://www.themepartner.com/download-free-ebook/ - Download FREE Joomla! 3 SEO ebook


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 3:52 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Sep 07, 2009 3:18 am
Posts: 1869
Can we know what the reason you do ?tp=1 at your URL ?
May be SEO settings, set to ? YES/NO :
http://docs.joomla.org/Help16:Site_Glob ... O_Settings

_________________
coffee & smoke just fine

OOm Nezar


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 3:56 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Nov 13, 2009 1:33 pm
Posts: 500
?tp=1 is appended to show the module positions of the template

_________________
http://www.themepartner.com/ - Easy to Use Professional Joomla Templates
http://www.themepartner.com/download-free-ebook/ - Download FREE Joomla! 3 SEO ebook


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 4:00 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 12, 2009 7:07 pm
Posts: 14
?foo=bar works (that is, my site still loads). ?tp= doesn't cause trouble, either. But ?tp=1 brings the error.

Try it and see: http://paramipress.com/j16/?tp=1

When I began experimenting with converting my j15 site to j16, I used ?tp=1 often to check module positions. It worked as expected. I can't figure out what I did to cause the error.


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 4:12 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Nov 13, 2009 1:33 pm
Posts: 500
What that line does is adding a class to your current class value, see below:

//dynamically add outline style
if (JRequest::getBool('tp') && JComponentHelper::getParams('com_templates')->get('template_positions_display')) {
$attribs['style'] .= ' outline'; // this is line 190
}

Are you sure your server has an up to date PHP version? I can't find any items related to this in the bug tracker, so either you're the first to discover it, or something is wrong with your setup..

_________________
http://www.themepartner.com/ - Easy to Use Professional Joomla Templates
http://www.themepartner.com/download-free-ebook/ - Download FREE Joomla! 3 SEO ebook


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 4:36 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 12, 2009 7:07 pm
Posts: 14
Yes, I'm sure my server has correct PHP.

This is the same site but in J1.5 http://paramipress.com/?tp=1

The J1.6 installation is in a subfolder at http://paramipress.com/j16/

I have another site on the same server with the same setups and it works as expected.

Here is the code from my ../module/helper.php. It looks just like yours.

if (JRequest::getBool('tp') && JComponentHelper::getParams('com_templates')->get('template_positions_display')) {
$attribs['style'] .= ' outline';
}


Top
 Profile  
 
PostPosted: Fri Feb 25, 2011 11:58 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Feb 22, 2009 4:13 pm
Posts: 1
I have the very similar error, clean 1.6 install
/index.php?tp=1 returns;

Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home2/dollhou1/public_html/greenearth/libraries/joomla/application/module/helper.php on line 190

I had disabled a couple modules so I thought that was the problem. I enabled them again and no luck. I have not even started playin with extensions for 1.6.

_________________
Vintage Sign Shack


Top
 Profile  
 
PostPosted: Wed Mar 02, 2011 6:20 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 25, 2011 11:17 pm
Posts: 3
I just discovered that I have the same problem, starting yesterday. Has anyone found a solution?


Top
 Profile  
 
PostPosted: Wed Mar 02, 2011 6:35 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 12, 2009 7:07 pm
Posts: 14
I have not found a solution. I don't know how to make this known to the developers, but hope they have become aware of the problem and are able to address it.


Top
 Profile  
 
PostPosted: Wed Mar 02, 2011 8:02 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Nov 13, 2009 1:33 pm
Posts: 500
I'm unable to find any items relating to this one in the Joomla 1.6 bug tracker (http://joomlacode.org/gf/project/joomla ... er_id=8103). Feel free to submit your bug so the developers can try to find a solution.

_________________
http://www.themepartner.com/ - Easy to Use Professional Joomla Templates
http://www.themepartner.com/download-free-ebook/ - Download FREE Joomla! 3 SEO ebook


Top
 Profile  
 
PostPosted: Mon Mar 21, 2011 6:46 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Mar 21, 2011 6:36 pm
Posts: 2
I had the same error. When I set my links to open in new window with navigation then things work again. Don't ask me why but I can reproduce it without fail by changing the links back to new window without navigation.


Top
 Profile  
 
PostPosted: Tue Mar 29, 2011 8:39 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 29, 2011 8:37 pm
Posts: 1
I also had an external link that was new window with no navigation that stopped module preview. Once I changed the URL to be parent, the preview worked fine.


Top
 Profile  
 
PostPosted: Mon Jul 11, 2011 12:29 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 08, 2011 5:10 pm
Posts: 16
I get the exact same error message (referencing line 190) for my site when I set one of the main menu items to an external link and "new window without navigation". I can duplicate the error message reliably with this setting. The template will preview fine every time I change to "parent" or "new window WITH navigation". Subject link is "Purpose" on the main menu of sunset623.org.


Top
 Profile  
 
PostPosted: Wed Aug 17, 2011 6:01 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Mar 01, 2007 1:41 pm
Posts: 653
Location: south africa
I'm having the same problem with the tp=1 - same error message too.
Anyone figured this out yet?

_________________
Samantha Prinsloo
Creative Designs
Website Designer, Graphic Designer
http://www.creative-designs.co.za


Top
 Profile  
 
PostPosted: Fri Sep 09, 2011 8:32 pm 
Joomla! Intern
Joomla! Intern

Joined: Tue Nov 27, 2012 2:47 am
Posts: 93
Did anyone ever find a solution to this?

I am discovering this issue where ?tp=1 isn't letting me view module positions.

It works on all my other templates, but not on the specific one I want used.

Thanks in advance.


Top
 Profile  
 
PostPosted: Tue Sep 27, 2011 11:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 16, 2011 1:18 pm
Posts: 5
I've also experienced this problem. I had two external links on my main menu where I had set them to 'open in new windows with no navigation' and got the error message when I tried to view template positions. When I changed the 2 menu links to 'new window with navigation' I was able to see my template positions again.


Top
 Profile  
 
PostPosted: Wed Sep 28, 2011 6:09 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Mar 01, 2007 1:41 pm
Posts: 653
Location: south africa
i'm interested to know how no one can have a fix for this yet? Not even Joomla themselves??

_________________
Samantha Prinsloo
Creative Designs
Website Designer, Graphic Designer
http://www.creative-designs.co.za


Top
 Profile  
 
PostPosted: Thu Dec 08, 2011 12:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jun 06, 2006 6:15 pm
Posts: 18
I'm getting this error on a TemplateMonster template (beautiful templates to look at, but at the heart of it, they're god-awful templates that are BUGGY!!!).

Gives me the error:


Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home/pocketca/public_html/libraries/joomla/application/module/helper.php on line 190

Whenever I try to add ?tp=1 to view module positions.

I have disabled SEO friendly URL's and the error persists. Any help?

_________________
Ads4Trees.com - The carbon-free search engine that plants trees the more you search - http://www.ads4trees.com
MobiPreneurz.com - Make money from your mobile (coming soon!!) - http://www.mobipreneurz.com


Top
 Profile  
 
PostPosted: Wed Dec 28, 2011 12:56 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 28, 2011 12:50 am
Posts: 1
change the code in the file named helper.php
if you use t3framework maybe in modulehelper.php

fined it
Code:
         $attribs['style']. = ' outline';


and delete the .
it will be ok.

Code:
         $attribs['style'] = ' outline';


Top
 Profile  
 
PostPosted: Wed Jan 04, 2012 7:11 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jan 04, 2012 7:04 pm
Posts: 1
Hi nedulee, this is the help I was looking for..

I'm very new to Joomla and have had some problems (of my own making for sure) and finding help such as this is invaluable.

I'm afraid I'm never likely to be a supplier of solutions, but than heavens you and your fellow experts are! Thanks a heap, you are pure lifesavers, keep up the good work

Jim


Top
 Profile  
 
PostPosted: Sun May 06, 2012 6:27 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Sep 27, 2005 4:09 pm
Posts: 82
Location: Golden, CO
nedulee wrote:
change the code in the file named helper.php
if you use t3framework maybe in modulehelper.php

fined it
Code:
         $attribs['style']. = ' outline';


and delete the .
it will be ok.

Code:
         $attribs['style'] = ' outline';




nice!

ran into the grid preview not working on a yougrid template -

Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in libraries/joomla/application/module/helper.php on line 208

removing the . from did the trick!

I would assume this is error is more template related than joomla core related because I have never seen this before though ymmv

_________________
http://www.spintheweb.com


Top
 Profile  
 
PostPosted: Fri Jun 22, 2012 9:59 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jun 22, 2012 9:57 am
Posts: 1
nedulee wrote:
change the code in the file named helper.php
if you use t3framework maybe in modulehelper.php

fined it
Code:
         $attribs['style']. = ' outline';


and delete the .
it will be ok.

Code:
         $attribs['style'] = ' outline';


very thank you sir


Top
 Profile  
 
PostPosted: Fri Feb 15, 2013 9:41 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 15, 2013 9:36 pm
Posts: 1
grt! hadthe same problem and that did the trick.


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



Who is online

Users browsing this forum: innetk and 12 guests


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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group