a8e community forums a8e logo
May 18, 2012, 06:33:13 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration is currently closed while we perform annual site maintenance.
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Bug in 1.0.15  (Read 5002 times)
0 Members and 1 Guest are viewing this topic.
sametz
Newbie
*

Karma: +1/-0
Posts: 3


« on: March 05, 2008, 04:29:17 PM »

Hi,
I recently installed 1.0.15 and there seems to be a bug. When I set up a blog sections/category link I get the following message above each content item:

Notice: Undefined property: stdClass::$fulltext in /var/www/vhosts/sametz.com/subdomains/dev.mib/httpdocs/components/com_content/content.php on line 1720

I should point out that I am still learning PHP, but have the confidence to play around. I edited line 1720 from:

preg_match('/{mospagebreak\s*.*}/i',$row->introtext.$row->fulltext);

to:

preg_match('/{mospagebreak\s*.*}/i',$row->introtext/*.$row->fulltext*/);

Commenting this out did fix the issue, but I wonder if some other functionality was lost...  If anyone knows what is missing/needs to be changed so this works correctly, please let me know. I checked a functioning install of 1.0.14 and this line has not changed, so I imagine the fix lies elsewhere.

Thanks!

Nels
Logged
visualweb
Administrator
Newbie
*****

Karma: +21/-0
Gender: Male
Posts: 12



WWW
« Reply #1 on: March 06, 2008, 04:02:46 AM »

#1: In your administration area go to mambots->site mambots, scroll down till you see the joomla mambot mos pagination. Tick "published" *(you may want to edit options, show/hide content title.)

#2: Make sure you've got at least one published article in each visible category.

#3: Intro text (the first/top textarea pane in each content panel ) is mandatory. Sometimes, when folks "import" content from older joomla installations this can get a bit wonky. Check each content post and make sure there's actual intro content in each.
Logged
sametz
Newbie
*

Karma: +1/-0
Posts: 3


« Reply #2 on: March 06, 2008, 09:03:29 AM »

Hi,
Thanks for the quick reply, however, the problem is not with my content. I setup a completely new Joomla install with the sample Joomla content and I am still seeing the same issue. I could just turn off error reporting, but I hesitate to do that because this is a development environment. You'll notice that the issue is not just on blog style pages, but on the homepage as well. Here's the development address, with just the standard Joomla content:

http://dev.mib.sametz.com/joomla2/
Logged
vcardillo
Newbie
*

Karma: +0/-0
Posts: 1


« Reply #3 on: May 21, 2008, 02:32:49 PM »

Hello, I have the same error. Your suggestions did not work.

I found this to be the simplest solution. Put an @ symbol in front of the line:

Code:
@preg_match('/{mospagebreak\s*.*}/i',$row->introtext.$row->fulltext);

This tells PHP to suppress errors. This error only happens on my homepage, and no where else.
Logged
Pages: [1]
  Print  
 
Jump to:  

visual stuff © 2008 mojotheme  Powered by SMF 1.1.6 | SMF © 2006-2007, Simple Machines LLC   valid xhtml clean css