Support » Installing WordPress » XAMPP / WORDPRESS / DREAMWEAVER issue

  • I have installed the XAMPP server (mySQL/apache) on my computer so I can test my websites locally. I have the mySQL and apache running as we speak. I am also using Dreamweaver CS5. My only problem is with viewing WordPress .php files within Dreamweaver LiveView. I created the wordpress database in mySQL and assigned privileges. I created a new site in Dreamweaver called ‘blog’. I downloaded the latest WordPress build. I was able to activate the Worpress database, login to wp-admin and acivate the ‘twentyten’ theme. I can view the twentyten them when I call up local url = http://localhost/wordpress/.

    However, when I click on any of the .php files in the Dreamweaver Local Files, I can’t see them in the Live View, I receive .php errors. Examples:

    when cliking on index.php = Fatal error: Call to undefined function get_header() in C:\xampp\htdocs\wordpress\wp-content\themes\twentyten\index.php on line 16

    when clicking on functions.php = Fatal error: Call to undefined function add_action() in C:\xampp\htdocs\wordpress\wp-content\themes\twentyten\functions.php on line 51

    Strange thing is, within my Dreamweaver Local Files, I see ‘stand-a-lone’ files at the top of the list (ie: wp-trackbacks.php, wp-config,php, etc.). I can click on index.php and see the twentyten homepage in Dreamweave Live View. However, within the folders such as wp-content (ie: wp-content/themes/twentyten), I can’t view index.php. in the Live View. Nor can I view any of the .php files in the wp-admin or wp-icludes folder.

    I can’t figure out why. I am a novice and still learning about .php environment/local test server/database mySQL connection…… I believe I set those up correctly, the database ‘test’ was handshaked.
    Maybe I am not pointing the site/server to the correction location for wordpress? On my local computer, I have:

    C:\xampp\htdocs\ …… the wordpress is located at C:\xampp\htdocs\wordpress\

    In Dreamweaver I have this set up:

    (site connection):

    site name = blog
    local site folder = C:\xampp\htdocs\wordpress\


    server name: blogconnect
    connect using: local/network
    server folder: C:\xampp\htdocs\wordpress\
    web url: http://localhost/wordpress/
    testing server: PHP MySQL

    (mySQL connection)

    connection name: blogconnect
    mySQL server: localhost
    username: kenneth
    password: …….
    database: wordpress

    Sorry for the long post, hope someone can assist. I also posted this problem in the Adobe forum but have not found a solution. I am hoping others have experience with a XAMPP / WORDPRESS / DREAMWEAVER set-up. Thank You

  • The topic ‘XAMPP / WORDPRESS / DREAMWEAVER issue’ is closed to new replies.