 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
April 6th, 2009, 09:32 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2005 Location: Canada
Posts: 57
| Fatal error: Call to undefined function n2lbr()
Hello,
Fatal error: Call to undefined function n2lbr() in /home/xxxxxxx/public_html/classifieds/pp-inc.php on line 3323
I received that after uploading the first ad.
I have no idea what the problem is. I thought it may be ImageMagick or something but I am using the exact same path as Photopost.
Thanks
|
| |
April 6th, 2009, 11:53 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
| PHP: nl2br - Manual
This is a normal PHP function in php4 or php5
You could edit the line in pp-inc.php but I would wonder why you get this error in the first place.
|
| |
April 6th, 2009, 11:56 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2005 Location: Canada
Posts: 57
| Quote:
Originally Posted by Chuck S PHP: nl2br - Manual
This is a normal PHP function in php4 or php5
You could edit the line in pp-inc.php but I would wonder why you get this error in the first place. | Does Photopost make use of this function? If so, maybe someone needs to look at the code.
Thanks
|
| |
April 6th, 2009, 11:59 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
The code is fine. Code: Content visible to verified customers only.
Like I said I would wonder why your PHP does not have that function available? Sounds highly strange here. what version of PHP do you run? do you have a link to phpinfo?
Your free to alter that line to say read this Code: Content visible to verified customers only.
|
| |
April 7th, 2009, 12:21 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2005 Location: Canada
Posts: 57
| Quote:
Originally Posted by Chuck S The code is fine. Code: Content visible to verified customers only.
Like I said I would wonder why your PHP does not have that function available? Sounds highly strange here. what version of PHP do you run? do you have a link to phpinfo?
Your free to alter that line to say read this Code: Content visible to verified customers only.
| I am using 5.29. I wonder if I should try going back to 5.28? What is the result of making your intended changes?
Thanks
|
| |
April 7th, 2009, 12:33 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
| PHP: nl2br - Manual
that explains the function and what it does. in that code we put the line break into emails.
|
| |
April 7th, 2009, 12:33 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
| PHP: nl2br - Manual
that explains the function and what it does. in that code we put the line break into emails.
|
| |
April 8th, 2009, 10:38 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
I got the same error - and it is wrong isn't it - it should be: Code: Content visible to verified customers only.
l and 2 changing place. Quote:
Originally Posted by Chuck S The code is fine. Code: Content visible to verified customers only.
Like I said I would wonder why your PHP does not have that function available? Sounds highly strange here. what version of PHP do you run? do you have a link to phpinfo?
Your free to alter that line to say read this Code: Content visible to verified customers only.
| |
| |
April 8th, 2009, 03:54 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Good old dyslexia LOL yes thats true
|
| |
April 8th, 2009, 05:03 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2005 Location: Canada
Posts: 57
| Quote:
Originally Posted by Chuck S Good old dyslexia LOL yes thats true | So it was bad code. Great. You should hire this guy. I should also get paid for the time I spent looking elsewhere for a solution. It felt great that it was all left up to me to deal with thinking there was something wrong with my server install.
|
| |
April 8th, 2009, 06:59 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Actually sometimes seeing something ultra small like that is extremely difficult.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:51 AM. | |