Warning: Parameter 2 to frontpage() expected to be a referen
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.
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.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Jan 30, 2010 3:08 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Great!
plus I've had to force through
.htaccess
php_flag magic_quotes_gpc on
bb
plus I've had to force through
.htaccess
php_flag magic_quotes_gpc on
bb
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jan 30, 2010 3:59 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Hello Kjell Hählen
Thanks for your fix fix_joomla_10x_php_530.zip.
It was just great.
Thanks for your fix fix_joomla_10x_php_530.zip.
It was just great.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Mon Jun 16, 2008 9:11 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
I just applied his fix on a site with joomfish installed (english/norwegian) with no problems.huskyal wrote: Your fix fix_joomla_10x_php_530.zip was ok, but my site is in Danish and English and after the fix, Joomfish only shows the english version.
Note that i did the patch Manually as described by kjellhalen.
We're on joomla 1.0.15, joomfish V1.8.2, php 5.3.1 (one.com)
hope this info helps you solve it
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jan 30, 2010 3:59 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Hi stianhaugli
Thanks for your answer. As you can see I have changed my reply, as I found
out that I today had set cache on. After changing this to off everything
was back to normal.
Thanks for your answer. As you can see I have changed my reply, as I found
out that I today had set cache on. After changing this to off everything
was back to normal.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Mon Jun 16, 2008 9:11 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
aha. yes - so did I, I turned caching off. forgot I did, and forgot to mention... sorry.huskyal wrote:Hi stianhaugli
Thanks for your answer. As you can see I have changed my reply, as I found
out that I today had set cache on. After changing this to off everything
was back to normal.
well - glad you got it solved (.. thanks to our beerdrinking friend )
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Feb 01, 2010 11:36 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Well, also many thanks from us.
First our host had big trouble due to the fact that the raid controller messed up all the disks on his server. So we were waiting for a week to get the site and data restored (which was not obvious at first) and than this happened.... But quickly solved, thanks!
Peter
First our host had big trouble due to the fact that the raid controller messed up all the disks on his server. So we were waiting for a week to get the site and data restored (which was not obvious at first) and than this happened.... But quickly solved, thanks!
Peter
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 03, 2010 12:57 pm
Re: Warning: Parameter 3 to frontpage() expected to be a referen
Kjell Hählen for president! you're the man! saved me a lot of trouble. Thank you for sharing!
Dutch User
Dutch User
-
- 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 referen
Graag gedaan
Kjell Hählen
KaliMera Webdesign en Solutions - http://www.kalimerawebdesign.nl
KaliMera Webdesign en Solutions - http://www.kalimerawebdesign.nl
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Mar 25, 2008 9:42 pm
- Location: The Netherlands
- Contact:
Re: Warning: Parameter 2 to frontpage() expected to be a referen
You're absolutly awesome - thanks a lot for providing this fix. My webhost changed PHP versions over night and it killed my site. Your fix solved it - Thanks!kjellhahlen wrote:I wrote a fix. My version is Joomla 1.0.13 but I suppose it will not be very different for later versions.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 10, 2010 9:44 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Kijk eens aan!! kjellhahlen, bedankt!!
Scheelt een hoop gedonder.
Al mn sites werkten ineens niet meer...
Way to go kjellhahlen!, Thank you very much!
Saves me a lot of trouble.
All my sites were down, until now.
Scheelt een hoop gedonder.
Al mn sites werkten ineens niet meer...
Way to go kjellhahlen!, Thank you very much!
Saves me a lot of trouble.
All my sites were down, until now.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Feb 15, 2010 5:21 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Heee...... heee........
Great job!!!
Thanks a lot.
Great job!!!
Thanks a lot.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Feb 13, 2010 11:02 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Like for many others, you saved me from some nights trying to update these joomla sites to the 1.5 version.
Thanks!
Thanks!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 17, 2010 1:31 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Thanks! Saved me a lot of time.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Feb 17, 2010 3:25 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
¡Gracias, kjellhahlen!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Feb 18, 2010 3:58 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
kjellhahlen You Are A Genuine Hero!!! :-)
-
- Joomla! Apprentice
- Posts: 15
- Joined: Thu Apr 26, 2007 1:57 am
- Location: Guelph ON Canada
- Contact:
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Hey thanks for this! It really got me out of a jam.
Jeremy Newton
-
- Joomla! Apprentice
- Posts: 10
- Joined: Mon Jun 16, 2008 9:11 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
I had a PM today from a user that couldnt figure this out, so
For your convenience:
I've attached patched files for joomla 1.0.15. Copy them to /includes/Cache/Lite/Function.php and /includes/vcard.class.php
The _old files are the originla 1.0.15 source files. Dont copy them....
Your thanks should go to kjellhahlen for providing this sollution earlier in this thread.
For your convenience:
I've attached patched files for joomla 1.0.15. Copy them to /includes/Cache/Lite/Function.php and /includes/vcard.class.php
The _old files are the originla 1.0.15 source files. Dont copy them....
Your thanks should go to kjellhahlen for providing this sollution earlier in this thread.
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Feb 17, 2010 3:25 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Thanks, kjellhahlen!kjellhahlen wrote: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:In Function.php I added a this line twice:Code: Select all
if(!function_exists('quoted_printable_encode'))
The new function (fixCalls) is added at the end of the file.Code: Select all
$arguments = $this->fixCalls($arguments);
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Jun 19, 2006 3:08 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
I love you and I will bathe you in öl and honey!
Tack Tjell!
Tack Tjell!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Dec 25, 2009 5:54 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Thanks works great. Thanks again.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 24, 2010 10:26 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
From Colombia, thank you kjellhahlen!!
Muchas Gracias!!
Muchas Gracias!!
- ranawd
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Dec 26, 2006 9:40 am
- Location: Bangladesh
- Contact:
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Great works! congratulation
-Rana
-Rana
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Feb 26, 2010 6:08 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Thank you very much! I'm beginner in Joomla and it helped me very!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Mar 03, 2010 8:28 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Thanks a lot man! you save my day at the office!kjellhahlen wrote: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:In Function.php I added a this line twice:Code: Select all
if(!function_exists('quoted_printable_encode'))
The new function (fixCalls) is added at the end of the file.Code: Select all
$arguments = $this->fixCalls($arguments);
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Mar 07, 2010 9:56 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
thank you kind sir. I am happy again
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Mar 10, 2010 1:36 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Great Solution.
Thank You Very Much!
Thank You Very Much!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Mar 10, 2010 7:44 pm
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Goed werk!!!
Na het frontpage item te kopieren en te publiceren is het opgelost.!!!
Geweldig!
Na het frontpage item te kopieren en te publiceren is het opgelost.!!!
Geweldig!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Mar 15, 2010 10:45 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Upgraded from PHP 4.3.9 to 5.3.2 here, in preparation to start moving to Joomla 1.5.x. Doing so broke Joomla 1.0.15, with the error mentioned here. Pretty annoying and I'd expect a lot of people prepping a migration might run into this. Anyway, your fix worked for me, thanks.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Mar 17, 2010 9:22 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Great solution kjellhahlen! Works great for me.
- jmro
- Joomla! Apprentice
- Posts: 9
- Joined: Thu Mar 29, 2007 8:39 am
Re: Warning: Parameter 2 to frontpage() expected to be a referen
Hello,
Thanks to Kjell Hählen for fix_joomla_10x_php_530.zip.
Thanks to Kjell Hählen for fix_joomla_10x_php_530.zip.