Problems setting up testing server CS5 with existing PhP site copied to hard drive

A couple of years ago I dabbled in CS3 & PhP, but haven't touched it since 2009.  I still have WAMP loaded on my machines.  I'm now in a work situation where I was asked to see if I could make some simple copy updates to sites written in PhP.  I copied the entire sites over to my hard drive, and placed them in the WAMP www root folder, and followed instructions to setting up the site in CS5 (which is pretty close to the CS3 setup).  I made sure WAMP was running, and I'm still unable to connect. I am using "localhost" as part of the URL for the web server designation. I continue to get an "internal server error" message on these pages.  I am able to, from my browser, type in "http:localhost" and it appears that WAMP is running properly. And I do remember to start WAMP before I start a DW session.
So, I kept experimenting.  If I define a new PhP site and create a test document with simple PhP code, the connection to the testing server works and renders the code.  It's just the existing PhP site I've copied over generates the Internal server message.
Is there something basic I'm not understanding about viewing and manipulating a PhP site created by someone else using DW CS5?

The first question: on what platform? Windows - Mac?
I only succeeded in setting up a testing server on my Mac
with PHP and MySQL after reading a book of David Powers. On Leopard
I belief there still are problems connecting PHP to MySQL.

Similar Messages

  • Dw cs5 with existing wordpress site hosted on yahoo need help connecting to existing remote database

    I am having trouble establishing a database connection.  I can  connect with test databases but am having trouble using dreamweaver wtih  my existing wordpress website.  Am I able to use dreamweaver to edit  and live view my changes before uploading the changed files to my live  site?  Am I able to access my existing wordpress database with  dreaweaver?  I have imported it to my testing server/database but still  seem to be having trouble establishing a connection with it (think maybe  my folder hierarchy might be off).
    macintosh HD/Applications/MAMP/htdocs/nwm/wp/index.php
    "nwm" is the name of the folder that I have copied all of my site  files to and the folder I have dreamweaver pointing to.  "wp" is what I  have all of the wordpress files in (the ones I copied from my yahoo  server - including all my current theme files etc.)
    I am trying to put the info into the mysql connection dialog box:
    Connection Name: Testing (i am assuming this name is for my benefit only and doesn't actually matter)
    MySQL Server: mysql
    User Name: *****
    Password: *****
    Database: wp
    and am getting this message
    MySQL Error#: 2013
    Lost connection to MySQL server at 'reading initial communication packet', system error 61
    did some google seaches of the error.  Tried turning off the  firewall, and the advance tab allow mysql incoming  (there were 2 one  was allow one was not allow.  I changed both to allow)
    Cant really find anything on yahoo to help me out.  Looked in  phpmyadmin database named wp: wp_users to get the username and password  (which due to previous look for help - I think the password was  encrypted cuz it looked like a bunch of mumbo jumbo and am fairly  certain I know the correct password).
    Any help would be greatly appreciated!! I spent $50 on live chat  last night trying to resolve the issue only to find out at the end that  the guy really didn't understand my problem and doesn't have  dreamweaver.  I have also watched countless videos on Lynda.com and have  been thru forum after forum.  While this problem is only a couple weeks  old since I just got CS5.  I have been having trouble making any  headway learning php since I cant seem to make it past the set up  parts.  I have done the php / mysql essential training on lynda.com with  relative success except that I really dont want to work with any more  exercise files so I didn't go on to the beyond the basics. I recently  went thru most of the Dreamweaver CS5 and Wordpress 3. Also did the  first 4 chapters of Dreamweaver CS5 with PHP and MySQL. I need to start  integrating things into my live sites.  I am also trying to work my way  thru the learning php, mysql, javascript book by o'reily media by robin  nixon (as fun as reading a math text book) can't get thru it since I  can't relate any of it to my current sites/needs
    I am on MacBookPro OSX 10.6.6
    Installed MAMP to specification on all 20 tutorials I have tried including lynda.com
    Tested the testing server and is working
    Just installed dreamweaver cs5
    have been using wordpress online to create and edit posts (recently  upgraded to 3.? whatever the latest update was online which I believe  update the files on my yahoo server?)
    Have also installed wordpress on my computer (several times thru each tutorial trying to get this right.)
    Am I expecting the impossible?

    If wordpress controls it's own connection why am I unable to use the live view. I have synced the remote site to my local computer so all the files should be just as they are online with the exception of the DB which contains most of the content.
    I have done all of those steps.  I have even exported the database from inside internet phpmyadmin and imported into computer phpmyadmin.  When I hit live view I get one of couple of errors.
    1.  "One is that the dynamic related files could not be displayed due to an internal server error"
    At some point I was able to view some sample files inside dreamweaver.  But I would like to be able to view my real site files.  I was able to "connect" to the local databases (not the copy of my real one - I think that maybe that was because it is somehow nested inside another db an am going try to reimport to new location).  And then I changed the host/username/password trying to deal with the internal server error. Now instead I get the cannot connect to the database Error 2016 or whatever from the origianl post. Also, I am using yahoo if that matters and all I can find about what their server name is: mysql - is that correct?
    I have been thru this so many times with so many different tutorials I am losing track of what is what.
    2.  Can I access my remote database within dreamweaver? I do not want to create dummy files (seems to be a waste of time).  And while if it had worked exporting/importing a duplicate on to my computer would have satisfied me for a little while it also seems some what counter productive.  Since every post and page is different if I were doing a daily updates etc how would I be able to change the formating or design of them if I can't access the remote files.  Would I re- import everytime I want to work on it to get current database?
    I am trying to be clear.  I listed all the specs I could think as listed  in your "how to get help fast post" (yes I read that at least twice  too) of all of the steps and possible reasons for my problems.  I also  thought that the forum was on a seperate site so I didn't think it would  count as a duplicate.  I am frustrated to tears and am feeling  incredibly stupid that after all this time and all these tutorials yes  you are right I obviously am not understanding what is going on which is  why I am on this forum.

  • Second user with admin, but blocked copying from hard drive

    I noticed today that my new iTunes will not drag and drop songs into playlists. I can do it if I right click on highlighted songs, right click and select the appropriate playlist. Its a pain doing this and not too intuitive as just drag and drop. I searched and found many people have this issue.
    I also realized that can't copy anything from my external drive (iTunes library is also located here) I press command I and realized its locked and after entering password the lock is open. However I still cannot copy songs out of the drive. What the **** is happening? I have used iTunes for over 6 years now and never had this problem. Can someone let me know how I can unlock the external hard drive?
    Just to let you know this laptop is originally installed by my wife with her user. I added my own later so we both have admin access. So not sure why this is happening.
    Cheers for all advice.
    Thanks

    I used my own account to start copying all my songs onto this MBP. I need this for my djing, so it helps if I can custom my playlists and organize my music.
    I could try deleting the other user but not sure how to do this.
    I am not getting any error messages. I can drag songs but when I put them in the playlist folder or out onto the desktop, the highlighted songs bounce back to its original position. No "+" signs either.
    I have the same setup on another mac with the same iTunes latest version. This is the first time its happened to me after many years of using iTunes.

  • Setting for J2EE server do not exist

    Hi,
    I have prepared a web service from a FM.
    I can't test it from the WSADMIN since this system is not integrated to a J2EE server. So I get the error message "Setting for J2EE server do not exist"
    I am able to generate the WSDL file from Tcode WSADMIN
    How can I test this web service from a browser with a J2EE server? If browser not possible then how can I test this web service.
    Thank you,
    Sam

    Hi Sam,
    I am not sure if you can test the web services without a J2EE server. For
    testing in wsadmin, you do not need the system to be integrated with a J2EE server. Only the details of any J2EE server in the landscape can be given in
    wsadmin -> Goto -> Administration Settings .
    Regards
    Srikishan

  • Need Help Setting Up Testing Server

    Hi. I have been using Dreamweaver for a while, but am
    extremely new at the whole testing server thing, as I have been
    building only simple pure-html pages.
    I am want to password protect a part of my site using the
    Insert > Data Objects > User Authentication > Log In User.
    I have already converted my whole site from .html pages to
    .php pages, because I thought that .html pages wouldn't work.
    Everytime I try to use that Log In User menu command,
    Dreamweaver gives me a dialog box that says, "Before inserting this
    object, please do the following: 1. Create a site for this file 2.
    Choose a document type 3. Set up the site's testing server".
    Numbers 1 and 2 have a checkbox which I am assuming means they are
    done correctly. But number 3 (set up teh site's testing server) has
    no checkbox and the dialog box will not allow me to click OK, which
    leads me to assume that I need to accomplish the aforementioned
    step number 3.
    So I go to the Site Definition for my site and under the
    Advanced Tab go to Testing Server. I want PHP MySQL as the server
    model, so I chose that. And I am guessing I need to choose
    Local/Network for the Access option because
    the computer I am building this site on is not connected to the
    internet. (I have no intention of hooking this machine up to
    the internet becauase all of my work I have ever done is on it!)
    Now, here lies my main question: What should the Testing
    server folder be? And what should the URL prefix be? And do I need
    to change anything else?
    If I am not being clear about anything regarding my
    questions, please make a point of it, and I will try to be more
    clear.
    Thank you so much for helping!

    > Host Directory:/root folder/ (if no root folder
    directory use "/"
    Or leave it blank.
    > FTP Host:yoursite.com
    I see that this is a *real* domain, with a real registration.
    It's best to
    just use 'example.com' for dummy domain names.
    > URL Prefix:
    http://your-site.com/
    Ditto. And by the way, there was no hyphen when you first
    used this!
    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
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gkeu60$hjl$[email protected]..
    > You need to be connected to the internet to test dynamic
    attributes.
    >
    > For advanced/testing server enter the following
    formatted exactly as it is
    > displayed:
    >
    > Access:FTP
    > FTP Host:yoursite.com
    > Host Directory:/root folder/ (if no root folder
    directory use "/" no
    > quotations)
    > Login:Host login Username
    > Password: Host Login Password
    > Check Save checkbox
    > No other checkboxes
    > URL Prefix:
    http://your-site.com/
    >
    > Click the test button and see what happens.
    >
    > Best,
    >

  • Set Up Test Server

    The guy who developed our website recently disappeared
    leaving me with the responsibility of making the minor changes we
    needt to make. I only think this is relevant because I really have
    no business doing this and I'm hoping that you all will help me
    through my issue and not tell me to hire a professional.
    Anyway I installed Dreamweaver and IIS on my XP Pro machine.
    I set up the remote server and downloaded (Get) the entire site
    onto a network drive. I set the Local root folder to the location
    that I downloaded the site. I set the Testing Server folder to the
    same location. Given my experience I thought I would change/test in
    the local copy of the site and then Put the changes up for the
    world to see.
    The URL Prefix for my Testing Server is:
    http://localhost/.
    When I try to preview my changes I get a page can not be
    found error. I believe this is because the local copy of my website
    is not in the C:\Inetpub folder. Do I have to move it?
    Do I have to set up a Virtual Directory in IIS? Is it right
    that I can't do this if my website is on a network drive?
    My website does not have a wwwroot page, does that matter?
    I read IIS and Dreamweaver help files today and still
    couldn't figure this out. Thanks for the help.
    Po
    Also - I tried to copy the installation of the software on
    his computer but it doesn't work. I think he changed stuff and IIS
    isn't even there.

    Is the site using ASP? Or ASP.NET?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "powlaz" <[email protected]> wrote in
    message
    news:f97n0v$p1p$[email protected]..
    > The guy who developed our website recently disappeared
    leaving me with the
    > responsibility of making the minor changes we needt to
    make. I only think
    > this
    > is relevant because I really have no business doing this
    and I'm hoping
    > that
    > you all will help me through my issue and not tell me to
    hire a
    > professional.
    >
    > Anyway I installed Dreamweaver and IIS on my XP Pro
    machine. I set up the
    > remote server and downloaded (Get) the entire site onto
    a network drive.
    > I set
    > the Local root folder to the location that I downloaded
    the site. I set
    > the
    > Testing Server folder to the same location. Given my
    experience I thought
    > I
    > would change/test in the local copy of the site and then
    Put the changes
    > up for
    > the world to see.
    >
    > The URL Prefix for my Testing Server is:
    http://localhost/.
    >
    > When I try to preview my changes I get a page can not be
    found error. I
    > believe this is because the local copy of my website is
    not in the
    > C:\Inetpub
    > folder. Do I have to move it?
    >
    > Do I have to set up a Virtual Directory in IIS? Is it
    right that I can't
    > do
    > this if my website is on a network drive?
    > My website does not have a wwwroot page, does that
    matter?
    >
    > I read IIS and Dreamweaver help files today and still
    couldn't figure this
    > out. Thanks for the help.
    >
    > Po
    >
    > Also - I tried to copy the installation of the software
    on his computer
    > but it
    > doesn't work. I think he changed stuff and IIS isn't
    even
    > there.
    >

  • Anybody tested Photoshop CS5 with OS-X Mavericks yet?

    Anybody tested Photoshop CS5 with OS-X Mavericks yet?
    Is it runing?

    OK - solved my issue.  I needed the latest Apple java from http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
    All seems to now work...

  • HT5622 My Ipod Classic shows a red circle with a cross in the middle. I've completed diagnostic tests which have popped up, however any HP/FW/Hard Drive tests freeze the ipod, as if the hard drive won't spin. What do I do?

    My Ipod Classic shows a red circle with a cross in the middle. I've completed diagnostic tests which have popped up, however any HP/FW/Hard Drive tests freeze the ipod, as if the hard drive won't spin. What do I do?
    After holding down the Select and Play/Pause button, I was able to restart the Ipod and then it brought me to a Diagnositc test. I have tried doing both the Mannual and Annual test on the ipod however in each test, the ipod freezes on different access tests. The HP (headphones) test, shows the headphones are detected, but then if it tries to play a song to make sure they work it freezes and goes back to the red cross. I have looked at various other questions regarding the FW cable, however I don't believe i have such a cabel. Then the Hard Drive test freezes up and I can hear a ticking noise coming from the drive but it doesnt seem to be spinning. Alongside these test issues, any computer cannot see the Ipod when plugged in (including itunes). Therefore some tests for the USB drive cannot be completed. I do not recall dropping it badly, though I have dropped it previously. Does all this mean there is damage to the drive? Should I instead take it to an apple store?
    Many Thanks

    The stats look fine. Try the DFU Restore method shown in Corrupt iPod classic. It may pay to disable any anti-virus software and use the staged transfer method to reload data, assuming you get that far.
    tt2

  • My hard drive crashed on my MacBook Pro crashed and I need to get my CS5 up and running on the new hard drive. I copied what I could onto an external hard drive but when I drag and drop I get directions to uninstall but the uninstall folder I have does sa

    my hard drive crashed on my MacBook Pro crashed and I need to get my CS5 up and running on the new hard drive. I copied what I could onto an external hard drive but when I drag and drop I get directions to uninstall but the uninstall folder I have does says it is an alias that is no longer present. I get error 6. I would like to get my software up and running on the laptop again please

    If you subscribed to iTunes match the songs are kept in icloud. If you didn't but you did save the actual iTunes library folder which should include the music, video, etc.  you should be able to just drag this file back to your machine in the same place and when you open iTunes it will give you a chance to identify the iTunes library folder. 
    You can test this to find out if you saved the media files or not and don't need to attach your nano to do it. 
    You are correct that once you connect the nano it will clear the existing files from it and sync it with the new iTunes library. 
    If you don't have the media files i'm not sure if/how to get them back on a windows ipod.  I have everything backed up regularly because of the horror stories I have seen & heard.

  • I have 5 computers authorized to use my iTunes. 2 of those computers do not exist and  have had their hard drives destroyed. How do I remove those computer from my iTunes account?

    I have 5 computers authorized to use my iTunes. 2 of those computers do not exist and  have had their hard drives destroyed. How do I remove those computer from my iTunes account?

    Begin by opening the iTunes program and going to the iTunes Store via the iTunes Store button in the top right.
    Once you're at the iTunes Store, click on the Sign In button at the top left corner (if you're not signed in) or on your account name in the same location (if you're already signed in).
    This will bring you to your iTunes account. In the top box, you'll see a section labelled Computer Authorizations towards the bottom. Next to it is a button that reads Deauthorize All. Click it.
    A window will pop up asking you to confirm that this is what you want to do. Continue.
    In just a few seconds, all 5 computers on your account will be deauthorized.
    Now, re-authorize just the computers that you still use and you'll be all set.

  • Backing up Mac HD with Time Capsule AND an external hard drive

    I am sure that this question has been asked one way or another but I can't seem to find the exact answer.
    I would like to back up my Mac HD with the Time Capsule AND another hard drive essentially to create two backups. Should one fail, I still have another copy as a precaution. The Time Capsule will be my primary back up because my external hard drive is usually switched off and will only be turned on from time to time to perform "less frequent" backups.
    With Time Capsule AND the external hard drive on, will Time Machine just update the backup on the external hard drive without becoming confused with the other copy on Time Capsule? In other words, can Time Machine distinguish between two different Time Machine Backup files and bring them up to date accordingly?
    I understand there is an archive function on the Time Capsule, which would also serve the purpose. However, I am wondering if there is another way.
    Thanks.

    Rheopaipo wrote:
    I am sure that this question has been asked one way or another but I can't seem to find the exact answer.
    I would like to back up my Mac HD with the Time Capsule AND another hard drive essentially to create two backups. Should one fail, I still have another copy as a precaution. The Time Capsule will be my primary back up because my external hard drive is usually switched off and will only be turned on from time to time to perform "less frequent" backups.
    With Time Capsule AND the external hard drive on, will Time Machine just update the backup on the external hard drive without becoming confused with the other copy on Time Capsule? In other words, can Time Machine distinguish between two different Time Machine Backup files and bring them up to date accordingly?
    I understand there is an archive function on the Time Capsule, which would also serve the purpose. However, I am wondering if there is another way.
    I don't think it's possible to configure Time Machine to back up to two locations without modifying its settings frequently.
    You might consider using that external drive to hold a bootable backup. You can create such a thing with either of the utilities SuperDuper! or Carbon Copy Cloner. If you pay the registration fee for SuperDuper! (~US$28), there's a mode where it will back up only what has changed, which makes the backup operation run quicker. (Carbon Copy Cloner may offer a similar feature.)

  • I recently added my old mac hard drive to a new macbook with an SSD as my main OSX drive.  I am having trouble with permissions in viewing my old hard drive.  What is the best way to get complete access to my old hd installed in my new Macbook?

    I recently added my old mac hard drive to a new macbook with an SSD as my main OSX drive. I am having trouble with permissions in viewing my old hard drive, when I save a permission when I reboot the full access is changed again .  What is the best way to get complete access to my old hd installed in my new Macbook?

    Open the Get Info window for the old drive. Click the Lock icon on the bottom of that window and type in your password. In the permissions area click the Plus sign ( + ) and Add your Username to it and set it to Read & Write. Close that window. you should now have full access to all the files.

  • Illustrator Cs5 will not open.  Recently upgraded hard Drive and upgraded to Maverick OS 10.9.3.  Where should I start troubleshooting?

    Illustrator Cs5 will not open.  Recently upgraded hard drive and upgraded to Maverick OS 10.9.3.  Where should I start troubleshooting?

    gj,
    Unless it has worked since the upgrading, I believe you should uninstall, run the Cleaner Tool, and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • I have created a slide show with music but when i view it or attempt to burn to a CD or even copy to hard drive after about 15 sec the program stops working and it shuts down

    Elements 10 was deactivated on desktop and installed on new laptop.  Have on
    y used it for photo editing until yesterday. Created a slide show with music but every time I try to burn to cd or move it to hard drive after about 15 sec, it says windows has encountered a problem with this program and must shut down.
    I Also can't sign in to adobe with the program. It simply spins and I had to force close the program.
    help!?

    I am using photoshop Elements 10 under the create tab...slide show.
    Used it on my desktop several times. Deactivated it and installed on new lap top about 5 months ago.  Had not used it other than for photo editing until today.
    I can also not login in thru the program. It simply spins and I finally had to force close the program
    Toni V. Sloan
    Sent from my iPad
    On Jun 27, 2014, at 7:03 PM, Chris Cox <[email protected]>
    I have created a slide show with music but when i view it or attempt to burn to a CD or even copy to hard drive after about 15 sec the program stops working and it shuts down
    created by Chris Cox in Photoshop General Discussion - View the full discussion
    Photoshop doesn't do slideshows… What software are you using?
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6504356#6504356
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Is the T420s ultrabay compatible with the seagate momentus XT 750gb hard drive?

    Hello,
    I have a T420s with a 160gb SSD. last friday i got the BAD_CTX error for the SSD drive and lost all of my data. i called lenovo support (still under warrenty) and they told me the drive was fine. i was shocked! never the less, i found a way to get the drive to work again, but this "fix" will delete all the data on the drive.
    i want to use the ultrabay to add a new HDD to backup my SSD on and would like to know if the these three products are compatible.
    T420s using the ultrabay with a seagate momentus XT 750gb hard drive?
    Thanks in advance for your help...
    James

    jamesrb wrote:
    T420s using the ultrabay with a seagate momentus XT 750gb hard drive?
    I'm 99.9% certain that the answer is yes. I have a 500GB HDD in my UltraBay with no problems.
    Cheers... Dorian Hausman
    X1C2, TPT2, T430s, SL500, X61s, T60p, A21p, 770, 760ED... 5160, 5150... S360/30

Maybe you are looking for