We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

mysql

hi, ive got a mysql database set up however when i go to a page, i can see

Warning: main() [function.include]: Failed opening '

now its php. I have never used mysql before. If somebody can help me, i would be ever greatful. if you can help me, can you please PM me or email me mclaren@yourhaven.co.uk would be great.

thanks for ya help
Never do things tomorow when you can do them today.
«1

Comments

  • The_JinJ
    The_JinJ Posts: 468 Forumite
    Part of the Furniture Combo Breaker
    mclaren wrote:
    hi, ive got a mysql database set up however when i go to a page, i can see

    Warning: main() [function.include]: Failed opening '

    now its php. I have never used mysql before. If somebody can help me, i would be ever greatful. if you can help me, can you please PM me or email me mclaren@yourhaven.co.uk would be great.

    thanks for ya help

    I think it just can't open the page you are including - not sure it's mysql related.
    In the code for the page that is giving the error, does it have an INCLUDE? Does the file it references exist?(or have the right path)
    Neil
  • mclaren_2
    mclaren_2 Posts: 1,955 Forumite
    no "INCLUDE" in it, its defo mysql as it is a script that has to be run on mysql and i have not put any passwords in the script or that, and that is because i do not know how lol
    Never do things tomorow when you can do them today.
  • NellyLock
    NellyLock Posts: 487 Forumite
    have you got a copy of the php that we can access and look at?
  • mclaren_2
    mclaren_2 Posts: 1,955 Forumite
    http://www.yourhaven.net/auction/index.php

    thats the URL but so far as you can see its just normal php that can be seen
    Never do things tomorow when you can do them today.
  • meclive
    meclive Posts: 482 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    Well it cannot find any of your files that it is trying to include.

    example:

    ERROR: Warning: main(/signature.php) [function.main]: failed to open stream: No such file or directory in /home2/mclaren/public_html/auction/index.php on line 43

    FILE ITS LOOKING FOR: http://www.yourhaven.net/auction/signature.php
  • mclaren_2
    mclaren_2 Posts: 1,955 Forumite
    meclive wrote:
    i'l have a look and see what i can do if you can show me a copy.
    ill PM you
    Never do things tomorow when you can do them today.
  • NellyLock
    NellyLock Posts: 487 Forumite
    if you cant help mclaren let me know and ill pm him my email addy and he can send script my way
  • meclive
    meclive Posts: 482 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    Im not sure it is illegal Wirm the check just brings up that it is a trial version.
  • NellyLock
    NellyLock Posts: 487 Forumite
    *vanish* wirms post is gone...now meclive post makes no sense ;)
  • Genghis
    Genghis Posts: 263 Forumite
    Does it have enough permissions?

    Is this on unix.. chmod?
    Simplicity is the ultimate sophistication - Leonardo Da Vinci
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 352.1K Banking & Borrowing
  • 253.6K Reduce Debt & Boost Income
  • 454.3K Spending & Discounts
  • 245.2K Work, Benefits & Business
  • 600.9K Mortgages, Homes & Bills
  • 177.5K Life & Family
  • 259K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.