Closed Thread
Results 1 to 11 of 11




  

Thread: PHP error message.

      
  1. #1
    Grand Masters Autumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond repute Autumn's Avatar
    Join Date
    September 28, 2007
    Posts
    3,037
    Rep Power
    8
    Feedback Score
    0

    Default PHP error message.

    I bought a ready made site and domain from someone and after uploading all files I tested it out (after propagation) and I receive this message.

    "Fatal error: Call to undefined function phpinclude() in /data/ehealth/public_html/mynewdomain.com/index.php on line 1".

    Any ideas on what ails it? :shuh: The previous owner said to check for any spaces in that line but I don't see any.

  2. #2
    Grand Masters Web Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to behold Web Gazelle's Avatar
    Join Date
    January 23, 2007
    Location
    Heating Things Up On WTF
    Posts
    760
    Rep Power
    7
    Feedback Score
    0

    Default

    If you can hold out till Monday, my co-worker and good friend seoyo is a coding guru. There is a very good chance he can help you with that.

  3. #3
    The Force is Strong! iowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond repute
    Join Date
    October 18, 2006
    Posts
    6,872
    Rep Power
    11
    Feedback Score
    0

    Default

    What is your domain?

    What you say, mynewdomain.com should be your domain.
    Plus a space at the end between ph and p (should be php).

    "Fatal error: Call to undefined function phpinclude() in /data/ehealth/public_html/mynewdomain.com/index.ph p on line 1".

    ehealth should be your username to your domain.

  4. #4
    Grand Masters Autumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond repute Autumn's Avatar
    Join Date
    September 28, 2007
    Posts
    3,037
    Rep Power
    8
    Feedback Score
    0

    Default

    Beats me why that copied over like that. It is definitely index.php (not ph p) in the error message

    Web Gazelle, thanks, there is no hurry. The domain was only $1 and with the site $2 I wanted to take a look at it to see whether to keep it as it was or to make an entirely new site with the domain. From the quick look before purchase, it didn't seem like it was related to the actual domain at all.

  5. #5
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    "Fatal error: Call to undefined function phpinclude() in /data/ehealth/public_html/mynewdomain.com/index.php on line 1".

    That is telling you the script at that path called a function named phpinclude() that was not defined. It's not a php function.

    If looks as if this...

    PHP Code:
    <?php
    include('somefile');
    turned into...
    PHP Code:
    phpinclude('somefile'); 
    But that is a guess.

    Open the file and paste the first few lines here. Omit and passwords or edited unique setttings out of course if there are any.
    Last edited by noppid; Dec 10th, 2007 at 8:17 am.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  6. #6
    Grand Masters Autumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond repute Autumn's Avatar
    Join Date
    September 28, 2007
    Posts
    3,037
    Rep Power
    8
    Feedback Score
    0

    Default

    Quote Originally Posted by noppid View Post
    Open the file and paste the first few lines here. Omit and passwords or edited unique setttings out of course if there are any.
    <td align="center"><?phpinclude ("ad1.php");?></td>

  7. #7
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    Quote Originally Posted by Autumn View Post
    <td align="center"><?phpinclude ("ad1.php");?></td>
    Change it to...
    PHP Code:
    <td align="center"><?php include("ad1.php"); ?></td>
    That should fix the "current" error.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  8. #8
    I'm New! seoyo will become famous soon enoughseoyo will become famous soon enough seoyo's Avatar
    Join Date
    November 30, 2007
    Posts
    9
    Rep Power
    0
    Feedback Score
    0

    Default Did it work?

    Noppid knows what's up! I'm curious to know if that fixed it.

  9. #9
    Grand Masters Autumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond repute Autumn's Avatar
    Join Date
    September 28, 2007
    Posts
    3,037
    Rep Power
    8
    Feedback Score
    0

    Default

    That removed the error, but only a tiny bit of the page loads. Maybe if I changed all the other php includes it will work. There seems to be a bunch of them

    Now the page loads but the ads in the php includes don't show
    Last edited by Autumn; Dec 10th, 2007 at 5:30 pm. Reason: update

  10. #10
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    It seems that perhaps there was a file corruption in the files with spacing and such perhaps. Maybe the ad files are messed up too thus not rendering? Look at one and see if it's spaced properly, readable.

    Feel free to post more code if it's messed up and you need a suggestion.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  11. #11
    Grand Masters Autumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond reputeAutumn has a reputation beyond repute Autumn's Avatar
    Join Date
    September 28, 2007
    Posts
    3,037
    Rep Power
    8
    Feedback Score
    0

    Default

    The ad files are just the code one would get from adsense.

    As suspected, the site doesn't really relate to the domain name, so I might just rebuild it in time. I needed to view it to make a decision The domain is www.losethatfat.info.

    Thanks for your help noppid :beerchug:

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Call4Paul: Getting The Ron Paul Message Out
    By dgridley in forum World News
    Replies: 2
    Last Post: Jan 21st, 2008, 11:17 am
  2. A video message from AnthonyCea!!
    By Nintendo in forum Forum Lounge
    Replies: 24
    Last Post: Dec 4th, 2007, 11:08 pm
  3. Private message problem?
    By Colleen in forum Feedback and Support
    Replies: 20
    Last Post: Nov 5th, 2007, 8:05 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads