php youtube to mp3 error

Discussion in 'PHP' started by bobocheez, May 8, 2009.

  1. #1
    Hi,
    I have a script that is suppose to convert youtube urls into mp3s but I'm getting this error when I click convert:

     
    Warning: require_once(1) [function.require-once]: failed to open stream: No such file or directory in /home/bobora/public_html/convertor.php on line 12
    
    Fatal error: require_once() [function.require]: Failed opening required '1' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bobora/public_html/convertor.php on line 12
    
    PHP:
    Line 12:
     
    require_once('config.php')
    
    PHP:
    ...however, the file is there.
     
    bobocheez, May 8, 2009 IP
  2. aGor

    aGor Member

    Messages:
    80
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    You miss ; at the end

    I dont think that's why though, are you 100% sure that the file is there?
    Maybe try to do write less /home/bobora/public_html/convertor.php in the terminal on the server to check if that's the right path?
     
    aGor, May 9, 2009 IP