1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need a coder to fix Fatal php error

Discussion in 'Hire a Freelancer' started by oliva999, Nov 18, 2011.

  1. oliva999

    oliva999 Power Member

    Joined:
    Feb 6, 2010
    Messages:
    572
    Likes Received:
    69
    We've recently transferred our website from GoDaddy to Hostgator. It worked right after the transfer, but then we've added a subdirectory with Wordpress and now the main site doesn't work. It's displaying a php function error:

    Warning: include(/usr/local/apache/htdocs/includes/global.php) [function.include]: failed to open stream: No such file or directory in /home/psbeyond/public_html/index.php on line 11

    Warning: include() [function.include]: Failed opening '/usr/local/apache/htdocs/includes/global.php' for inclusion (include_path='.:/usr/lib/php') in /home/psbeyond/public_html/index.php on line 11

    Fatal error: Call to undefined function getTemplate() in /home/psbeyond/public_html/index.php on line 14

    Site still runs on GoDaddy with no errors - we did not transfer DNS yet. The error shows on Hostgator website preview.

    PM me with your quote if you can fix it please
     
    Last edited: Nov 18, 2011
  2. helpnub

    helpnub Registered Member

    Joined:
    Jan 2, 2008
    Messages:
    72
    Likes Received:
    43
    It looks like there's a file you haven't ftp'd to your new host. Open file /home/psbeyond/public_html/index.php on line 11 and see what file the include statement is trying to load. FTP that file and see how u go
     
  3. surender.singal

    surender.singal Registered Member

    Joined:
    Jun 4, 2011
    Messages:
    89
    Likes Received:
    3
    Occupation:
    Web Programmer
    Location:
    DL
    Hi ,

    I can fix this issue.This is may be due to directory change.PLease send me more details or add me on skype at surender.singal1