Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

Hello I am doing a website for my work and trying to connect a database to dreamweaver (Via WAMP) - I have done this successfully before when doing a "test" site, but now when I do the same thing as I did last time (after DW and WAMP updates) I now get an error message when I F12 (preview in browser) my results.php page. (please see image below):
I have tried to find a fix on google, but have found none that help me if I am using WAMP with Dreamweaver. I can see maybe I need to change the code in the config.inc.php file, or paste the below code somewhere, but for the life of me I cannot work out which file I am meant to copy this code in to and where? I have tried to copy it in the top of the config.inc.php file but the error still remains.
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
Does anyone know how to make the error go away please?
thanks
Sara

Sara.Reese wrote:
ok thanks. Dont supose you know how to make the error go away in the mean time though do you? I would love to not see it! Esp when showing the boss when I preview it
Try:
<?php
error_reporting(0); // Turn off all error reporting
?>

Similar Messages

  • CONFIG_NF_CT_ACCT is deprecated and will be removed soon

    dmesg wrote:CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    I just noticed this today in dmesg and wanted to check if it's a known "issue". It's probably been there for a while and I"m not really concerned at this point.
    I'm just curious. Is it an upstream issue or a package configuration issue?
    Should I just continue to ignore it?
    Last edited by Xyne (2009-09-24 21:37:29)

    Maybe someone with more knowledge in this can clarify it but to me it seems to be something like this:
    Before that option(?) needed to be defined at compile time and was either always on or always off.
    Now it seems it's an option that can be passed to the module, and it can be configured in the way it is stated in the log. If anything the deprecated option now just sets the default behavior.
    nf_conntrack.acct=1 -> configured in /etc/sysctl.conf, set automatically when the computer boots.
    acct=1 nf_conntrack -> module option, used in modprobe.conf (just like any other module option)
    sysctl net.netfilter.nf_conntrack_acct=1 -> alternate way to change some kernel options after the computer boots, must like nf_conntrack.acct=1
    At least it's the way I see it, I guess it's another thing to go into the wiki (iptables page). Oh and now I'll have to see what that option does because I have no idea what it's for

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • TS3899 My ipad does not communicate with iphone on one of my email accounts and will not remove deleted emails that are done on the iphone and vice versa, what setting should be changed?

    My ipad does not communicate with my iphone on one of my email accounts and will not remove deleted emails that are done on the iphone and vice versa, what setting needs to be changed?

    It's my understanding that an iPhone can only sync with one computer. You need to choose one computer. Sounds like it syncs at work, but not at home. If you want to just sync it at home, then you have to make sure the home computer has all the info that you want on it, like music etc. Then you have to deauthorize the work computer for it to sync at home. When you connect it will ask if you want to set up as a new iPhone or restore from backup. If you don't have a backup on the home computer then either way you will be wiped clean. So any photos, contacts, notes etc you have will be erased. You would need to backup or copy your photos from your iPhone. When you connect it to your home computer, it will give you that popup message to open your iPhone files. Then you can copy those photos and save them onto your computer and sync them back in through iTunes.
    For your contacts, do you use any type of address book? If so you'll want to back that up and then transfer to your home computer. For notes, you can just email those to yourself and then save that email. I use MobileMe so the contacts issue is easily resolved.

  • If I switch my installed PS6, Illustrator and InDesign over to the Cloud, will I have to pay monthly even though I already purchased the programs? And will I then be able to use the program on another computer when I sign into my adobe account?

    If I switch my installed PS6, Illustrator and InDesign over to the Cloud (from an installed program with the code, like Adobe used to do it), will I have to pay monthly even though I already purchased the programs? And will I then be able to use the program on another computer when I sign into my adobe account? I know how to switch it over, I just want to make sure I won't also have to pay monthly even though it's already been purchased.

    Your purchase of licensed version of Adobe applications does apply to CC subscriptions.  If you subscribe you will pay for the subscription on whatever periodic basis you choose (monthly versus annually).

  • I just got my shipment and My Ipad mini is just shut down without reasons during upgrading. I'm doing restore it. Does it matter for the future use?

    I just got my shipment and My Ipad mini is just shut down without any reason during upgrading. I'm doing restore it. Does it matter for the future use?
    ACtually I really really don't want to use it anymore. I'm so disappointed.

    PolishAngel756 wrote:
    Some friends have told me that their phone can last up to 2 days without charging??
    If they are getting 2 days without charging, it's unlikely they use their device very much.
    A full day is pretty good....and if I'm careful, I can easily get a full day of usage.
    For me, normal is charging the iPhone mid afternoon at work, but I use it a lot.
    My typical usage is 35 mins of listening to podcasts, checking email, checking my RSS feed, and checking a few apps while I ride my bike when I first get up.  Then listening to several podcasts at work.
    I typically stream music while working out during my lunch hour and use the Men's Health Fitness app to track my progress.
    By about 2pm I'm ready to charge the device as it's getting low (somewhere between 20% and 50%).
    I leave bluetooth, Wi-FI, and location services turned on all the time.
    Personally, I just do not see the point in going into settings to turn on the feature when I need it... just too much hassle.  All of my listening to podcasts and music is via Bluetooth.
    I know I'm not the heaviest user, but I just do not see how anyone can realistically make it two days on a single charge, it makes me think they simply do not use the features of the device and would be just as well served with a basic or feature phone.

  • Sequential element is unused and will be removed from module

    Hi,
    I meet synthesis issue of;
    [Synth 8-3332] Sequential element (\IDQUEUE/WCNT_reg[4] ) is unused and will be removed from module CMH.
    The WCNT register and IDQUEUE module are removed from design @ synthesis. 
    At simulation the module and reg are there.
    Does anyone know reason why this warning is occurred, and how to fix?
    ps.
    IO pin is not assigned.
     

    Hi 
    Please refer to AR: http://www.xilinx.com/support/answers/54778.html
    Thanks,
    Tushar
    Please mark the post as an answer ("Accept as solution") in case it helped resolve your query.
    Give kudos in case a post guided you to the solution.
    This will help others in the long run

  • How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?

    How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?

    iPod touch User Guide (For iOS 4.3 Software)

  • I have photoshop elements 13 and want to remove photoshop elements 10 first.  When I try to remove 10 I get error 1316 , specified account already exests and will not remove. I have windows 7

    I have photoshop elements 13 and want to remove photoshop elements 10 first.  When I try to remove 10 I get error 1316 , specified account already exests and will not remove. I have windows 7

    Exit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs

  • How to Send an Email at a Specific Time in the Future Using Mozilla Thunderbird.

    Hi guys,
    I downloaded Thunderbird for my Mac for one single purpose, simpy to be able to send an email by executing the time and date i wish my email to be send, automatically. The extension saves the message to draft and monitors the messages in the draft folder, when the chosen time arrives it moves the message to unsent and sends unsent messages. So i can send messages in the future.
    I dont know how to manage this, and i would appreciate help and tutorials from you guys!

    Why not read Thunderbirds tutorials and post in their forum area?

  • Storage my project IMovie for the futur use

    First of all, I know that this subject has been talked about in a few posts but I'm not sure I got all they info. I received a lot of help to transfer some
    movies I had to do a DVD for my TV. I want to explain my project process
    before I ask you my question.
    My original was 700 Meg AVI. I transfered it with Quicktime Pro in H.264
    format. That gave me a 3.06 G file. After that, I imported it to IMovie with my changes which gave me a 16,16G file. Then, I burned it with IDVD which gave me another 4,04Go file.
    To summarize, all the project is around 24 Go.
    So my question is:
    I have 250 G external drive. What should I do to have
    some flexibility if in the future I want to use it again and make some
    changes? I know that if I want just a copy of it, I can do it
    with disk image.
    Should I delete the DVD file because it doesn't take time to do it again
    and, without changes, I just have to do disk images. What about
    my .mov. Can I delete it? And if I delete it, Can I use my IMovie again? (My .mov is in inside the IMovie document)
    I think I should keep all my AVI because it is my original.
    What is your opinion?
    Thanks again.

    ...I think I should keep all my AVI because it is my original...
    indeed, that's what I would do...
    all other files are just 'intermediate' or converted (=lower quality) stuff...
    aside: I would avoid that h264 step.. convert straight into iM/iDVD's 'format', which is dv-stream... h264 doesn't add any value, it, even worse, could add more 'loss in quality' ....

  • Does buying a font give full commercial rights, and will I still be able to use it if I cancel my Adobe CC/Photoshop subscription?

    I'm thinking of buying a font that I found initially on typekit.  Will buying that font allow me to use that font for commercial work, and will I have access to it if I ever cancel my Adobe subscription?
    Thanks.

    Hello,
    If you purchase a font license outside of Typekit, that license dictates how you are allowed to use the font software. Adobe’s standard font EULA allows commercial use, but another font vendor’s license might not.
    > will I have access to it if I ever cancel my Adobe subscription?
    The perpetual font license purchase is unrelated to your Creative Cloud subscription status. You will be able to use the purchased font(s) for as long as the license allows, whether or not you continue to subscribe to Creative Cloud.
    I hope that this helps; let me know if you have any other questions here or at [email protected]!
    Best,
    -- liz

  • Java JVM 8: Using incremental CMS is deprecated and will likely be removed in a future release

    Hello,
    We (my company) have been using YoungGC=Parallel; Old=CMS/Incremental since Java 1.5 for a Java caching application running in a 64 GB heap (yes, even in HotSpot 1.5).
    At various times, we have tested the G1 collector.  The performance for our caching application has not met expectations with G1GC.  Always looking for ways to improve the system, we are certainly open to new technologies.  However, the loss of the CMS collector will mean our application won’t be able to adopt newer versions of Java.
    Basic JVM options for GC:
    -XX:+UnlockExperimentalVMOptions
    -XX:+UseParNewGC
    -XX:+UseConcMarkSweepGC
    -XX:+CMSIncrementalMode
    -XX:-CMSIncrementalPacing
    -XX:CMSIncrementalDutyCycleMin=100
    -XX:CMSIncrementalDutyCycleMin=95
    -XX:+ExplicitGCInvokesConcurrent
    -XX:ConcGCThreads=6
    With these options, on servers with 64GB heap used at 60% and thousands of QPS, we see Young GC pauses in the range of 50-100 ms every roughly 10 seconds (for .5-1% of the time) and about the same for the short GC pauses of the background CMS. We NEVER see a long CMS pause and the servers run for months at a time, being taken down pretty much only to patch the OS. With a new generation of the hardware, improved software and taking advantage of the ConcGCThreads option, we are just beginning a series of tests to determine how high we can crank-up the memory to reduce the farm size.This project is expected to go OpenSource later this year. Without the CMS collector, very large heaps will become very difficult (or impossible) to manage.
    Before removing the CMS collector, and I understand it is causing grief to still have it in the Java code base, please ensure there is an adequate replacement (G1 is currently not it).
    Thank you for your attention,
    Pierre

    I recomend you probe and test the MetaSpace GC policy in 1.8
    Probably you improve the application in 30% of performance terms.

  • How do I email photos with a psd extension to others and will they be able to open them?

    I need to send about 40 photos each with a psd extension to a business organisation.  Will they be able to access them and print them?  The photos each show several railway sleepers and I had to mark each sleeper with a number to identify them in the text of the email.

    Thanks Barbara but How do I convert them from psd to jpg?
    Regards
    Dean Harvey
    Dean Harvey
    Ergonomic Office Supplies
    65 Harding Street
    Glengowrie  SA  5044
    e-Mail:   <mailto:[email protected]> [email protected]
    Tel:  08 8295 5122
    Mobile:  0414 520 621

  • TS4147 i have iphone 4 s in beirut and just bought iPhone 5 s to use in abu dhabi  instead of black berry .. transfered my contacts and set it on my iCloud - when i came back to beirut and used my iPhone 4s my contacts where not the same - i lost a big ch

    i have an iphone 4s , a mac air, ipad4 .... all on same itune and icloud. i live in between 2 cities... i had a blackberry in abu dhabi.... Recently i replaced it with iphone 5 and set it on the same icloud account...
    I had different contacts on each but now all my contacts on my i phone 4s are lost...
    How can i retrieve them ? its all my beirut life .... now its only the abu dhabi contacts ??? what can i do?

    Hi, beth.lau.gr.
    Thank you for visiting Apple Support Communities.  
    I understand you have been experiencing issues with your iPhone restarting and showing you a blue screen.  I wont be able to give you an exact answer as to why this is happening.  However, this is the most relevant troubleshooting article for this issue.  This article also provides options to reach out to us via phone for additional assistance.  
    If your iOS device restarts, displays the Apple logo, or powers off while you're using it
    http://support.apple.com/en-us/HT203899
    Cheers, 
    Jason H.  

Maybe you are looking for

  • SAP AUTO ID with screen shots.

    Is there any step by step scenario,where we can understand about SAP AUTO ID with screen shots.

  • Saving a website as a pdf

    I am trying to save an application which is on a website as a pdf. I looked up how to do it online, and it says to select print, and go from there, but everytime I select print it makes the error sound and I can't do anything. Can someone help me out

  • Connecting external display - mouse issues

    Just converted from a Mac Pro (2007) to a new MacBook pro. This is my first laptop. I have successfully hooked up my old display to the laptop and drug over the task bar to it, but the mouse wants to go back to the laptop every time I move it. Am I m

  • Vista adn Upgrading to 7.5

    Help!! I have Itunes 7.2 on my Dell/Vista...can't upgrade - get all the way to the end and get a HUGE error something about processor architecture and win32 etc. Apple tells me it is Dell, Dell tells me it is Apple...so, I have 2 video nano's that ca

  • Need to link old itune account to new p.c with out losing data

    got an iPhone 4my iTunes account was on my old p.c, which does not work any more how do I transfer date from iPhone to new p.c