-
AuthorPosts
-
microvation Friend
microvation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
May 29, 2011 at 6:03 am #164574This is Joomla 1.6.3. (same problem with 1.6.0 and 1.6.1)
Warning: Missing argument 4 for plgContentPlg_JAThumbnail::onContentBeforeDisplay( ) in /home/content/29/6268229/html/live/plugins/content/plg_jathumbnail/plg_jathumbnail.php on line 35
This is the error or warning that i get when accessing the media manager on the backend and it makes my pictures look disorganized since that error repeats itself inside the folders inside the media manager. This happens only when the ja thumbnail plugin is enabled
I read this thread http://www.joomlart.com/forums/topic/ja-thumbnail-media-manager-warning-error/)
It suggested editing plg_jathumbnail.php and replacing
function onContentBeforeDisplay( $context, &$article, &$params, $limitstart ){
with
function onContentBeforeDisplay( $context, &$article, &$params, $limitstart=0 ){That doesn’t work, I get:
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/microva1/public_html/plugins/content/plg_jathumbnail/plg_jathumbnail.php on line 39I’ve tried it all ways ($limitstart=1, $limitstart = 1, $limitstart = 0, $limitstart=0) and I get teh same parse error no matter what.
Any help appreciated!
-billbthangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 30, 2011 at 4:08 am #393494Please send us the login information FTP/Admin account to your support ticket SCP-472-83644 http://support.joomlart.com. I’ll check for you.
microvation Friendmicrovation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
May 30, 2011 at 8:03 pm #393692Thanks i have updated the ticket with account information. i have attached a screenshot also so can you see what this looks like when I click the image button. -billb
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 31, 2011 at 2:36 am #393736Hi Microvation!
I have fixed it for you by changing this code:
function onContentBeforeDisplay( $context, &$article, &$params, $limitstart ){
to
function onContentBeforeDisplay( $context, &$article, &$params, $limitstart=0 ){
in /plugins/content/plg_jathumbnail/plg_jathumbnail.php. Now the site works without bug.
2 users say Thank You to thangnn1510 for this useful post
microvation Friendmicrovation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
June 1, 2011 at 4:37 pm #394167Wonderful, thanks so much!!! -billb
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by microvation 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Error when using Media Manager with JA Thumbnail Enabled
Viewing 5 posts - 1 through 5 (of 5 total)