+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: can someone help me out, please

  1. #1
    florianvrs29 is offline x10Hosting Member florianvrs29 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    10

    Lightbulb can someone help me out, please

    As soon as I want to open up my website it tells me this failure:
    "Fatal error: Cannot redeclare http_get() in /home/florian/public_html/inc.functions.php on line 138"

    Can anyone help me out with this problem?

    Already thanks,

    Florian

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: can someone help me out, please

    Your script or one written by somebody else?
    Nothing is always absolutely so.

  3. #3
    florianvrs29 is offline x10Hosting Member florianvrs29 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    10

    Re: can someone help me out, please

    the script is written by someone else.

  4. #4
    florianvrs29 is offline x10Hosting Member florianvrs29 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    10

    Re: can someone help me out, please

    still stuck with the problem.
    Really nobody who knows how to fix the problem??

  5. #5
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: can someone help me out, please

    Not without seeing the code. The chances are high that a file has been included or required more than once (using include_once() or require_once() instead of include() or require() will fix that problem), but that's just a guess at best.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  6. #6
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: can someone help me out, please

    Sorry for the delay.
    The writer of the code did not require or include the file twice. The error message would state where the function was declared before.

    http_get is defined in this version/installation of PHP. It is not always defined. Seems like the developer assumed the name was not used.
    Nothing is always absolutely so.

  7. #7
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: can someone help me out, please

    In particular, florian, your best bet is to contact the script maintainer. The http_get function defined in the script may need to be renamed, or may need to be defined conditionally; which depends on whether the script's implementation is compatible with the PHP version. The current maintainer will be familiar enough with the design to know which is the best course. Besides, if the problem affects you, it likely affects others, so the issue should be fixed in the source master copy.
    Last edited by misson; 09-28-2011 at 01:52 AM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  8. #8
    florianvrs29 is offline x10Hosting Member florianvrs29 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    10

    Re: can someone help me out, please

    Uh guys,

    I have to excuse myself for the late reply, at first.
    Second, My stupid head forgot something to say that may make the solution totally different.
    In the past I've used an other cms program (online) and that had this templates as one of the standards.
    It is originally from templates.com (or something like that) and I have modified this to my personal website by uploading some pictures and some texts.
    Maybe this, possibly, could make the solution alot diffrent.

    Nevertheless, I have to thank you guys and the total community for all the great help you guys are offering.
    Continue like that!

  9. #9
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: can someone help me out, please

    Without seeing the code, nobody can help you.
    Nothing is always absolutely so.

  10. #10
    florianvrs29 is offline x10Hosting Member florianvrs29 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    10

    Re: can someone help me out, please

    I can show you guys,

    Is that the index.php, style.css or something totally diffrent?
    Last edited by florianvrs29; 10-17-2011 at 09:40 AM.

+ Reply to Thread
Page 1 of 3 123 LastLast

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