Results 1 to 3 of 3

Thread: warning error on misc.inc.php on line 124

  1. #1
    Join Date
    Sep 2008
    Posts
    4

    Red face warning error on misc.inc.php on line 124

    I have just upgraded to 2.5.7 on my localhost and get the error:

    "Warning: number_format() expects parameter 1 to be double, string given in C:\wamp\www\inmobiliaria\include\misc.inc.php on line 124"

    when show listings.......

    What is wrong?

  2. #2
    Join Date
    Jul 2003
    Location
    California
    Age
    42
    Posts
    4,229

    Default Re: warning error on misc.inc.php on line 124

    You have a listing field setup as a number but don't have a numeric value entered for the listing.

    Is this on all listings or just one listing?
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

  3. #3
    Join Date
    Sep 2008
    Posts
    4

    Smile Re: warning error on misc.inc.php on line 124

    Yes, the wrong matter is on the DB in the field "price". When a new listing is published without a price then this field become empty. The solution: make a "0" as a default field value.

Similar Threads

  1. Help: Warning: main(/include/misc.inc.php) [function.main]: failed to open stream
    By Rol in forum Installation/Configuration Help (CLOSED)
    Replies: 2
    Last Post: 10-27-2007, 05:42 PM
  2. Warning: main(/include/misc.inc.php)
    By litmus in forum Installation/Configuration Help (CLOSED)
    Replies: 7
    Last Post: 08-09-2007, 10:02 PM
  3. urgent Help! Warning: main(/include/misc.inc.php)
    By natural in forum General Help (CLOSED)
    Replies: 6
    Last Post: 11-13-2006, 01:36 PM
  4. Replies: 1
    Last Post: 06-25-2006, 10:43 AM
  5. Installation error: Fatal error: Cannot instantiate non-existent class: misc
    By specialk in forum Installation/Configuration Help (CLOSED)
    Replies: 2
    Last Post: 11-07-2005, 02:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •