+ Reply to Thread
Results 1 to 6 of 6

Thread: Help needed!!! any PHP coders out there?

  1. #1
    Wicked_one is offline x10Hosting Member Wicked_one is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    16

    Help needed!!! any PHP coders out there?

    I have installed a Private image hosting script but I get a error message when I try to view the image.
    Code:
    Warning:  filesize() [function.filesize]: stat failed for home/*****/wickedweb.elementfx.com/img/9667c324 in /home/*****/public_html/imagespace/view.php on line 88


    heres the url so you can see for yourself
    http://wickedweb.elementfx.com/imagespace/




    Note to X10 staff
    My hosting script will only be accessed by me, when I have all the bugs fixed
    If this is against the TOS please let me know before taking action.




    Edit:
    Heres line 88 of view.php
    $new_band = $file_info['band_used'] + filesize($image_link);
    Last edited by Wicked_one; 12-02-2007 at 03:42 AM. Reason: Automerged Doublepost

  2. #2
    kajasweb's Avatar
    kajasweb is offline Lord Of The Keys kajasweb is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    1,722

    Re: Help needed!!! any PHP coders out there?

    Check whether $image_link has a valid "path to a file". First, If you're in PHP v1, consider applying for PHP v2. That function may have been blocked for v1.
    Last edited by kajasweb; 12-02-2007 at 03:49 AM.
    R. Kaja Mohideen
    Start Your Own Blog... Start Making Money...
    http://www.MyiStop.com/
    CuteCom.Net - Low Cost International Internet Telephony (VoIP) Service

  3. #3
    Wicked_one is offline x10Hosting Member Wicked_one is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    16

    Re: Help needed!!! any PHP coders out there?

    I think I have v3 but i'm not sure.

  4. #4
    kajasweb's Avatar
    kajasweb is offline Lord Of The Keys kajasweb is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    1,722

    Re: Help needed!!! any PHP coders out there?

    Check it that first. BTW, I'm not getting this type of error when I tried to view the image instead, the PHP file is getting downloaded. Have you made any changes to the Apache Handlers ???
    Last edited by kajasweb; 12-02-2007 at 04:14 AM.
    R. Kaja Mohideen
    Start Your Own Blog... Start Making Money...
    http://www.MyiStop.com/
    CuteCom.Net - Low Cost International Internet Telephony (VoIP) Service

  5. #5
    Wicked_one is offline x10Hosting Member Wicked_one is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    16

    Re: Help needed!!! any PHP coders out there?

    I took out this part of code + filesize($image_link) in 2 places

  6. #6
    kajasweb's Avatar
    kajasweb is offline Lord Of The Keys kajasweb is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    1,722

    Re: Help needed!!! any PHP coders out there?

    Removing that function call may cause defects in the operation of your script. Consider, contacting the Developer who wrote the script.
    R. Kaja Mohideen
    Start Your Own Blog... Start Making Money...
    http://www.MyiStop.com/
    CuteCom.Net - Low Cost International Internet Telephony (VoIP) Service

+ Reply to Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers