Browsers won't open some php testing server files

Running DW 8, OS 10.4.10, Apache virtual testing server with
php local site.
I've Firefox and Safari as primary and secondary browsers.
When working on a
page, if I select 'preview in primary browser', Firefox opens
the page with
my virtual url...no problem. Lately, some php files will not
open. Firefos
give a dialog to open the file in default (DW) or save to
disk. This is very
frustrating since one file it does this to is a login page.
Safari does the
same thing!
I have select the file in question in the finder (extension:
,php) and
through the Get Info and told Mac OS to open this file with
Firefox and all
.php extensions. Rebuilt prebinding so all php files in the
Finder show a
Firefox icon, but still neither Firefox nor Safari will open
them. They
don't recognize the
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
Metatag. The really frustrating thing is that only some files
behave this
way. Most of the others work fine and I can't see anything in
the headers
that would cause one to open and not another. Has anyone ever
run across the
behavior before and if so, what was the cause?
Thanks,
Charles Newbury

On 10/14/07 10:18 AM, in article
[email protected], "Joe
Makowiec"
<[email protected]> wrote:
> On 14 Oct 2007 in macromedia.dreamweaver, Charles
Newbury wrote:
>
>> Running DW 8, OS 10.4.10, Apache virtual testing
server with php
>> local site.
>>
>> I've Firefox and Safari as primary and secondary
browsers. When
>> working on a page, if I select 'preview in primary
browser', Firefox
>> opens the page with my virtual url...no problem.
Lately, some php
>> files will not open. Firefos give a dialog to open
the file in
>> default (DW) or save to disk. This is very
frustrating since one
>> file it does this to is a login page. Safari does
the same thing!
>
> What happens on the actual server?
>
>> I have select the file in question in the finder
(extension: ,php)
>> and through the Get Info and told Mac OS to open
this file with
>> Firefox and all .php extensions. Rebuilt prebinding
so all php files
>> in the Finder show a Firefox icon, but still neither
Firefox nor
>> Safari will open them. They don't recognize the
>>
>
> Are you sure that your local server is running? Also,
I'm no Mac
> maven, but I'm given to understand that the version of
Apache which
> comes installed on Macs is on the underpowered side, and
should be
> replaced with a version downloaded from somewhere?
True, I'm running Apache 1.3, but I'm leery of trying to
upgrade to a newer
version for fear of messing up everything that already works.
Had a real
headache getting MySQL 5, PHP 5 and phpMyAdmin all up and
running with DW 8.
Fortunately I had David Powers book that gave pretty much
idiot proof
instructions on how to install all this stuff. I'd never been
able to do it
left to my own devices. Another caveat is that my webhost,
like most, is
behind the upgrade curve: they run MySQL 4.1 and phpMyAdmin
2,8 so if I
upgrade too much there may be compatibility issues.
Another oddity, renaming that file from .php to .html
extension causes it
to open fine in Firefox and Safari. I don't think it's kosher
to keep it
that way since it does contain DW8's login php scripts.
Again, there's no
problem with other .php files.

Similar Messages

  • ITunes 10.7 won't open some Libraries

    I just noticed that iTunes (10.7) won't open some of my libraries. I have 5 that I use for various purposes. The main one with all my music is now grayed out. Only 2 out of the 5 will load, and they are not the most important ones, so I am kind of stuck.
    A few weeks ago I upgraded from Leopard 10.5 to Mountain Lion 10.8, then got an iPhone 5, but iTunes worked for a while after the upgrade and I put some songs on the iPhone.
    I just got the fix for iPhoto 4.9 which was causing it's own problems, and now iTunes isn't working. (Actually it wasn't working when iPhoto had problems too.)
    So what can I do to fix this? Delete my library files and start over just when I had it all set up for the iPhone? And will it happen again?

    A valid iTunes library has a file called library.itl  The .xml file is a copy in a different format put there by iTunes so other programs can read the library, but itunes itself uses the .itl file.  So in essence the folders with no .itl have no library.  You can create a blank library by holding down the option key while starting iTunes.  Now import the .xml file from one of those orphan libraries.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html

  • The latest Pages won't save new docs and won't open some old ones. What do I do?

    The latest Pages won't save new docs and won't open some old ones. What do I do?

    Then you have two version of Pages on your Mac.
    Pages 5.x is in your Applications folder.
    Pages '08/'09 is in your Applications/iWork folder.
    Peter

  • My iPad won't open some of my apps and I've tried updating and it says not connected to Internet which I am bc I'm using it right now please help

    My iPad won't open some of my apps says it's not connected to the internet which I am because I'm using it right now. I ant listen to music I can't update I can't do anything

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at
    http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.hmL
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Signal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • GB '09 won't open ANY of my song files

    I have a Core 2 Duo 3.06GHz iMac and have been using GB '09. The hard drive recently died so Apple put a new one in. I cloned my 15" MBP to the iMac and now GB '09 won't open any of my song files. I already tried deleting the GB files in Library/Preferences, and I have reinstalled iLife '09 once already and nothing has worked.
    In the process of troubleshooting I even created a brand new song file and saved it to the desktop. I quit GB and then restarted it and tried to open the file I just created seconds ago and I get an error message saying:
    The document "My Song.band" could not be opened.
    Thay's it. No further info to help me try to figure out why. I've got about half a dozen third-party plugins but I'd rather not start monkeying around with them if I don't have to. I was hoping someone out there has had this happen and knows how to fix it. I know there are various pref and cache files squirreled around on the hard drive, just don't know exactly where and which ones are safe to delete to try and fix this problem.
    Any help would be appreciated. Thanks.

    Okay, problem solved. I tried trashing the test song file I created and got a message that "The item will be deleted immediately". This made me think there were some hard drive permission issues which may be causing my GB problem. I Google around the internet and found the cause and solution.
    It seems I didn't have write access to my own "Home" folder on the HD. Pretty odd, but that was the case. I did a "Get Info" (Cmd+I) on my home folder and added my primary user with Read and Write privileges. After that, files I deleted would just sit in the trash as normal and I was able to open my song files in GB.
    Here's a link to solution that I found:
    http://www.thexlab.com/faqs/trash.html#Anchor-Files-46919

  • Apache htdocs? Where do I load my testing server files?

    I am trying to use my mac as a testing server.
    I am using Apache, PHP, MySql.
    Where do I store my testing server files?
    I does not work in my local user file.
    Example; http://123.10.10.10/~myname/Sites
    I tried using my Sites folder but php will not work. I was told to use my Apache htdocs folder by the php folks. Spotlight shows there is no htdocs file.
    So do I have to go into the Apache folder and create a new folder called htdocs? Or am I missing something?
    Help!
    Thanks
    Ed
    Powerbook 15"   Mac OS X (10.4.3)   Maxed out!

    I needed that info once before. Found it here somewhere.... re-posted here. This should do the trick for you!
    Beavis2084

  • Login settings will not update local testing server files

    When uploading to web server from local testing server, changing login settings in the control panel does not update the local testing server files. Causing login on website not to function.
    It does however update the Connections file and login wizard form.
    What is the best way to change login settings before uploading site to web server?
    Dan

    Dan - I am having the same exact problem. I'm using the restrict access and user registration and login - when attempting to use the Update Record wizard to allow users to change their password or email address, it doesn't change the record.

  • The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    Hi there. I'm having the same problem: my iPad won't import some photos from a folder, saying that they can't be read. They are all JPEGS and some photos taken at the same time have synched fine, but out of a folder with 200 photos, it only lets me synch 37. I'm synching albums created via Photoshop Elements 6, which has worked fine until now.
    I've tried deleting all photos and re-synching, and have also deleted the iPod Photo Cache, but it hasn't made a difference.
    The iPad auto-updated to the latest version of iTunes, so maybe that's what's causing it?
    Any advice gratefully received!

  • My adobe photoshop CS6 won't open it says: 'the preferences file is invalid'. HELP!

    My adobe photoshop CS6 won't open it says: 'the preferences file is invalid'. HELP!

    Please read this and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Audition won't open an MPEG 2 (.mpg) file states

    audition won't open an MPEG 2 (.mpg) file states it is either corrupt or unsupported. On a windows 7 system I have DLMS enabled and still can't get it to work.
    Thanks,!!

    You haven't said which version of Audition you are using. From the appropriate Adobe page:
    Adobe Audition 3 can not open MPEG-1 or MPEG-2 files. An earlier version of Audition, Adobe Audition 2.0, could read MPEG files only if it was installed as a part of the Adobe Creative Suite Production Studio software suite. (Audition does not include the software license required to encode and decode MPEG files; the license was a part of Production Studio.)
    I'm not sure about whether Audition CS5.5 will, but I think that CS6 and CC should.
    Or perhaps your file is corrupted!

  • Safari won't open some secure pages

    It's not just Safari, though - Firefox, Chrome, Opera.
    It's not just my iMac either - MacBook Pro *AND* iPad.
    Some secure sites simply won't open.  It looks like they load (the timer thing goes through the URL) but blink - no page. Just a blank browser window.
    Any clues??
    I've tried reinstalling browsers, trashing preferences, turning off all security measures - pretty much anything you can think of.  OS is 10.8.3, browsers are all updated to most recent versions.
    I'm stumped.  It wouldn't be a big deal except for one page that I NEED to get to for my job. I can't keep running over to my neighbor's house and using IE on his Windows 7 PC - not only is it irritating him, but it's making me crazy that something that works so effortlessly on his crappy PC won't work AT ALL on my Macs!
    HELP!

    3 devices - they all connect using the same router/modem ?
    can you connect at neighbouring house using ipad or macbook pro ? - that would maybe confirm the issue being with your connection.

  • May Safari won´t open some pages

    I´m on the edge to become a Mac-fan after being a long time PC (windows) user. Mac is supereasy to use. There are only some irritating details concerning my Safari. Some web-pages won´t open. Not only don´t the page open, but the page reminding me of the obvious (the page won´t open) opens slowly.
    When this happens, I´m forced to use my laptop PC - NO PROBLEMS OPENING ANYTHING ON THE NET.
    iMac G5   Mac OS X (10.4.7)  

    "Spank me" no thankyou. ;~) "S" is pretty far from "T" but I will assume that's a typo.
    ISP 4.2.2.1 leads us further afield. Hmmmnnnn.
    I have 4.2.2.2 added also. I had no idea from the above that we might be dealing w an ISP issue.
    I would contact your internet provider, mine in Earthlink, and see if you can get their server URLs. Or:
    At Network Preferences, how many locations do you have? I have 4 of which I regularly use 2. Their servers seem to overload at pretty much random times.
    Do an automatic set up, or retry some of the prior arrangements. Adding 4.2.2.1 and 4.2.2.2 will do no harm.
    If this is where the real prob is, give yourself a virtual Green Star for really good research. At least 3 "attaboys."
    If you would come back and sprinkle some Helpful Gold (2) @ 5 pts or Green (1) at 10 pts Stars, that would be nice. (See the bottom of Apple's emails re new posts to thread.)

  • Setting up Dreamweaver CS4 with PHP testing server... Live View doesnt work

    Hello,
    Im trying to setup Dreamweaver CS4 with a php website im
    making. Ive setup the site information, and provided a testing site
    (XAMPP), and i can see the fully rendered .php pages in the Live
    View tab. However, say i change some of the text in the .php file
    (say from <p>Hello</p> to <p>Hi</p>) and
    then click in the Live View tab - the page does not update. It
    seems to do something, bit just returns the same.
    How do i set it up so, like with plain .html pages, you can
    make a change to the source code and instantly see the change in
    Live View?
    (At the moment i have to make the change to the source code,
    save it, click Live View to cancel it, and then click Live View
    again).
    Background:
    Ive setup XAMPP (G:\XAMPP\)
    Ive setup vhosts in apache.
    Ive stored my websites in G:\Websites
    Ive set the testing server to G:\Websites\site, where "site"
    is setup as a vhost and correctly displays when entered into a
    browser.
    Ive set the url prefix to
    http://site/
    Ive set local root to G:\Websites\site
    Any help would be greatly appreciated.
    Cheers.

    > How do i set it up so, like with plain .html pages, you
    can make a change
    > to
    > the source code and instantly see the change in Live
    View?
    Did you try using F5 to refresh the page? If that doesn't
    work for you,
    then you'll have to drop and restart Live view. No need to
    save and reload
    the page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Major_Disaster" <[email protected]> wrote
    in message
    news:gibqir$lgu$[email protected]..
    > Hello,
    >
    > Im trying to setup Dreamweaver CS4 with a php website im
    making. Ive setup
    > the
    > site information, and provided a testing site (XAMPP),
    and i can see the
    > fully
    > rendered .php pages in the Live View tab. However, say i
    change some of
    > the
    > text in the .php file (say from <p>Hello</p>
    to <p>Hi</p>) and then click
    > in
    > the Live View tab - the page does not update. It seems
    to do something,
    > bit
    > just returns the same.
    >
    > How do i set it up so, like with plain .html pages, you
    can make a change
    > to
    > the source code and instantly see the change in Live
    View?
    >
    > (At the moment i have to make the change to the source
    code, save it,
    > click
    > Live View to cancel it, and then click Live View again).
    >
    > Background:
    > Ive setup XAMPP (G:\XAMPP\)
    > Ive setup vhosts in apache.
    > Ive stored my websites in G:\Websites
    > Ive set the testing server to G:\Websites\site, where
    "site" is setup as a
    > vhost and correctly displays when entered into a
    browser.
    > Ive set the url prefix to
    http://site/
    > Ive set local root to G:\Websites\site
    >
    > Any help would be greatly appreciated.
    >
    > Cheers.
    >

  • Browsers won't open webpages but internet connection is fine

    All of a sudden, neither safari nor firefox will open web pages.  However, the computer is connected to the internet.  I have tried the network diagnostic and it says everything is fine.  I have tried turning airport off and on, same with the computer (even left it overnight) and time capsule.  At one point when I turned my computer back on I could get on the web again but the next time I went back to the computer it was the same problem and turning it off and back on did not work that time.  I originally could get on-line with my kindle fire just fine (thus I knew it wasn't my network) but on day 2 when it urned my kindle fire on, it was doing the same thing where it showed that I was connected to the internet but it won't open any web pages.  I've confirmed with other wirless devices though that the internet is working. I can't figure it out, nor figure out why the kindle fire would be affected to (or if that's just coincident and some other issue with my kindle fire, whcih is possible).  I've tried searching the internet and none of the suggestions I've seen for similar problems have fixed mine.  Any help would be greatly appreciated.  Thanks!

    Open System Preferences>Network>Configure>Proxies Tab, make sure none are set, like for HTTP & HTTPS.
    10.5/10.6 instructions, System Preferences>choose interface>Advanced>Proxies Tab, make sure none are set, like for HTTP & HTTPS.
    See if you might have this malware redirecting DNS queries...
    http://macmegasite.com/node/3924
    http://www.ehow.com/how_2128387_remove-osxrspluga-trojan-horse-mac.html
    How to fix...
    http://www.macosxhints.com/article.php?story=20071031114140862
    Get MacScan...
    http://www.apple.com/downloads/macosx/networking_security/macscan.html
    Malware  list....
    How to uninstall MacKeper...
    http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    https://discussions.apple.com/docs/DOC-3039
    http://x704.net/bbs/viewtopic.php?f=6&t=4479

  • Safari (and other browsers) won't open photos or slideshow

    I recently re-published my web site last night with a new template. Everything works fine but now when I click on any photos in my gallery I get the following message in Safari:
    "Safari can’t open “photos:%20Kates%20Summer_files/slideshow.html?slideIndex=1” because Mac OS X doesn’t recognize Internet addresses starting with “photos:”.
    Same goes for clicking on slideshow. Also won't open with windows browsers - error message says something about finding an s: drive.
    Any ideas?

    See my post here:
    http://discussions.apple.com/thread.jspa?threadID=539151&tstart=0

Maybe you are looking for