Fatal error: Call to a member function authorize() on a non-

Discussion regarding Joomla! 1.5 security issues.
Joomla! Vulnerable Extensions: http://feeds.joomla.org/JoomlaSecurityV ... Extensions

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
lhevangelista
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jul 24, 2009 7:10 pm

Fatal error: Call to a member function authorize() on a non-

Post by lhevangelista » Fri Jul 24, 2009 7:17 pm

Hi all.
after upgrade to 1.5.13 it occurred.
---
Fatal error: Call to a member function authorize() on a non-object in /home/fergs/public_html/administrator/components/com_media/views/media/tmpl/default.php on line 64
---

One way for solve.

Thank´s ;)

doubler
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Sun Sep 23, 2007 8:13 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by doubler » Sat Jul 25, 2009 11:43 am

Same problem for me when Im trying to access Media Manager.
I got this problem with all my joomla sites.

A screenshot:
Image

Any ideas anyone?

113Bom
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jul 25, 2009 2:21 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by 113Bom » Sat Jul 25, 2009 2:33 pm

Yepp, me 2.

Same problem, and yes this file was uppdated with 1.5.12 -> 1.5.13.
After reading the bug-report, going back to the 1.5.12 version doesn't, seem to
be that smart? Suggestions?

User avatar
JoomArt
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Thu Jul 02, 2009 7:18 am
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by JoomArt » Sat Jul 25, 2009 4:32 pm

Hi

Replace attached file in the following directory:

administrator/components/com_media/views/media/view.html.php


Regards
You do not have the required permissions to view the files attached to this post.
http://www.JoomlArt.ir - RTL Joomla Templates

beage
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jul 26, 2009 10:35 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by beage » Sun Jul 26, 2009 10:52 am

JoomArt wrote:Hi

Replace attached file in the following directory:

administrator/components/com_media/views/media/view.html.php


Regards
Thanks for this! Works fine! :D

amelie7
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jul 26, 2009 12:15 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by amelie7 » Sun Jul 26, 2009 12:22 pm

thank you very much!

marcinszczyg
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Mon Jun 22, 2009 11:38 am
Location: Worcester
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by marcinszczyg » Sun Jul 26, 2009 12:30 pm

It works for me.
Joomla 1.5.13 and VM 1.1.3
Also i had problem with my CCnewsletter after migrating to Joomla 1.5.13 from 1.5.12
But it's ok now with new version of CCNewsletter = i think it's 1.0.4 now.
Thank you.

jonathaneyoung
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 26, 2009 11:54 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by jonathaneyoung » Mon Jul 27, 2009 12:02 am

After downloading and uploading the attached file, I'm still getting the ".../administrator/components/com_media/views/media/tmpl/default.php on line 64" message when going to Media Manager. Any other ideas???

dalkin
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Sun Aug 06, 2006 5:04 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by dalkin » Mon Jul 27, 2009 12:16 am

Try refreshing the page or opening it in another browser.

jonathaneyoung
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 26, 2009 11:54 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by jonathaneyoung » Mon Jul 27, 2009 12:29 am

My bad... I didn't realize it was zipped. Brain Fart! =)

User avatar
JoomArt
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Thu Jul 02, 2009 7:18 am
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by JoomArt » Mon Jul 27, 2009 3:00 am

Hi

I made it zip because the forum doesn't allow to attach .php files (security reasons)

I'm so glad it has helped you my friends :)


Regards
http://www.JoomlArt.ir - RTL Joomla Templates

koromantyn
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 27, 2009 3:36 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by koromantyn » Mon Jul 27, 2009 4:16 am

I can't believe I spent all day trying to figure this out. I thought it was my fault, you wouldn't believe what I went through. Thank god for this forum you guys are the best. Long live Joomla!

gobomag
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 27, 2009 1:41 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by gobomag » Mon Jul 27, 2009 1:46 pm

THANKS FOR THIS!!!!!

GenoPeppino
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Mon Jul 27, 2009 1:35 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by GenoPeppino » Mon Jul 27, 2009 1:50 pm

@JoomArt:

You're the best, thanks.

Heros93
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 27, 2009 7:34 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by Heros93 » Mon Jul 27, 2009 7:41 pm

My site is rescued! Thanks a lot! :)

sliderkatana21
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jul 28, 2009 1:47 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by sliderkatana21 » Tue Jul 28, 2009 1:52 am

Gracias ;D

loophole
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Tue Nov 14, 2006 1:32 am
Location: USA
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by loophole » Tue Jul 28, 2009 3:12 am

Cool - fixed my sites, thank you!

What is the actual change made in the file?

dongtien
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jul 28, 2009 4:21 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by dongtien » Tue Jul 28, 2009 4:35 pm

Thank you very much.

tr1
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 239
Joined: Sun Apr 30, 2006 11:35 am
Location: UK

Re: Fatal error: Call to a member function authorize() on a non-

Post by tr1 » Tue Jul 28, 2009 4:40 pm

loophole wrote:What is the actual change made in the file?
from what I can see, it's around 90

Code: Select all

$user =& JFactory::getUser();
		$this->assignRef('user', $user);
this has been added in the modified version available to download in this thread.

Thanks for the fix btw ;)

User avatar
CDTOAadmin41
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Sep 10, 2008 8:54 pm
Location: Upland, CA
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by CDTOAadmin41 » Tue Jul 28, 2009 4:46 pm

JoomArt wrote:Hi

Replace attached file in the following directory:

administrator/components/com_media/views/media/view.html.php


Regards
OMG, THANKS MITTY JOOMLAART Person. this help me out
He who post the most, know the most answer's

ken007
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jul 28, 2009 8:25 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by ken007 » Tue Jul 28, 2009 9:42 pm

Thanks to JoomlaArt.ir for the fix. Khayli Motehshakeram!

OriginalMMD
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jul 29, 2009 9:25 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by OriginalMMD » Wed Jul 29, 2009 9:51 am

Great fix thanks.

Just a note for noobs like myself.Like tr1 said, if you want to do this manually by editing the file:
#Open#
administrator/components/com_media/views/media/view.html.php
#Find#
$this->assign('folders', $this->get('folderTree'));
#After Add#
$user =& JFactory::getUser();
$this->assignRef('user', $user);

aaron harding
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 226
Joined: Tue Jul 21, 2009 3:30 pm
Location: United Kingdom
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by aaron harding » Wed Jul 29, 2009 11:51 am

Thank You so much for the PHP file, fixed my problem
-- Aaron Harding - Qlue --
-- http://www.qlue.co.uk --

calebt
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed May 21, 2008 9:44 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by calebt » Wed Jul 29, 2009 4:23 pm

THANKS WORKED GREAT

User avatar
Gregsvo
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri May 22, 2009 5:48 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by Gregsvo » Wed Jul 29, 2009 4:43 pm

JoomArt wrote:Hi

Replace attached file in the following directory:

administrator/components/com_media/views/media/view.html.php


Regards
This WORKS! Thank you very much :)

Benof7
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Jan 30, 2009 11:30 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by Benof7 » Wed Jul 29, 2009 5:48 pm

Fixed for me too. How fast does this fix get added to the upgrade download?

Thanks for the fix.

teh_catt
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jul 27, 2009 4:06 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by teh_catt » Wed Jul 29, 2009 7:47 pm

ace thx for the fix - first problem i have had with Joomla relieved it was resolved so easily!

uranusstars
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Jul 30, 2009 7:44 am

Re: Fatal error: Call to a member function authorize() on a non-

Post by uranusstars » Thu Jul 30, 2009 8:11 am

they are always ready to solve our easily. thank you
<a href="http://www.emo-bands.com">emo</a>
<a href="http://www.indie-musicbands.com">indie</a>

rummers
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Fri Apr 25, 2008 9:02 am
Location: Sydney, Australia
Contact:

Re: Fatal error: Call to a member function authorize() on a non-

Post by rummers » Thu Jul 30, 2009 10:20 am

JoomArt - you're a legend!! Thanks so much - long live Joomla!!!

digidesigner
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Jul 30, 2009 4:33 pm

Re: Fatal error: Call to a member function authorize() on a non-

Post by digidesigner » Thu Jul 30, 2009 4:52 pm

Thanks JoomArt - great fix.


Locked

Return to “Security in Joomla! 1.5”