PHP in Dreamweaver CC
I have a responsive (automatically format the web when you use ipad or smartphones) website to work on. I'm using Dreamweaver CC now and I tried to open it and its just code? Is their a simplest way to help me about this problem? Thank you in advance. @Dee
PHP files may or may not be actual pages with a design to look at. Depending on how the site is set up, the final pages that the viewer sees may not actually exist until the server parses the php and gives the viewer the final output in the form of a page.
Do you have a local testing server installed? Have you tried Live View in DW?
Similar Messages
-
PHP causes dreamweaver to crash
When I open a php page it will open fine but if I click any
of the php code dreamweaver just freezes. I have turned off
validation in preferences but still no help.See if this TechNote helps:
Dreamweaver crashes when accessing help system when Internet
Explorer 7 is
installed
http://www.adobe.com/go/6d7a2c59
David Alcala
Adobe Product Support -
Hi although I not new to Dreamweaver I am new to PHP files. How do you edit PHP files within Dreamweaver. For example, in an existing PHP file where I want to insert a picture/graphic it puts it elsewhere and then I have to move it?
Thanks!
DCanned Heat wrote:
> How do I go about editing zen cart php in Dreamweaver in
the design
> wysiwyg view? Can it be done? If not, edit with what?
You can try to click on the "live data view" icon on the top
bar of page window.
But I don't think you can *change* live data view in design
view, i.e. drag the edge of a PHP
generated div to make it wider. You'll need to edit PHP in
the code.
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing List -
The changes i made to an exisiting php in dreamweaver have not gone onto the live website?
The changes i made to an exisiting php in dreamweaver have not gone onto the live website? Does anyone know how to make this go live?
teaganmaddocks wrote:
The changes i made to an exisiting php in dreamweaver have not gone onto the live website? Does anyone know how to make this go live?
Not sure what changes you made so this is a wild guessing game.
This may be a browser cache issue - have you refreshed your browser or viewed the page in a different browser? -
Using MySql and PHP with Dreamweaver on a Mac
Hello all,
As always if the answers to these questions are obscenely
obvious please humour me.
I use XHTML and CSS in my websites and realise that it is
time that I dabbled with SSI. So I've started using PHP.
However, I have been following the installation directions of
MySql and am running into problems. I am installing the relavent
software and am then unable to find it on my Mac, the startup files
are there but the actual MySql data appears to not be installed
despite my computer telling me it is...... I am using a G3 running
OSX 10.4 is this good enough? I noticed talk of needing a PowerPC
or Intel mac. Is this the case?
Also, would I need MySql installed on my actual computer if
the my servers have it already? And does Dreamweaver 8 have both of
these programs installed as standard?
If you could help out I would be very appreciative as I would
like to learn this stuff and I appear to be struggling at the
outset....
Cheers
M.AM.A.Wilson wrote:
> However, I have been following the installation
directions of MySql and am
> running into problems. I am installing the relavent
software and am then unable
> to find it on my Mac, the startup files are there but
the actual MySql data
> appears to not be installed despite my computer telling
me it is...... I am
> using a G3 running OSX 10.4 is this good enough? I
noticed talk of needing a
> PowerPC or Intel mac. Is this the case?
MySQL is a relational database management system that
comprises a
database server and several utility programs. Although you
install it
like any other program on a Mac, the similarity stops there.
First, the point about PowerPC and Intel Macs is that there
are
different versions of the MySQL installer for each type of
processor.
I'm pretty sure that a G3 is OK, but you must choose the
PowerPC version
of MySQL, not the 64-bit or x86 (Intel Mac) version.
Once you have installed MySQL, you need to drag the
MySQL.PrefPane icon
from the disk image onto your System Preferences. This
installs a
Preference Pane that enables you to start and stop MySQL. The
Preference
Pane has an option to start up MySQL automatically, but in my
experience, it doesn't work on Tiger. You need to open the
Preference
Pane, and click Start MySQL Server each time you start your
computer.
The best way to work with MySQL is to use a graphical
interface, such as
phpMyAdmin. As Osgood has mentioned, I have written a book
about PHP and
Dreamweaver, which goes into all the necessary details. It's
also very
Mac-friendly with separate instructions where necessary for
PC and Mac.
More details here:
http://foundationphp.com/dreamweaver8/
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Convert DW html pages to PHP in Dreamweaver CS4
Created web pages in DWCS4 in html but discovered because I need some form pages to interact with MySQL that I should have created pages using DW PHP format. Is there a simple way to convert all html pages to php using dreamweaver CS4? OS is Win XP. Have access to hosting company with MySQL, PHP,PHPAdmin.
I would recommend against Nancy's suggestion here (and it's REALLY weird to see myself typing that).
I say it only because you are working within an existing site that likely already has links going to the .html file you are changing.
If you do a Save As and create a new .php file based on the still existing .html file, you will need to manually change the links on the pages that are currently pointing to the that .html file so they will point to the new .php file. You would need to either open the pages individually and fix the links, or use DW's Find & Replace feature and do a site-wide correction.
However, if you change the file extension from within the Files tab instead, DW will update any pages that link to it automatically. -
Mysql, PHP, and Dreamweaver
Hi!
I am struggling with the mysql connection problem with
Dreamweaver 8.02 on the mac. I downloaded the trial version of both
the Windows and the Mac of Dreamweaver. On the Windows side, I can
put all my information in and it connects to the database fine.
However, if I duplicate every single entry for the server
information on the Windows side to the Mac side, I get the never
ending problematic "404 File Not Found" error message and
"unidentified error" message that keeps popping up.
Even furthermore, after checking the web server logs, when I
test the mysql connection on the Windows end, I see a post on the
web server. When I check it from the mac end, I see nothing on the
web server.
I have used Dreamweaver in the past on the mac side, and I
have always struggled with getting this to work. Why am I having so
many problems with it and how can I resolve them?
Thanks in advance...wiz561 wrote:
> However, if I duplicate every single entry for the
server information on
> the Windows side to the Mac side, I get the never ending
problematic "404 File
> Not Found" error message and "unidentified error"
message that keeps popping up.
This is probably a result of the testing server definition on
your Mac.
The normal location for dynamic sites on a Mac is in the
Sites folder of
your home folder. The URL prefix for this translates to this:
http://localhost/~username/
Not
http://localhost/ as on Windows.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
ANN: "Foundation PHP for Dreamweaver 8" - DW 8.0.2 updates
Readers of "Foundation PHP for Dreamweaver 8" who have
installed the
Dreamweaver 8.0.2 updater, should visit the book's update
page at
http://foundationphp.com/dreamweaver8/updates.php#802updater
I have posted details of changes resulting from the release
of the 8.0.2
updater. The main issues are as follows:
* SQL queries that use MySQL functions may be corrupted
(Adobe has
confirmed this as a new bug).
* Changes to the Advanced Recordset dialog box.
* XSL Transformation server behavior fails in PHP 5.1.4 (not
clear
whether this is a Dreamweaver bug or a PHP one). Fortunately,
there is a
simple solution - Adobe has been alerted to the problem.
I have also created new download files for Chapters 8 - 10
(Chapter 11
will follow later). They will eventually be moved to the
book's official
downloads page, but can already be downloaded from the
friends of ED
forum at the following address:
http://friendsofed.infopop.net/2/OpenTopic?q=Y&s=989094322&a=tpc&f=8033053165&m=7831083921 &r=5741045921#5741045921
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/David Powers wrote:
> Readers of "Foundation PHP for Dreamweaver 8" who have
installed the
> Dreamweaver 8.0.2 updater, should visit the book's
update page at
>
>
http://foundationphp.com/dreamweaver8/updates.php#802updater
>
> I have posted details of changes resulting from the
release of the 8.0.2
> updater. The main issues are as follows:
>
> * SQL queries that use MySQL functions may be corrupted
(Adobe has
> confirmed this as a new bug).
> * Changes to the Advanced Recordset dialog box.
> * XSL Transformation server behavior fails in PHP 5.1.4
(not clear
> whether this is a Dreamweaver bug or a PHP one).
Fortunately, there is a
> simple solution - Adobe has been alerted to the problem.
>
> I have also created new download files for Chapters 8 -
10 (Chapter 11
> will follow later). They will eventually be moved to the
book's official
> downloads page, but can already be downloaded from the
friends of ED
> forum at the following address:
>
>
http://friendsofed.infopop.net/2/OpenTopic?q=Y&s=989094322&a=tpc&f=8033053165&m=7831083921 &r=5741045921#5741045921
>
David,
Will this affect pages prospectively? In other words, if I
update to
8.2 and then create the database and queries, will everything
be just
tickety boo and it's only already-created functions that are
in jeopardy?
Thanks for staying on top of this!
Bonnie in California
kroko at
sbcglobal dot net
http://www.theanimalrescuesite.com/cgi-bin/WebObjects/CTDSites.woa -
No php on Dreamweaver with wampserver.
I have wamp server working fine and via IE it will display my
Joomla1.011 php website. However, when it try to view the same
pages via Dreamweaver, in split or design view it shows little gold
php icons rather than displaying the php page. When there is a
graphic it will display that.
Preview in browser also works fine.
It shows the site folders in the files window at the right.
For wamp I took all the standard defaults.
Site Definitions are >Local Info: Site name Joomla, Local
root folder c:\wamp\www\ ; Deafault Images folder
c:\wamp\www.joomla\iamges\ ; HTTP address
http://localhost/joomla/
What am I doing wrong.
Thanks
LarryDocWeathers wrote:
> I have wamp server working fine and via IE it will
display my Joomla1.011 php
> website. However, when it try to view the same pages via
Dreamweaver, in split
> or design view it shows little gold php icons rather
than displaying the php
> page. When there is a graphic it will display that.
>
> Preview in browser also works fine.
PHP is a server-side language that needs to be parsed by the
server.
It's perfectly normal for Dreamweaver to show just the gold
icon in
Design view. If you want to see an approximation of how the
page will
look when the PHP is parsed, click the Live Data view icon on
the
Document toolbar.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
How to make extensionless files open as PHP in Dreamweaver
I currently have some files that do not have any file
extension. For example, my file would be "test" instead of
"test.php". Is there a way to tell dreamweaver to open an
extensionless file, by default, as a php file? Right now it just
opens it up as a plain txt file. I was looking through the config
xml files for dreamweaver, but didn't want to break anything.
Thanks in advance,
JesseOn 02 Apr 2008 in macromedia.dreamweaver, Michael Hager
wrote:
> you can't get browsers to open files without the proper
extension.
Sure you can, at least with an Apache server:
http://httpd.apache.org/docs/1.3/content-negotiation.html
I recently found out that Apache on Debian comes with it
enabled, so that
if the filename on the server is foo.php, you can surf to
http://example.com/foo, and the
file will come up.
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php -
Making Rich Text Editor with PHP in Dreamweaver - Problem with CKEditor...
Hi,
I am developing a website in Dreamweaver and using the platform of PHP and MYSQL. I need to develop a Rich Text Editor just like the one I am typing at the moment. With my recent searches I have come across with CKEditor as one of the possibilities to add a Rich Text Editor to my website. I have seen older versions of CKEditor also known as FCKEditor which I believe unfortunatley is out of date and obsolete now (discontinued). I cannot find any of the downloads now from anywhere on the web.
I can find FCKEditor tutorials with PHP, but can not find CKEditor tutorials for PHP (when I try googling it, it always gives me FCKEditor page). Can anyone please help me and tell me if I can still make Rich Text Editor using CKEditor and PHP?
If yes, please guide me how? Any tutorials or reading material will be very helpful.
Regards,
Bilal . KhanYes, you absolutely can use CKEditor to create a rich text editor with PHP/MySQL.I have tried several editors and it's my choice.
Here is a link to the documentation page:
http://docs.cksource.com/
CKFinder is also very good in conjunction with CKEditor. Although it costs $59/per website, it's better than the free alternatives. -
How to view PHP in Dreamweaver
Hi, this is probably a silly questions but how do I work with
PHP files in Dreamweaver – since I can't see what's on the
page until I preview in a browser. Is there a way to "turn on"
layout visibility or something. I'm trying to figure out how to
edit WordPress files using Dreamweaver.
Thanks,
HannaIs there any HTML on the page? Sometimes you will be looking
for "Design
view" on a page that has no Design view to show you.
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
==================
"HannaB" <[email protected]> wrote in
message
news:geqsc8$s3c$[email protected]..
> HI Michael, I have set up a web server locally (apache)
and I can see
> everything when I preview via "localhost" ? my problem
is that I can't see
> to
> edit the document when it's opened in Dreamweaver. All I
get is a blank
> page if
> I try to see the layout.
> -
Flash problems on PHP pages - dreamweaver
hi, i'm building a site that's basically a bunch of php-pages
(header, content, menu...) that are loaded into a index.php page
using "require" and javascript etc. anyways, many of the pages will
include flash files and this is causing some problem. have been
doing this kind of stuff before, but the flash code has changed
with the new version of dreamweaver. and i'm having trouble
figuring out what the problem is.
the index page is at
http://www.onion-berlin.com/test
the logo animation (flash) sits on a page called header.php
and works like it should
but the mustavuori.php page in the content div isn't working.
the text is there, but the flash doesn't show.
the flash icon on the index.php page (in dw) looks broken,
but on mustavuori.php not.
what's wrong?
i put the
<script src="Scripts/swfobject_modified.js"
type="text/javascript"></script>
in the head-section of the index page,
but where should this stuff go:
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>and yeah, don't pay attetion to the news section. the links
& pages are not yet in place... -
Noob trying to set up PHP for DreamWeaver
When I paste this into the command prompt:
cd Program Files\MySQL\MySQL Server 5.0\bin mysql -uroot
-pPassword CafeTownsend < tutorial.sql
I get this:
The system cannnot find the file specified.
I have checked everything I can think of. I checked the file
path. I checked the file name. I don't recall me specifying a User
Name when I installed MySQL.( I think that would cause another
error message all together.) I triple checked to make sure I had
the SQL script file in the bin file. I suspect there must be
something here really obvious that I am missing... Can someone
shine the light of experience on this situation.
Thank you.
Mr. Lipshitzmahakala8 wrote:
> 1. I did not include my password in the command line
from the tutorial in my
> post. My password is not pPassword. I do change the
default text when entering
> the command into the prompt. I was concerned that I
didn't amend -uRoot when
> using the command b/c I didn't recall specifying a root
name in the MySQL
> installation. It doesn't ask for one in the MySQL
command prompt when I sign on
> so I assumed it was not an issue.
The root user is the MySQL superuser with complete control
over every
database and user account. It is created by default, so you
don't need
to specify anything when installing MySQL. A new installation
of MySQL
is not password protected (if it were, you wouldn't be able
to get in).
That's why I said it assumes that your root password is
Password. The
lowercase p in front of Password is the instruction to MySQL
that you
are supplying the password. If you use that particular way of
accessing
MySQL, there must be no space between p and Password (or
whatever your
password is). Since it involves typing out your password in
plain text,
the normal way is to type just the p. After you press Enter,
MySQL then
prompts you to enter your password. If you haven't set a
password,
though, you should leave out the p.
>The command line in the tutorial that
> I have cut and pasted here reads:
>
> \cd Program Files\MySQL\MySQL Server 5.0\bin mysql
-uroot -pPassword
> CafeTownsend < tutorial.sql
No, it doesn't. It contains three commands as follows:
cd \
cd Program Files\MySQL\MySQL Server 5.0\bin
mysql -uroot -pPassword CafeTownsend < tutorial.sql
The first command (cd \) changes your current directory to
the top level
of the C drive. The alternative that I gave you accomplishes
the first
two commands in a single step.
> Port 80 is open on my machine. I also went back and
opened port 81.
> I turned off the windows firewall. I didn't explain this
before. However, is it
> even necessary to be concerned with ports when you are
running an Apache test
> server on your own development machine?
MySQL doesn't run on port 80; it uses port 3306 by default.
The fact
that you have managed to create the database through the
MySQL Command
Line Client indicates that MySQL is working correctly.
However, you do
need to be concerned about ports and firewalls on your own
machine. One
of the most common causes of problems with server-side
development is
the fact that the Windows firewall (or other security
software) is
blocking communication between Dreamweaver and Apache and/or
MySQL.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Using PHP with Dreamweaver and Contribute
I work for a small to medium government agency and we are re-vamping our website. Money and staff are very minimal here, so any hope of one or two full-time people managing the entire website, or of purchasing a content management system, are totally out of the question.
My question is: for a group of people that are capable of using either Adobe Contribute or Dreamweaver in Design View only, are there any disadvantages or problems with using PHP?
Here's more detail: In our situation, we really don't have the choice of editing straight HTML code, since many of our users would not be capable of doing so. If we could afford a full-time web person, that would be an option, but that's not possible at this point. Some of our users are going to be limited to using Adobe Contribute as well, which is a simpler option for some of the less-experienced users. Nonetheless we want our site to have a professional and consistent look, so a technology like PHP would allow us to repeat content across many websites. By the way, that's all we'd be using PHP for as far as I know; just to enable me to edit a single page and thus change the navigation content across the whole site.
Does anyone know of a reason why we couldn't build the site using very simple, limited PHP and allow people to edit it using Dreamweaver design view and Adobe Contribute?
Thanks for any thoughts or suggestions that you can provide!
P.S. We have also considered Dreamweaver templates, and so far that isn't working, due to the multi-login setup that we have.
P.S.S. Although I do decently in HTML and CSS and a teeny bit of JS, I know nearly nothing about PHP, other than this: <?php include("header.php"); ?>You can use that extension if you like. You need to make sure that your page that has the SSI have an extension that will process the scripts as mentioned above.
.shtml, .php
I always name my SSI so I know that they are includes.
header.inc.html
header.inc.php
header.inc.txt as examples.
If you are using PHP, then it should process the includes.
A good simple test is to add a SSI to a page.
Do something simple like.
<p>Welcome to our website</p>
Name it welcome.inc.php
Then include it in a page, upload it to the webserver and visit the page.
I am using contribute for people to update areas of our website (hate it) and I manage the overall website myself.
Maybe you are looking for
-
Hi I am running oracle11g on enterprise linux 5 and everything seems to be ok. db and enterprise manager starts ok and works fine.I am just little confused when I check em startup logs that are full of errors and warnings. please see below. May I ign
-
Hello, When I launch Workgroup Manager and tried to delete a account, it says it got an unexpected error. When I try to login to a network account on a MacBook connected to the server, it says unable to login to account. I tested DNS and it correctly
-
Debug Container Element Transfer
Dear all, In our scenario a String variable was sent to workflow as event container element. It is then transferred to a workflow container element. Then it is given to an element in a task container. But now the execution has some problem. How shoul
-
Event raised upon successful outbound idoc INVOIC
Is there any event that I can use to trigger a workflow when an INVOIC02 idoc is created successfully? This is an SD billing document created from VF01. output type RD00 I want to use workflow to take that idoc, transform it to another format, then
-
The candara font in italics is turning my words into what looks like another language (it's only happening in the italics version). Does anyone know how to fix it? (I'm running OSX 10.8.3 on a new iMac and the only change I've made recently is to in