"new PDO" inconsistent in connections across our servers

Using PDO oci, our application web pages connect to various Oracle databases. All database connections before used the following connect strings successfully:
$conn = new PDO("oci:dbname=//servername.domain*:1521*/db_service_name",$db_username,$db_password);
up until last Friday 5/18 when one particular server connection attempt would throw a "Fatal error" unless we modify the connection string as follows:
$conn = new PDO("oci:dbname=//servername.domain/db_service_name",$db_username,$db_password); // no port number
php version appears to be 5.3, database version is 10.2.0.5.0, all running on linux RHEL 5. Other connections using RHEL 4, but I believe that is moot in that the app server running php 5.3 with oci8.so to connect to the database server running oracle 10.2.0.5 was working, but on Monday 5/21, it was not working.
Fatal error when not working is:
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[]: (null)' in /home/driskind/test_oci.php:7
Stack trace:
#0 /home/driskind/test_oci.php(7): PDO->__construct('oci:dbname=//ea...', 'user...', 'password')
#1 {main}
thrown in /home/driskind/test_oci.php on line 7
Note that from this same host, php can connect to older database servers utilizing the connection string with the port number, so I am suspecting a configuration on the database server side for the new database server where connection string using port number fails.
Please don't ask why application doesn't use other methods. They have adamantly stated they wish to continue to use thier application with php configured as is.

Unless things have really changed with PDO I recommend not using it. Just use the OCI_ methods. For me the biggest problem is that PDO ( at my last reading ) does not support reference cursors which for me is just a non starter.

Similar Messages

  • We just added a new printer and bluetooth connection to our iMac.  Now iTunes does not recognize our iPads as devices.  Have already tried restarting everything.  Any other suggestions?

    We just added a new printer and bluetooth connection to our iMac.  Now iTunes does not recognize our iPads as devices.  Have already tried restarting everything.  Any other suggestions?

    You can try the steps recommended here: http://www.apple.com/support/ipad/assistant/itunes/

  • Since updating to Firefox 23.0.1, I am unable to connect to our company servers.

    Since updating to Firefox 23.0.1, I am unable to connect to our company servers. The error message is "Certificate type not approved for application.", and it gives me no option to create an exception.
    In previous versions, Firefox gave the option of creating a security exception, and then everything worked as expected. The new version does not give this option, and hence I cannot connect to our company servers.
    I can connect using Explorer, Opera, Chrome, etc., without any problems. Only Firefox refuses to connect.
    Please advice.

    The issue is not with SSL or TLS. The issue is with Firefox.
    Thanks for all the helpful suggestions, but this is clearly a bug in Firefox, where the ability to create a security exception has been disabled in this case.
    Other browsers, as well earlier versions of Firefox, allow security exceptions to be created, which completely solves the issue.
    How do I go about reporting this bug?

  • I have a new HP Photosmart Premium that does not connect to our ATT router we use for 2

    We just purchased a new HP Photosmart Premium to work on our ATT wireless router with two laptops.  It does not connect to our ATT wireless network with the error "No filtering"  FAIL indications.  Why?

    There could be several reasons for this.
    Let's try this: cycle power on the router, let it restart a couple of minutes then try it again.
    If that does not work, we may need to adjust some settings in the router.   ISP supplied routers are not the best.....
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Our new Ipad 2 won't connect to our dlink router

    Good Evening!  We just purchased a new Ipad 2 today so we are the newbies!  We cannot connect to our router using the setup.  It just says joining "dlink_media" and is stuck there... any suggestions?

    These info may help:
    http://support.apple.com/kb/TS1398

  • Connecting two Central Servers??

    Mohan,
    More info may be beneficial.
    If you are trying to share service objects across two environments, you will
    need to create
    a reference partition. If the two different Central Servers are truly on two
    different machines,
    you can connect their environments.
    If it's a matter of having your app on one server and the database on another,
    you can
    use SQLNET and connect using TNS NAMES.
    The forte manuals can tell you how to create a reference partition, connect
    environment,
    etc.
    Hope this helps somewhat.
    Peggy Adrian
    Eli Lilly and Company
    [email protected]
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 01/12/98 01:09
    PM ---------------------------
    MOHAN CHICKMAGALUR <[email protected]> on 01/12/98 01:13:40 AM
    Please respond to MOHAN CHICKMAGALUR <[email protected]>
    To: [email protected]
    cc: [email protected]
    Subject: Connecting two Central Servers??
    Dear Friends,
    Wish U all avery happy new year. In our office we have 2 groups
    working on two different Forte Central Server, say FCS-A & FCS-B. FCS-A
    has the Oracle Database. We now want the clients connected to FCS-B to
    access the Oracle Database. How do I connect these two???
    Thanks in Advance for the help
    mohan
    Get Your Private, Free Email at http://www.hotmail.com

    I have heard about connecting 2 environments. I have never tried it
    myself. Here is how you do it.
    As long as your second environment has an environment visible service
    object and your first environment does not have such an SO with the same
    name, you can specify in the FORTE_NS_ADDRESS environment variable of
    the first environment, the address for both the environments. This is
    what I have seen in some examples
    FORTE_NS_ADDRESS=env1:5000;env2:5000;env3:5000 and so on.
    The control will query each environment for the SO.
    Hope this helps. Remember, I have not tried it, so I cannot authenticate
    it.
    Venkat J Kodumudi
    Price Waterhouse LLP
    Internet: [email protected]
    Internet2: [email protected]
    -----Original Message-----
    From: [email protected] [SMTP:[email protected]]
    Sent: Monday, January 12, 1998 7:32 PM
    To: Venkat Kodumudi
    Subject: Connecting two Central Servers??
    To: [email protected] @ Internet
    cc: [email protected] @ Internet
    From: [email protected] @ Internet
    Date: 01/11/98 10:13:40 PM PST
    Subject: Connecting two Central Servers??
    Dear Friends,
    Wish U all avery happy new year. In our office we have 2
    groups
    working on two different Forte Central Server, say FCS-A & FCS-B.
    FCS-A
    has the Oracle Database. We now want the clients connected to FCS-B to
    access the Oracle Database. How do I connect these two???
    Thanks in Advance for the help
    mohan
    Get Your Private, Free Email at http://www.hotmail.com

  • 10.6.8 MBPro Screen Sharing suddenly can not connect to our other Macs.

    We've used Screen Sharing from our MBPros for the past few years to manage our Mac file & media servers. Last year we replaced our G5 file server with a Mac Mini with Lion server. No problems - we could still use Screen Sharing to manage both this Lion file server and the Snow Leopard MacPro that's hooked up to our TV (among other things).
    Friday morning my MBP could not see or connect to the Lion file server - the MBPs have the Lion server's data drives in Login Items so they mount when we log in. I also cound not Screen Share to either the Lion server or the SL MacPro. I checked the MBP's ethernet connection and could get to our router and the internet. When I tried to connect via Screen Sharing (by using the Share Screen... button in a Finder window, by using the Connect to Server command with vnc:// protocol, or by using the ScreenSharing menulet) I would get the "Connecting to Lion server" alert but nothing further. I left it for 10 minutes or so and it eventually disappeared but the connection never opened.
    I checked the two servers and both were up and running. From the SL MacPro I could use Screen Sharing to get to the Lion server - and my MBPro too. From the Lion server I could Screen Share to the MacPro and my MBPro also.
    The problem appeared to be with my MBPro. I switched to an unprivledged user account on it and found I could then get to both servers using Screen Sharing. So it was just my account on the MBPro. Rebooting did not help. Turning on AirPort, connecting to our home AirPort Extreme and unplugging the ethernet cable did not change anything with my account connecting to the servers.
    I figured something somehow got pranged in my account's credentials. I used Keychain Access to delete all keychains containing the servers' names, IP addresses or sharing. I was asked for my credentials when I mounted the server's shared drives, but not when I tried Screen Sharing - got the same "Connecting to Lion server" or "Connecting to media server" dialogues and was never asked for username or password, but never connected either.
    I cleared all caches using the utility Maintenance in case my MBPro was using invalid cached info. No improvement.
    Saturday morning I shut down everything on our entire network - FiOS "modem"/router, Netgear gigabit switch, AirPort Snow, AirPort Extreme, MacPro, MacMini, both MacBookPros... even the FiOS cable box. Still no improvement.
    IPv6 is disabled on the Lion server. All the Macs have all curent updates applied.
    I've spent most of today Googling for solutions and trying them out. None have worked - though I see several very recent reports in these Apple Communities about Screen Sharing suddenly not working.
    I really do not want to have to move to a new account on my MBP - and what's to say it won't happen again? Anyone have other suggestions?

    sunnovagun!
    Hitting the Log Out button in the MobileMe panel worked. I can now connect to both the SnowLeopard and Lion servers just like I used to.
    My condition appears to have been slightly different from yours, gmia - the MobileMe on my MBP had the correct info, but hose are not the credentials i use to remote to the two servers. I'm guessing that for some reason ScreenSharing began using my MobileMe credentials instead of what I had saved in the keychains.
    Wonder if it had anything to do with the shutdown of the MM servers. That would be odd as using ones apple ID to log into a Mac remotely was new with Lion, and I had the same problem with our SnowLeopard server - which I remote into much more frequently.
    Probably didn't hurt though to reboot the entire network...

  • Infrastructure Navigator discovery across vCenter Servers

    Is it possible configure VIN to discover dependencies across multiple vCenter Servers? It looks like each instance of VIN is associated with just one vCenter Server. Neither linked mode nor SSO multi-site mode seems to integrate discovery across vCenter Servers. If this is not possible in current version of VIN, is it something in the pipeline for next release? May be some sort of integration of lookup/inventory services to gain visibility across VCs?

    In linked mode, VIN shows the other VC's VMs as external IPs by design.
    VIN supports linked mode in a sense it discovers the environment of the particular VC although there are two environments (i.e. two VM lists) connected.
    In addition, in VIN's window settings you can use the drop box and select which VC to discover.
    If you experience any discovering issues, I suggest you to open a SR so our Support team can research the logs and refer it.
    Thanks,
    Nir

  • My Iphone has family emails that appear randomly when I try to update apps or generally have to log into my account. It comes up as my sister in laws address. She was once connected to our account when she got her phone at first. How can I remove?

    My Iphone has family emails that appear randomly when I try to update apps or generally have to log into my account. It comes up as my sister in laws address. She was once connected to our account when she got her phone at first. How can I remove? There are only two other email address's associated with my account and hers was never one of them! I do have a cloud set up on my phone. I thought this issue had gone away when I canged my passwords, but I just registered a new phone yesterday and its happening again!
    Can anyone help me?

    Apps are permanently tied to the Apple ID used to purchase them, and all future updates will require you to enter the password associated with this ID, whether you are currently using this ID for purchases or not.  If you are being prompted for your sister-in-law's Apple ID when updating it means that there must be one or more apps on your phone that was purchased using her Apple ID.  (When she synced with your computer it may have transferred this app to your library.  It was subsequently synced to your phone.)  The only way to stop the prompt for her ID is to delete these apps from your phone and your iTunes library and repurchase them using your Apple ID.

  • HT2292 I recently got a new ipod touch and the new one will not connect to itunes.  I've done all the troubleshooting and now I'm just plain frustrated.  With the new update my old ipod froze and best buy gave me a new one. What to do?

    My ipod recenly froze with the last update.  bestbuy gave me a replacement.  the new one will not connect to the computer or itunes.  i followed all the instructions and - nothing.  It's frustrating enough as i lost all my notes and work, but now I can't connect to sync with itunes.  i don't get it.  i'm not a supertech so i don't know what to do. help!!!!!!

    Thanks, Bob!  You are correct.  And, we learned this as we spoke with APPLE TECH SUPPORT by phone on Christmas day (800-APL-CARE).  One of their reps spent the time to help us troubleshoot this, but the boiled down conclusion is your answer, and to repeat for the benefit of others, here is what worked:
    1. With our Belkin router set to "out-of-the-box" WEP 64 bit security, we could not get wireless access of any kind.  Only with the Security Mode set to DISABLED, could we gain access.
    2. Changing the router's security mode setting to "WPA/WPA-2...." and entering a new min. 8 char passphrase, and then entering that same passphrase into the IPOD Touch, and restarting the router, did the trick!
    Based on this, and some info found in another posting, I can only conclude that the IPODs and IPHONES do not support WEP security mode in many generic routers used by thousands of consumers.  Hopefully, those same consumers can figure out how to change their wireless router setttings to WPA/WPA-2 security mode and ALSO get all their other wireless devices (PCs, laptops, WII boxes, ROKU boxes) all reconfigured to WPA mode, too.
    I THINK THE BOTTOM LINE HERE IS THAT THERE IS AN ISSUE THAT APPLE NEEDS TO ADDRESS WITH WEP COMPATIBILITY and it may also be the case that MOST CONSUMERS ARE USING WEP 64 BIT security on their home wireless routers?
    In any case, it's working now, so anyone who is having problems should try changing to WPA mode and post back here if it worked for them!

  • How do I import my video files from old iPhoto - in time machine - to new iPhoto?  Photoes came across, video said incompatible.

    how do I import my video files from old iPhoto - in time machine - to new iPhoto?  Photoes came across, video said incompatible.
    i have moved from a mac pro to a mac mini,
    Mini now has mavericks and latest iLife stuff, I clicked import, was all good, then at end, no videos came across.
    Is Mavericks,/iPhoto having a compatibiltiy issue with some video formats....???
    Your help is appreciated gang.: )

    Please describe exactly what you did. In moving to a new machine no importing is involved. The best way is to simply connect the two computers together and drag the iPhoto library from the old one to the pictures folder go the new one and launch iPhoto
    LN

  • TS1398 My ipod touch will not connect to our wifi all of a sudden. It has worked fine for 6 months and now just has stopped connecting. I have done all the trouble shooting tips available. Any other ideas?

    We bought this itouch for our daughter for Christmas (2011), It has worked fine all this time until now. All of a sudden it will not connect to our home wi fi. All the other ipods/iphones/laptops and desktop are connecting fine so I know it is not the router itself. I have tried all the standard troubleshooting tips (forgetting the network and resetting it on the ipod, turning it off an on, plugging it in and updating the software, we even restored it completely from itunes as a new ipod). It lists the network as available but then when you try to connect it just sits there with the little circle icon thing spinning, trying to connect but never does.Please help!

    So you also rebooted your router correct?  Does the iPod still connect okay to other networks? 
    B-rock

  • I have a new Epson wireless printer connected and the iPad recognizes it but it won't print. What is AirPrint and how do I connect it?

    I have a new Epson wireless printer connected and the iPad recognizes it but it still won't print.  What is AirPrint &amp; how do I connect to it?

    Patti-
    Is your Epson printer on Apple's list of AirPrint capable printers?  See <http://support.apple.com/kb/ht4356>.
    If it is an AirPrint printer, then your WiFi router may not correctly handle Bonjour data required by AirPrint.  Contact the router's manufacturer to see if there is a change to its setup or a firmware update, that will make it work.
    One other possibility is that there could be a print job stuck in the iPad's print queue.  Double click the iPad's Home button and a row of recent Apps will appear along the bottom of the screen.  Scroll across and see if the Print Center is there.
    Fred

  • Windows 8.1 Pro workstation will not connect to our domain

    My situation has me puzzled.
    I've got a workstation that I want to be added to the domain. I got it added no problems. When I go to login on my own user account on the domain, it works as it should.
    As I hand off this workstation over to a user and had them log into it, they mention that "There are currently no logon servers available to service the logon request."
    I checked their group policies on the domain controller and its setup exactly like the others.
    Most of our machines are windows 7 pro, and they all are able to login to the domain just fine; including the person in question from before on a windows 7 pro machine. For some reason however, using the same credentials and same everything else, it refuses
    to attempt to try to connect to our domain.
    If I'm able to connect using windows 8.1 pro on my account, while a normal user can't, I suspect its a group policy issue? The user is a member of "domain user" group so I'd think that would be the only real ticket they would need. Again they can
    use their own credentials under windows 7 pro and connect up fine, and my very own credentials for windows 8.1 pro machine logged in and carried out group policy information as well.
    Well now here is something, just as I was typing this up, I made a test account that has domain admin rights and low and behold, it was able to log in though it doesn't appear that group policy mapped drives or shortcuts were placed.
    I guess the question now is what would a domain admin have over a domain user that would allow a domain admin to log in and not a domain user that is specific to windows 8.1 pro.

    Hi
    Check your DNS settings on the machine. Are you using static entries at all?
    Can you ping the DC from that machine? Also try turning off UAC and check your firewalls.
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Service Pack 2 for Windows Server 2003 broke our online connection to our self-hosted website

    We have two office computers with Microsoft Server 2003. On one of these machines, we have hosted our own website for about 10 years. Eveything worked well until yesterday night, when Microsoft upgraded  our webhost machine with Service Pack 2. When
    it was done, the only noticeable result is that we lost an internet connection to our own website.  We had upgraded our other office server with Service Pack 2 a number of years ago, but that had no negative effect on our operations.
    Our website, originally created with ASP.Net in Visual Studio 2005, is a relatively simple one, almost all text-based, with a default.htm home page which comes up on any browser, and from which users can use click buttons to move to secondary
    pages. Now, following the Service Pack 2 downloading last night, all that shows up on a browser screen when someone seeks our website is a bold-face "FOLDER LISTING../" message. 
    We under standard there is a program feature that directs a website visitor directly to the home page of that website.
    So what is that program feature? Where do we find it? How do we reconstruct it or modify it so that our website default.htm home page appears on the screen?
    We intend to upgrade our two office servers to Microsoft Server 2012 within a few months.  But we would be most unhappy to be told that we must pay a tech consultant a hefty service charge to restore or repair a vital link that Microsoft's
    operating system service pack destroyed, even if inadvertantly.

    You should be able to configure that on IIS level. See that: http://www.iis.net/configreference/system.webserver/defaultdocument
    More if you ask them here: http://forums.iis.net/
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

Maybe you are looking for

  • Receiver File Name with date

    Hi @, I have a requirement where I wanted to genereate the recevier file name as TestYYYYMMDD.txt format. Note that in Receiver target structure date is not coming and output file also we dont require date data. I tried to put the Date root node and

  • Changeing your burning speed

    I have had a few people tell me that if my dvd's are not playing on another dvd player to change the burning speed down to 1x or 2x how do you change your burning speed on idvd, I know this is a simple question for someone. I'm using a g-5 dual and f

  • Email in Batch Job

    Hello All, I need to set up a batch job and this would run daily. I can do this in SM36 and have done it. But the question is I have couple of email ID's from the company I am working in and some email ID's for a different company. The concern is whe

  • Why can i not run Xplane 8 on my Mac OS X version 10.8.5

    I am trying to run XPlane8 on my Mac, on the packaging it says that it requires MAC OS X v 10.3 or later, which I have. now when I try to click on the install icon I get the following message. You can't open the application Installer MacIntosh" becau

  • TS2800 TRYING TO UPDATE TO IOS 6 ON IPHONE 3GS BUT KEEP GETTING ERROR CODE 1403.HOW DO I FIX THIS PROBLEM.

    trying to update to ios6 on iphone 3gs but keep getting error code 1403