Warning: Parameter 2 to frontpage() expected to be a referen

Joomla version 1.0 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

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.
Locked
darinm
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jun 19, 2012 1:28 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by darinm » Tue Jun 19, 2012 1:43 pm

I also lost content on my 1.0.15 when I moved host due to the newer PHP 5.3.13.
kjellhahlen you are a legend! You saved me alot of time.
If I was closer, I'd order some beer for kjellhahlen! Thanks again!

manshoomehra
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Wed Dec 14, 2011 1:49 pm
Location: Everywhere
Contact:

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by manshoomehra » Wed Jul 11, 2012 1:03 pm

Thanks for the solution, it fixed the problem with one of my clients website.
Cheers!!

User avatar
willows
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu May 03, 2007 9:00 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by willows » Fri Aug 03, 2012 2:47 pm

As long as these pages exist there is a reason for people to put off upgrading their joomla10's because these pages are like the "get out of jail free" cards.

Still amazed at how much joomla10 there is still out in the wild.

Thanks for the files guys.
PHP web application development company Ireland http://www.willows-consulting.com

User avatar
razor7
Joomla! Explorer
Joomla! Explorer
Posts: 338
Joined: Wed Aug 24, 2005 2:06 pm
Location: Argentina
Contact:

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by razor7 » Wed Aug 22, 2012 12:27 pm

It Works! thanks a lot!
Visit http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more! http://www.mgscreativa.com/contenidos/i ... Itemid=214

frazao
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Aug 26, 2012 5:32 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by frazao » Sun Aug 26, 2012 5:42 pm

Thank you very much for this update.

kjellhahlen wrote:
fix_joomla_10x_php_530.zip
I wrote a fix. My version is Joomla 1.0.13 but I suppose it will not be very different for later versions.

You sould replace two files by the ones in the attachment:

/includes/Cache/Lite/Function.php
(this solves the "Reference instead of value"-problem)
/includes/vcard.class.php
(to make the contact form work again)

If you rather add the changes by hand:
The changes to vcard.class.php are minor, look for:

Code: Select all

if(!function_exists('quoted_printable_encode'))
In Function.php I added a this line twice:

Code: Select all

$arguments = $this->fixCalls($arguments);
The new function (fixCalls) is added at the end of the file.

kjellhahlen
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jan 07, 2010 10:43 pm
Location: Almere, The Netherlands
Contact:

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by kjellhahlen » Mon Aug 27, 2012 6:25 pm

Wow, didn't know this thread was still so alive!

Thanks for all the thanx, people!

Kjell
Kjell Hählen
KaliMera Webdesign en Solutions - http://www.kalimerawebdesign.nl

Grasslakegirl
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 30, 2012 8:40 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by Grasslakegirl » Fri Aug 31, 2012 3:52 am

Kjell,
Thank you for saving me a ton of work. I can not thank you enough. :)

agrogers
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Jul 01, 2008 11:36 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by agrogers » Wed Sep 05, 2012 10:24 am

MANY THANKS from me too! May God bless you!

User avatar
~Romil
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Sun Aug 28, 2005 7:32 pm
Location: Asia
Contact:

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by ~Romil » Fri Sep 07, 2012 10:40 am

From India, "shukriya" kjellhahlen!

Ironical, but people still run and love 1.0.15 :)

agrogers
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Jul 01, 2008 11:36 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by agrogers » Fri Sep 07, 2012 10:45 am

Wow. Is it that old??? I didnt realise. You have given me some time now to upgrade - got a nice mobile template that should do the job.

winner8
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Aug 30, 2006 11:23 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by winner8 » Sat Sep 08, 2012 10:18 am

thank you very much!!!! Very Very well..... 8)

ivanji
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sun Sep 10, 2006 11:47 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by ivanji » Tue Sep 11, 2012 10:37 am

Thank you so much mate. I owe you a beer

ambrishd
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Sep 15, 2012 5:18 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by ambrishd » Sat Sep 15, 2012 7:06 am

Hats off to kjellhahlen

Thanks a lot....it works...
kjellhahlen wrote:
fix_joomla_10x_php_530.zip
I wrote a fix. My version is Joomla 1.0.13 but I suppose it will not be very different for later versions.

You sould replace two files by the ones in the attachment:

/includes/Cache/Lite/Function.php
(this solves the "Reference instead of value"-problem)
/includes/vcard.class.php
(to make the contact form work again)

If you rather add the changes by hand:
The changes to vcard.class.php are minor, look for:

Code: Select all

if(!function_exists('quoted_printable_encode'))
In Function.php I added a this line twice:

Code: Select all

$arguments = $this->fixCalls($arguments);
The new function (fixCalls) is added at the end of the file.

rrisler
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Sep 28, 2012 12:08 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by rrisler » Fri Sep 28, 2012 12:17 am

This fix really works!

Thanks a lot!!!

vstephenmca
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Oct 05, 2012 1:08 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by vstephenmca » Fri Oct 05, 2012 1:22 pm

Thanks a lot brother.

mavroaspros
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Oct 12, 2012 7:12 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by mavroaspros » Fri Oct 12, 2012 7:24 am

kjellhahlen wrote:
fix_joomla_10x_php_530.zip
I wrote a fix. My version is Joomla 1.0.13 but I suppose it will not be very different for later versions.

You sould replace two files by the ones in the attachment:

/includes/Cache/Lite/Function.php
(this solves the "Reference instead of value"-problem)
/includes/vcard.class.php
(to make the contact form work again)

If you rather add the changes by hand:
The changes to vcard.class.php are minor, look for:

Code: Select all

if(!function_exists('quoted_printable_encode'))
In Function.php I added a this line twice:

Code: Select all

$arguments = $this->fixCalls($arguments);
The new function (fixCalls) is added at the end of the file.
IT WORKS! thnx...

sh0ne
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Apr 11, 2008 9:32 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by sh0ne » Mon Oct 29, 2012 4:58 pm

OH MAN THNAK YOU VERY MUCH!! KISS YOU ASS AND MUCH BEEERRR!

elchanchodw
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Nov 25, 2012 1:22 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by elchanchodw » Sun Nov 25, 2012 1:29 pm

thank you!!!!!

violetam
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Dec 08, 2012 5:22 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by violetam » Sat Dec 08, 2012 5:33 pm

It worked for me, as well. Thank you so much! You made my day :)

nazeeronline
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Dec 21, 2012 3:42 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by nazeeronline » Fri Dec 21, 2012 3:53 pm

Helvecio wrote:
kjellhahlen wrote:
fix_joomla_10x_php_530.zip
I wrote a fix. My version is Joomla 1.0.13 but I suppose it will not be very different for later versions.

You sould replace two files by the ones in the attachment:
IT WORKS!!!!!

Man, I can't thank you enough!!!!

ALL THE BEST!!! Kjellhahlen, YOU ROCK!!!!!

Thank you So much, It worked like a charm !!!!

scardoso
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 19, 2008 1:01 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by scardoso » Sun Dec 30, 2012 12:56 pm

Another greatfull member of this forum
many tks

lgminerva
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun Jan 06, 2013 10:45 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by lgminerva » Sun Jan 06, 2013 11:02 am

Me too. 2 seconds and everything is up & running again! Thank you so much.

jsiesquen
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 09, 2013 7:41 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by jsiesquen » Wed Jan 09, 2013 7:50 pm

Work! Great!!!!

Drignoid
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jan 12, 2013 10:01 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by Drignoid » Sat Jan 12, 2013 10:12 pm

Thanks kjellhahlen
It worked for me too, and yes More Beer!
Cheers from Australia...

ischilling
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jan 14, 2013 12:07 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by ischilling » Mon Jan 14, 2013 12:28 am

Thank you very much for your fix, worked like a charm (bow).

It gives us the time we need to move to a more recent Joomla version - or to an entire new system.

However, again: Thank you very, very much for your fix.

dent_dc
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Jan 03, 2012 3:55 am
Contact:

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by dent_dc » Tue Jan 15, 2013 9:20 pm

Thanks kjellhahlen worked fine :)

clotildison
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 16, 2013 9:47 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by clotildison » Wed Jan 16, 2013 9:53 pm

Works FINE!

Thank you very much!!

moey
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 30, 2013 2:30 am

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by moey » Wed Jan 30, 2013 2:36 am

thank you very much

User avatar
anananet
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Nov 17, 2008 4:12 pm
Location: Madeira Island - Portugal

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by anananet » Thu Feb 21, 2013 3:28 pm

This worked for me too. Just had to login to be able to download the files.
Thanks!

multiversal
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Feb 22, 2013 5:12 pm

Re: Warning: Parameter 2 to frontpage() expected to be a ref

Post by multiversal » Fri Feb 22, 2013 5:17 pm

kjellhalen thanks a lot!!!! you are still saving people a lot of headache even years after you wrote those blessed lines of code :))))


Locked

Return to “Installation - 1.0.x”