Welcome, Guest
  • Author Topic: PHP PROBLEM !! !! !! !! !  (Read 2087 times)

    thanos

    • Server what's that
    • *
    • Posts: 11
      • View Profile
      • Email
    PHP PROBLEM !! !! !! !! !
    « on: 08/26/03, 07:27 »
    Hi i a have a problem with php files and aspecially with sendEcard.php
    When i opened the file these errors have been occured:

    Warning: fopen(./dBText/1061904169.txt): failed to open stream: Permission denied in /disk1/hosting/docs/kollaps/thanos/Ecards/SendEcard.php on line 22

    Warning: fwrite(): supplied argument is not a valid stream resource in /disk1/hosting/docs/kollaps/thanos/Ecards/SendEcard.php on line 23

    Warning: fclose(): supplied argument is not a valid stream resource in /disk1/hosting/docs/kollaps/thanos/Ecards/SendEcard.php on line 24
    _root.Status=Success your Card Has Been Sent!

    What i have to do exactly i order to recieve ecards because i tried to  do some things that i read in the message board with ni result.
    Thank you:
    I have php4.3.2

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re:PHP PROBLEM !! !! !! !! !
    « Reply #1 on: 08/26/03, 12:21 »
    You need to disable warnings. Go to your php.ini and change this line:

    error_reporting = E_ALL

    with this

    error_reporting = E_ALL & ~E_NOTICE

    Jorge

    thanos

    • Server what's that
    • *
    • Posts: 11
      • View Profile
      • Email
    Re:PHP PROBLEM !! !! !! !! !
    « Reply #2 on: 08/26/03, 12:56 »
    what is the php.ini file????

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re:PHP PROBLEM !! !! !! !! !
    « Reply #3 on: 08/26/03, 13:25 »
    The php.ini file controls PHP features and way of working. In this case, you're changing the level error. php.ini is a textfile located on different places based on operating systems. In Windows systems is usually under Windows folder.

    Jorge

    thanos

    • Server what's that
    • *
    • Posts: 11
      • View Profile
      • Email
    Re:PHP PROBLEM !! !! !! !! !
    « Reply #4 on: 08/26/03, 16:10 »
    I searched  all my hard disk and php.ini does not exist!!!
    What i have to do now?

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re:PHP PROBLEM !! !! !! !! !
    « Reply #5 on: 08/26/03, 16:26 »
    If you're running the server locally, your php.ini exists, just try again. If you're uploading files to a server, then the php.ini is in the server, so talk to your provider.

    Jorge