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
ferbacu
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Mar 25, 2010 10:10 pm

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

Post by ferbacu » Thu Mar 25, 2010 10:28 pm

necesito ayudaaaaa no puedo solucionar en mi joomla 1.0.13
Warning: Parameter 2 to frontpage() expected to be a reference, value given in C:\xampp\htdocs\joomla\includes\Cache\Lite\Function.php on line 100

 
ferbacu
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Mar 25, 2010 10:10 pm

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

Post by ferbacu » Thu Mar 25, 2010 10:32 pm

soy principiante y no entiendo que hay que hacer!! porfavor ayudaaa

antonyjames
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Mar 25, 2010 11:41 pm

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

Post by antonyjames » Thu Mar 25, 2010 11:48 pm

Another thank you for this fix! :D Excellent.

bjornhermansson
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Thu Mar 25, 2010 10:11 am

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

Post by bjornhermansson » Tue Mar 30, 2010 3:58 pm

Thanks!!! It saved my pages as well!!

miguelonix
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Mar 31, 2010 12:49 pm

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

Post by miguelonix » Wed Mar 31, 2010 12:54 pm

I only have to say

THANK YOU! YOU SAVE MY ASS.

davidsegovia
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Apr 03, 2010 3:54 pm

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

Post by davidsegovia » Sat Apr 03, 2010 4:05 pm

Thanks to you ! really great! awesome!

vobi01
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Apr 07, 2010 12:21 am

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

Post by vobi01 » Wed Apr 07, 2010 12:36 am

thank you so much for this patch !!!!

pernekef
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jan 12, 2010 2:34 pm

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

Post by pernekef » Fri Apr 09, 2010 7:06 pm

Excelente trabajo kjellhalen, muchas gracias!!!

Danaja4567
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Apr 13, 2010 5:01 pm

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

Post by Danaja4567 » Tue Apr 13, 2010 6:09 pm

Thank u so much. My host to updated the server and my page was down!

Everythink is like it was, except the contact form doesn't work. It look OK, but when I fill in information and click on send, a pop up windows says, that I should check, if I filled the cells correctly - and yes I did! But it just does not send the message!

Is there any way to fix this?

Tnx again,

Danaja

kefka
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Apr 14, 2010 6:10 pm

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

Post by kefka » Wed Apr 14, 2010 6:17 pm

Nice work kjellhahlen!

Sunday_Red
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Apr 16, 2010 9:56 am

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

Post by Sunday_Red » Fri Apr 16, 2010 10:07 am

Thanks! You saved me lot of time!

HenrikE2
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat May 08, 2010 9:29 pm

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

Post by HenrikE2 » Mon May 10, 2010 6:14 pm

Had an old site with J!1.0.12, replaced the two files with those in the fix, worked like a charm. I was looking at a tricky and risky upgrade to 1.5.x, and you saved me an aggravating evening. Thank you very much!

SAMFOULON
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Oct 10, 2007 9:10 pm

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

Post by SAMFOULON » Fri May 14, 2010 9:45 pm

Thanks,
one.com updated the php. So I had the same problem on my site.
Thanks a lot, kjellhahlen. You saved me a lot of time.

balas1
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri May 21, 2010 9:03 am

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

Post by balas1 » Fri May 21, 2010 9:41 am

Very big thanks,
I saved. Cheers!

leonnl1987
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon May 24, 2010 6:42 pm

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

Post by leonnl1987 » Mon May 24, 2010 6:53 pm

Thanks mate, this fix saved me a lot of time

viena2
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue May 25, 2010 12:40 pm

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

Post by viena2 » Tue May 25, 2010 12:54 pm

for me as well the solution. thanks very much.
now the find a solution to the zoom media gallery

shichi
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat May 29, 2010 5:00 am

thank you

Post by shichi » Sat May 29, 2010 5:13 am

kjellhahlen you are my savior, your attachment is working. It's great, thank you very much :))

rofar
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jun 30, 2008 2:43 pm

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

Post by rofar » Fri Jun 04, 2010 9:10 pm

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.
Thank you SO much! You're help was AMAZING and VERY NEEDED!

Makis77
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 117
Joined: Wed Feb 01, 2006 10:52 pm
Location: Athens, Greece
Contact:

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

Post by Makis77 » Sat Jun 05, 2010 5:16 pm

This helped me as well for a Joomla 1.0.15 website that didnt show articles in frontpage because server was runng php 5.3.2

thank you.

noriega
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jun 15, 2010 10:35 am

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

Post by noriega » Tue Jun 15, 2010 10:43 am

Thank you, much appreciated!

Toto16
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 29, 2006 3:17 am

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

Post by Toto16 » Fri Jun 18, 2010 7:17 pm

I just came across this because of an old site I once did that needed maintenance. As I was updating, one minute everything was fine, the other everything stopped working. It turned out the hosting service had just updated the PHP version.

You saved me a lot of work and preocupation!! THANK YOU A LOT!!! Just signed in to share my appreciation!!

Cheers!

faberga
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Jan 08, 2007 10:42 pm

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

Post by faberga » Tue Jul 06, 2010 2:24 pm

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.
Many Thanks!!!!!
It works

iflash
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri May 04, 2007 1:01 am

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

Post by iflash » Sat Jul 17, 2010 12:08 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.

Thanks a lot my joomla version was 1.0.15 Stable and work, you are soo 8)

jakobMTJ
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jul 18, 2010 8:10 pm

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

Post by jakobMTJ » Sun Jul 18, 2010 8:23 pm

Thank you very much..!

imgod
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Aug 01, 2010 4:18 am

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

Post by imgod » Sun Aug 01, 2010 5:48 am

Thanks!!!

You save my day!!!

shopho
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Aug 07, 2010 1:14 pm

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

Post by shopho » Sat Aug 07, 2010 1:18 pm

Thank you very much kjellhahlen!

User avatar
agente_mote
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 10, 2010 6:29 pm

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

Post by agente_mote » Tue Aug 10, 2010 6:49 pm

thank you kjellhahlen...
your fix worked fine!

gt_67
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Aug 23, 2010 7:11 am

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

Post by gt_67 » Mon Aug 23, 2010 7:51 am

Thanks mate !

pbengani
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Wed Aug 09, 2006 5:26 am

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

Post by pbengani » Wed Aug 25, 2010 2:22 am

kjellhahlen,

thank you so very much.

yitwail
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Jan 10, 2009 8:27 pm

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

Post by yitwail » Sat Sep 11, 2010 5:24 am

Worked great! Much thanks.

 

Locked

Return to “Installation - 1.0.x”