PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 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
AstroDude is offline   Reply With Quote
Old April 6th, 2009, 11:53 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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
AstroDude is offline   Reply With Quote
Old April 6th, 2009, 11:59 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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
AstroDude is offline   Reply With Quote
Old April 7th, 2009, 12:33 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 7th, 2009, 12:33 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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.
zews is offline   Reply With Quote
Old April 8th, 2009, 03:54 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Good old dyslexia LOL yes thats true
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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.
AstroDude is offline   Reply With Quote
Old April 8th, 2009, 06:59 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Actually sometimes seeing something ultra small like that is extremely difficult.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to undefined function gettemplate hi_tech_guy_18 Photopost Pro Bug Reports 2 June 15th, 2007 07:04 AM
Fatal error: Call to undefined function: imagecreatefromjpeg Get Bent Photopost Pro How Do I...? 2 June 14th, 2006 11:10 AM
Fatal error: Call to undefined function: create_full_url() datruth55 Installs and Upgrade - vBulletin 3.5.X 3 August 8th, 2005 02:39 PM
Fatal error: Call to undefined function: parse_bbcode2() C.Birch Installs and Upgrade - vBulletin 3.5.X 1 August 5th, 2005 06:43 PM
Fatal error: Call to undefined function: build_datastore() CallieJo Installs and Upgrade - vBulletin 3.0.X 10 March 29th, 2005 10:04 AM


All times are GMT -5. The time now is 06:51 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0