need help with PHP errors

Discussion in 'PHP' started by ezymoneyathome, May 11, 2008.

  1. #1
    I just put up a script has the following errors.
    On this and all pages
    imagesaver.org
    Object of class stdClass could not be converted to int in /home/image1/public_html/includes/config.inc.php on line 32

    Than on this page : http://www.imagesaver.org/images.php

    Notice: Object of class stdClass could not be converted to int in /home/image1/public_html/includes/config.inc.php on line 32

    Warning: Cannot modify header information - headers already sent by (output started at /home/image1/public_html/includes/config.inc.php:32) in /home/image1/public_html/images.php on line 25

    Warning: Cannot modify header information - headers already sent by (output started at /home/image1/public_html/includes/config.inc.php:32) in /home/image1/public_html/images.php on line 27

    Warning: Cannot modify header information - headers already sent by (output started at /home/image1/public_html/includes/config.inc.php:32) in /home/image1/public_html/images.php on line 29

    Warning: Cannot modify header information - headers already sent by (output started at /home/image1/public_html/includes/config.inc.php:32) in /home/image1/public_html/images.php on line 30

    Warning: Cannot modify header information - headers already sent by (output started at /home/image1/public_html/includes/config.inc.php:32) in /home/image1/public_html/images.php on line 32

    I contacted the owner of the script and was told to make or adjust my php.ini file to remove the errors.

    I have no idea being a nood on this how to install or fix up a php.ini file. Anyone know how i can fix this.

    Thanks
     
    ezymoneyathome, May 11, 2008 IP
  2. TeraTask

    TeraTask Peon

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    When trying to solve a problem, first read the first message and go there. In this case you'd need to go to "/home/image1/public_html/includes/config.inc.php on line 32" That's where the system is telling you you have an error, so that's the place to start. Now, the type of error is "Object of class stdClass could not be converted to int", so you'll want to check around and see if there's something trying to convert a class into an integer. If you look around and still don't see anything, then post the code here (removing personally-identifying info) for further assistance.
     
    TeraTask, May 11, 2008 IP