Page 6 of 7

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

Posted: Tue Jun 19, 2012 1:43 pm
by darinm
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!

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

Posted: Wed Jul 11, 2012 1:03 pm
by manshoomehra
Thanks for the solution, it fixed the problem with one of my clients website.
Cheers!!

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

Posted: Fri Aug 03, 2012 2:47 pm
by willows
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.

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

Posted: Wed Aug 22, 2012 12:27 pm
by razor7
It Works! thanks a lot!

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

Posted: Sun Aug 26, 2012 5:42 pm
by frazao
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.

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

Posted: Mon Aug 27, 2012 6:25 pm
by kjellhahlen
Wow, didn't know this thread was still so alive!

Thanks for all the thanx, people!

Kjell

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

Posted: Fri Aug 31, 2012 3:52 am
by Grasslakegirl
Kjell,
Thank you for saving me a ton of work. I can not thank you enough. :)

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

Posted: Wed Sep 05, 2012 10:24 am
by agrogers
MANY THANKS from me too! May God bless you!

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

Posted: Fri Sep 07, 2012 10:40 am
by ~Romil
From India, "shukriya" kjellhahlen!

Ironical, but people still run and love 1.0.15 :)

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

Posted: Fri Sep 07, 2012 10:45 am
by agrogers
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.

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

Posted: Sat Sep 08, 2012 10:18 am
by winner8
thank you very much!!!! Very Very well..... 8)

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

Posted: Tue Sep 11, 2012 10:37 am
by ivanji
Thank you so much mate. I owe you a beer

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

Posted: Sat Sep 15, 2012 7:06 am
by ambrishd
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.

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

Posted: Fri Sep 28, 2012 12:17 am
by rrisler
This fix really works!

Thanks a lot!!!

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

Posted: Fri Oct 05, 2012 1:22 pm
by vstephenmca
Thanks a lot brother.

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

Posted: Fri Oct 12, 2012 7:24 am
by mavroaspros
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...

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

Posted: Mon Oct 29, 2012 4:58 pm
by sh0ne
OH MAN THNAK YOU VERY MUCH!! KISS YOU ASS AND MUCH BEEERRR!

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

Posted: Sun Nov 25, 2012 1:29 pm
by elchanchodw
thank you!!!!!

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

Posted: Sat Dec 08, 2012 5:33 pm
by violetam
It worked for me, as well. Thank you so much! You made my day :)

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

Posted: Fri Dec 21, 2012 3:53 pm
by nazeeronline
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 !!!!

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

Posted: Sun Dec 30, 2012 12:56 pm
by scardoso
Another greatfull member of this forum
many tks

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

Posted: Sun Jan 06, 2013 11:02 am
by lgminerva
Me too. 2 seconds and everything is up & running again! Thank you so much.

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

Posted: Wed Jan 09, 2013 7:50 pm
by jsiesquen
Work! Great!!!!

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

Posted: Sat Jan 12, 2013 10:12 pm
by Drignoid
Thanks kjellhahlen
It worked for me too, and yes More Beer!
Cheers from Australia...

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

Posted: Mon Jan 14, 2013 12:28 am
by ischilling
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.

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

Posted: Tue Jan 15, 2013 9:20 pm
by dent_dc
Thanks kjellhahlen worked fine :)

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

Posted: Wed Jan 16, 2013 9:53 pm
by clotildison
Works FINE!

Thank you very much!!

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

Posted: Wed Jan 30, 2013 2:36 am
by moey
thank you very much

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

Posted: Thu Feb 21, 2013 3:28 pm
by anananet
This worked for me too. Just had to login to be able to download the files.
Thanks!

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

Posted: Fri Feb 22, 2013 5:17 pm
by multiversal
kjellhalen thanks a lot!!!! you are still saving people a lot of headache even years after you wrote those blessed lines of code :))))