Does 10.4.7 break PHP/MySQL installations like 10.4.6?
Our server is still using 10.4.5 because I didn't have the time or inclination to deal with the reported broken PHP installations, etc.
Am I still going to have the same problem going from 10.4.5 to 10.4.7?
It appears that you think there was a widespread problem with PHP/MySQL when upgrading from 10.4.5 to 10.4.6. I did not suffer from this, nor hear much about it. Perhaps it was a bit more specific to your config? Why don't you tell us about your previous problem.
Similar Messages
-
Apache php mysql installation on arch
does anyone have a tutorial on how to install :
- apache
- php
- mysql
on Archlinux
i have installed apache
pacman -S apache
pacman -S php
pacman -S mysql
but apache won't start : /etc/rc.d/httpd start - it gives me FAIL
and when i try httpd it give a nasty error
httpd: arp_sockaddr_info_get() failed for pufos (pufos - the linux box name)
httpd: Could not reliably determine the server's fully qualified domain name , using 127.0.0.1 for ServerName
is because i didnt configureg good httpd.conf or what
anyway , a tutorial for installing apache php and mysql would be perfect.
Thank guyspacman -S mysql
/etc/rc.d/mysqld start
:: Adding mysql group
/etc/rc.d/mysqld: line 14: groupadd: command not found
:: Adding mysql user
/etc/rc.d/mysqld: line 19: useradd: command not found
chown: 'mysql.mysql': invalid user
:: Starting MySQL [FAIL]
omg , if the mysql installed through pacman get stuck cause 'useradd' does not exist as a command .... huuuh
??? any sugestions ? -
Any reason why a .exe projector would not communicate with a php/mysql
hello;
I have a .dcr in a directory, that when runs from a browser does everything as expected: calls php/mysql, etc;
however, I have a .exe in that same directory, published at the same time, but does not seem to be getting the php/mysql calls...
any thoughts please... thanks.currently everything is running on my computer ( win xp with apache server with php/mysql modules ) ... I currently use my default winxp firewall ... hmm, maybe I should turn it off and see what happens
-
How to create php/apache/mysql installer with AIR
Dear Flexer,
I'd like to use AIR to create my own web tools installer (like mamp, wammp...).
But I have no idea how to do that.
Can you help me?
ThanksThere's a tutorial here:
http://www.php-mysql-tutorial.com/wikis/php-tutorial/installing-php-and-mysql.aspx
That said, why go through all the trouble? There are a number of applications out there than install and configure Apache, PHP, and MySQL for you. -
I'm using windows DW 2014.1 cc. I'm following lynda.com tutorials to build a website database with PHP and MySQL. I learned I have to download Adobe Extension Mngr to active DATABASE, BINDING, SERVER BEHAVIOR panels, which I've done. BUT NOW I'VE BEEN ADVISED NOT TO USE THESE TOOLS for new development. If this is the truly the case, then WHAT TOOLS DO I USE to develop a website that has a database?
then WHAT TOOLS DO I USE to develop a website that has a database?
Besides the tools you would already need for a system using server behaviors (web server, PHP, MySQL, phpMyAdmin) the only extra tool you need is your own brain.
A lot of people are disappointed by the lack of database tools in DW now, but really it's much better this way. You can never achieve better than a rinky-dink dynamic website using server behaviors. The code Dreamweaver dynamic behaviors create is really terrible. (I'm not insulting the fine folks who wrote the feature. It's just a consequence of automated code.) You can write better, simpler, more maintainable code yourself, and over time you will improve. With server behaviors you cannot improve. you get stuck in database kindergarten. -
I'm a beginner with this PHP/MySQL language, but I'm using
Dreamweaver CS3 to help things along. I've set up my database with
my host (using PHPmyAdmin) and put in a table with some fields.
Then I went into Dreamweaver and set up everything and it saw the
database name perfectly. Then I made a recordset and it saw the
fields just fine. I then made an input page to put the data into
the database and that went off without a hitch. I then made a basic
webpage with nothing but the call to display 2 of the fields in my
database (I did the test in dreamweaver and it saw all the data I
populated my database with perfectly). I then told it to preview in
Firefox and got a blank page... Ok I must have done something
wrong, so I put in some basic text just so I could see if even that
would show up correctly. Then I previewed in Firefox again and not
only did it show up, but the 2 fields showed up as well! Yea! So I
made some changes to the fields I wanted to show and again did a
Preview in Firefox. I was again treated to a blank page. Not even
my basic text was showing up. I went back to Dreamweaver and added
some more text... preview... works perfectly showing everything. I
refresh the page and it's blank. I close Firefox and preview again.
It's a blank page, but for the heck of it I decide to View Source
and lo and behold all the data is there. I close the source and try
reloading the page... blank. I'm at a loss. Any idea why this might
be happening?jays99 wrote:
> Thanks, David. I have your PHP5-Flash 8 book and egerly
await your newest. I
> installerd MySQL 5.027 for 10.4 intel which but it does
not come up
> automatically and there is no MySQL control on the
Preferences. I read
> somewhere that I have to open a file and change some
lines of code in a config.
> file. Do you have any insight to that? Thanks again, Jay
Sorry, I haven't tested anything on an Intel Mac yet. Testing
everything
on Vista for my new Dreamweaver book has given me enough of a
headache.
However, I'm pretty sure that my editor has an Intel Mac, and
he
followed the instructions in "PHP Solutions" without any
major hiccups.
(They're pretty much the same as in the Flash book.)
Isn't there a MySQL.prefPane icon in the MySQL installation
package? I
have found that MySQL won't start automatically on 10.4 (it
did on
10.3), but as long as you install the prefPane, you should be
able to go
in and start it manually.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
I am new to php/MYSQL but I am trying to learn. I built an
insert page using DW8. I was looking back over the code trying to
figure it out. Is it just me or does dreamweaver an a bunch of junk
to there code to do a simple insert from 4 form fields.
Can anyone explain what DW is doing since I am now dumber for
having looked at it.
<?php
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "", $theNotDefinedValue = "")
$theValue = (!get_magic_quotes_gpc()) ?
addslashes($theValue) : $theValue;
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" .
htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) &&
($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO reviews (review_date,
review_name, review_address1, review_city, review_state) VALUES
(%s, %s, %s, %s, %s)",
GetSQLValueString($_POST['date'], "date"),
GetSQLValueString($_POST['textfield'], "text"),
GetSQLValueString($_POST['textfield2'], "text"),
GetSQLValueString($_POST['textfield3'], "text"),
GetSQLValueString($_POST['textfield4'], "text"));
mysql_select_db($database_siteData, $siteData);
$Result1 = mysql_query($insertSQL, $siteData) or
die(mysql_error());
$insertGoTo = "
http://www.yahoo.com/";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
mysql_select_db($database_siteData, $siteData);
$query_Recordset1 = "SELECT * FROM reviews";
$Recordset1 = mysql_query($query_Recordset1, $siteData) or
die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>newhorizonhosting.com wrote:
> I am new to php/MYSQL but I am trying to learn. I built
an insert page using
> DW8. I was looking back over the code trying to figure
it out. Is it just me or
> does dreamweaver an a bunch of junk to there code to do
a simple insert from 4
> form fields.
No, it's not a bunch of junk. It's filtering the input to
make sure that
things are inserted correctly into your database.
> Can anyone explain what DW is doing since I am now
dumber for having looked at
> it.
This function filters the form content to prepare it for
insertion in
the database.
> function GetSQLValueString($theValue, $theType,
$theDefinedValue = "",
> $theNotDefinedValue = "")
This sets the action value of the form tag, including any
query string.
> $editFormAction = $_SERVER['PHP_SELF'];
> if (isset($_SERVER['QUERY_STRING'])) {
> $editFormAction .= "?" .
htmlentities($_SERVER['QUERY_STRING']);
> }
This builds the SQL query and inserts the form content into
the database.
> if ((isset($_POST["MM_insert"])) &&
($_POST["MM_insert"] == "form1")) {
> $insertSQL = sprintf("INSERT INTO reviews (review_date,
review_name,
> review_address1, review_city, review_state) VALUES (%s,
%s, %s, %s, %s)",
> GetSQLValueString($_POST['date'], "date"),
> GetSQLValueString($_POST['textfield'], "text"),
> GetSQLValueString($_POST['textfield2'], "text"),
> GetSQLValueString($_POST['textfield3'], "text"),
> GetSQLValueString($_POST['textfield4'], "text"));
>
> mysql_select_db($database_siteData, $siteData);
> $Result1 = mysql_query($insertSQL, $siteData) or
die(mysql_error());
This redirects the page after the database query has
finished.
> $insertGoTo = "
http://www.yahoo.com/";
> if (isset($_SERVER['QUERY_STRING'])) {
> $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" :
> $insertGoTo .= $_SERVER['QUERY_STRING'];
> }
> header(sprintf("Location: %s", $insertGoTo));
> }
This is unrelated to the insert. It's a recordset that
retrieves
everything from the reviews table of your database.
> mysql_select_db($database_siteData, $siteData);
> $query_Recordset1 = "SELECT * FROM reviews";
> $Recordset1 = mysql_query($query_Recordset1, $siteData)
or die(mysql_error());
> $row_Recordset1 = mysql_fetch_assoc($Recordset1);
> $totalRows_Recordset1 = mysql_num_rows($Recordset1);
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
PHP/MySQL - Nav links pass variable to another page? Or?
I'm a PHP/MySQL beginner. I'm digging through books and tutorials as best I can, but finding myself a little lost in the sheer volume of information. If someone can point me in the right direction for this task, I'd really appreciate it.
I have a database (MySQL) with two tables. One is a list of carpets, and the other a list of the categories of carpets and information about those categories.
The "carpets" table has a field for each record to indicate which category that carpet belongs to.
I'm trying to do this:
- A navigation bar listing the categories
- When you click on a category, a "gallery" page opens, display the carpets (name, description, photo) of each carpet in that category
Does Dreamweaver have server behaviors for this? If not, can anyone give me a general idea of what the code is I need to write to make this happen?
Thanks VERY much in advance,
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate WorksheetDavid,
I believe I've done exactly what you described above; only my naming is slightly different.
catID in my database is "category_id"
page.php in my application is "navbar.php"
detail.php in my application is "gallery.php"
When I view navbar.php in the browser and click on one of the links, the resulting URL is like this:
gallery.php?2=
or
gallery.php?3=
etc.
I'm pasting the whole code from navbar.php and gallery.php below, in case it's is helpful for you to have a look at it (and you have the time to).
I am really grateful for your help.
Patty
------------ navbar.php ----------------------------------------------------------------------------------------- ---------------------
<?php require_once('Connections/connSouthwest.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_connSouthwest, $connSouthwest);
$query_GetCategories = "SELECT * FROM categories";
$GetCategories = mysql_query($query_GetCategories, $connSouthwest) or die(mysql_error());
$row_GetCategories = mysql_fetch_assoc($GetCategories);
$totalRows_GetCategories = mysql_num_rows($GetCategories);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Navbar</title>
</head>
<body>
<ul>
<?php do { ?>
<li><a href="gallery.php?<?php echo $row_GetCategories['category_id']; ?>="><?php echo $row_GetCategories['category_name']; ?></a></li>
<?php } while ($row_GetCategories = mysql_fetch_assoc($GetCategories)); ?>
</ul>
</body>
</html>
<?php
mysql_free_result($GetCategories);
?>
----------------- gallery.php -----------------------------------------------
<?php require_once('Connections/connSouthwest.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$maxRows_GetCarpet = 10;
$pageNum_GetCarpet = 0;
if (isset($_GET['pageNum_GetCarpet'])) {
$pageNum_GetCarpet = $_GET['pageNum_GetCarpet'];
$startRow_GetCarpet = $pageNum_GetCarpet * $maxRows_GetCarpet;
$colname_GetCarpet = "-1";
if (isset($_GET['category_id'])) {
$colname_GetCarpet = $_GET['category_id'];
mysql_select_db($database_connSouthwest, $connSouthwest);
$query_GetCarpet = sprintf("SELECT * FROM carpets WHERE category_id = %s ORDER BY carpet_sort ASC", GetSQLValueString($colname_GetCarpet, "int"));
$query_limit_GetCarpet = sprintf("%s LIMIT %d, %d", $query_GetCarpet, $startRow_GetCarpet, $maxRows_GetCarpet);
$GetCarpet = mysql_query($query_limit_GetCarpet, $connSouthwest) or die(mysql_error());
$row_GetCarpet = mysql_fetch_assoc($GetCarpet);
if (isset($_GET['totalRows_GetCarpet'])) {
$totalRows_GetCarpet = $_GET['totalRows_GetCarpet'];
} else {
$all_GetCarpet = mysql_query($query_GetCarpet);
$totalRows_GetCarpet = mysql_num_rows($all_GetCarpet);
$totalPages_GetCarpet = ceil($totalRows_GetCarpet/$maxRows_GetCarpet)-1;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Category Name | Southwest Looms</title>
</head>
<body>
<h1>Gallery Page</h1>
<p>Category Name will go here.<br />
Category Description will go here. </p>
<p></p>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<?php do { ?>
<tr>
<td><?php echo $row_GetCarpet['carpet_photo_thumb']; ?></td>
<td><?php echo $row_GetCarpet['carpet_name']; ?>: <?php echo $row_GetCarpet['carpet_description']; ?></td>
</tr>
<?php } while ($row_GetCarpet = mysql_fetch_assoc($GetCarpet)); ?>
</table>
<p> </p>
</body>
</html>
<?php
mysql_free_result($GetCarpet);
?> -
Where to go next with Dreamweaver and server-side (php/mysql) applications?
This question is mainly directed at David Powers but I appreciate any input from anyone with the same concern or question.
I've been using DW since the change from Macromedia and have developed a number of applications using built in server behaviors and sb extensions from ADDT, WebAssist, etc. I've learned to customize these behaviors to fit my needs always keeping within the "canned" code. In this way I've "learned" php.
I own most of David's books and in fact, it was because of these that I have any idea about what I'm doing and went in this direction in my "developer" career (building php/mysql applications using Dreamweaver.)
With the decision to remove server behaviors (and the other "developer" panels) from DW and with the deprecation of the mysql extension from the php landscape, I'm wondering where to go next? I fully understand this has to happen.
I'm aware of some alternatives:
Zend or some other framework - to me, this seems extremely complex
Keep several versions of DW installed
Stick to Joomla/WordPress/Drupal - let others who know what they're doing build the architecture
Actually LEARN php - wish I had time; too much work to do (I know how illogical that sounds but it's a very real situation)
I know I'm going to have to switch out all that deprecated code or better yet, rebuild the many applications which used the DW (and other) server behaviors. I'm just not sure which way to turn.rjjacob wrote:
Since I wrote this post I concluded that there is no substitute for understanding and have started my re-education by delving further into the issue with updated PHP/MySQL books and tutorials so I can prepare for a Dreamweaver without this functionality.
Yes, I too have concluded that is the way to go as well. There really is no substitute for learning as much as you can. Whilst the DW Server Behaviours were very convenient they have not kept pace, Adobe prefering to spent their time on less important updates in my opinion. The Server Behaviours are what makes Dreamweaver the tool of choice for database integration for those who lack the knowledge. I feel the Adobe team will regret not coming up with an alternative. Anything that detracts from making the program what it is is a step in the wrong direction and for sure this is a big step in the wrong direction.
rjjacob wrote:
I have mainly used DW server behaviors in my development projects that's why I am curious about what others are doing to make the change. I'm surprised there haven't been more posts; perhaps I'm the last one to be taking action about this, or maybe no one is too worried about it yet.
I think a lot have changed their working practice but many more are burying their heads in the sand. sql_ support is a way off from being completely dropped yet.
rjjacob wrote:
Anyway, your assessment of how terrible the server behaviors are is correct. I'm finding that true after barely breaking the binding on a few books about the greater subject and looking into mysqli and PDO.
Yes, because I relied heavily on them I did not know how bad they were until I forced myself to look further afield. What you can do in a couple of lines of code the DW Server Behaviors produced quadruple or more to achieve the same.
rjjacob wrote:
But they sure were convenient!
Yes, I agree. Maybe some extention developer will come up with a set of new improved behaviours. I tell you if they do they will make a shed load of money. -
Apache php mysql mac 10.4.8 client
does anyone know the version of php mysql and apache on 10.4.8 if it's shipped with osx and how to upgrade them
Mac OS X (10.4.8)mysql is not shipped... unless youre talking about osx server then it may be.
php is 4.4.1 and the path is /usr/bin/php and /usr/lib/php
apache is 1.3.33 and the relevant paths are /usr/libexec/httpd and /usr/sbin
I wouldnt reommmend upgrading any of them because its possible they could be broken by future system updates, although i dont specifically know of this ever happening. but for development purpouses its better to isolate your environment. Instead of upgrading the system versions i would recommend installing the versions you wish into /usr/local and jsut setting things up to run from there. Marc Lyiange's php packages do this for you by default (www.entropy.ch). MySQL also comes as a mac binary and installs into /usr/local. As for Apache that will require some configuration What i would do is install it into usr/local. Then i would rename /usr/sbin/httpd to /usr/sbin/httpd-1.3.33 and /usr/sbin/apachectl to /usr/sbin/apachectl-1.3.33. then make symlinks to /usr/local/apachedir/bin/apachectl and /usr/local/bin/httpd to /usr/sbin/httpd and /usr/sbin/apachectl.
Of course you could always change the appropriate plists to just run your version of apache but i dont know what those are off hand. For what its worth unless you need a particular module thats not supported on 1.3.33 i wouldnt even mees with apache 2.0. its jsut not worth the effort in my opinion. -
Host recomendation - linux - php/mysql
Hi gangsters and molls :)
I'm looking again for some advice from the knowledgable
contributors of
this forum, of which there are many, many, many!
I'm in need of a host, that provides php/mysql linux and some
good
online instructions (preferably the hosts own instructions)
about
tranfering/connecting the database up. I'm as thick as two
planks when
it comes to moving the the dynamic technical stuff over to a
remote
host, so bear that in mind. I try but I'm getting old and
past my
sell-by date :(
I've done this on a couple of occasions (some time ago
though), spent a
good few hours resolving connection issues but finally
everything
worked. However if anyone knows of a good host and some good
walk ya
through instructions to save me some hassle I'd be grateful.
I'm not really that bothered where the host is (preferably uk
but I'm
open minded)........EASE OF USE & SET-UP is paramount on
this ocassion.
Cheers!
Os.: Nadia : ** Adobe Community Expert ** wrote:
> "Osgood" <[email protected]> wrote in
message
> news:[email protected]...
>
>>Hi gangsters and molls :)
>>
>>I'm looking again for some advice from the
knowledgable contributors of
>>this forum, of which there are many, many, many!
>
>
> you're being too mich - what's up Os ? ;-)
Yeah...I'm on new tablets.........seems to be doing the trick
until my
immune system fights back.
>>I'm in need of a host, that provides php/mysql linux
and some good online
>>instructions (preferably the hosts own instructions)
about
>>tranfering/connecting the database up. I'm as thick
as two planks when it
>>comes to moving the the dynamic technical stuff over
to a remote host, so
>>bear that in mind. I try but I'm getting old and past
my sell-by date :(
>
>
>
> www.hostmysite.com is US based, but I've had no problems
with email
> support - they've been great... they also have
'live-help' I think. They've
> helped me heaps in setting up dbs or fixed errors when I
did a few installs
> of various CMSs...
Yup...you've mentioned them before in some previous posts,
I'll check
them out.
> www.webstrikesolutions.com been with them for years...
email support is
> terrific (no phone support, but live chat again).
Haven't had much to do
> with php side of things with them, though they have both
win and linux
> servers, most of my clients are on windows and a couple
of clients on linux.
> Had to have help with a couple of asp dbs and they were
great help there.
Humm....why does a connection to a remote database seem so
imposing.
Should be a simple drag and drop solution.
I don't even know where the database file is created on my
Mac but
apparently you have to create a 'dump' file to transfer it to
a remote
location. I can do that in phpMyAdmin but wouldn't it be
simple if there
was an identifiable file which you could just grab hold of
and drag
across.......bummer all seem complicated to me.
> www.crystaltech.com have also been great to work with -
again US based,
> help docs are a bit sparse - or it could be me not
understanding them :-)
> but email support is good.
Humm I have some instruction docs from a host that I have
previously
used but thaey might as well be written in chinese.
Do you know if I can set up a website on one server and have
it pull
information from a database which is hosted on another
server?
Os. -
PHP/MySQL versions needed?
I have been using php 4.3.11 and MySql 4.0.15 on a Mac G5
with Deamweaver 8, I just upgraded to CS 3 and got a new Intel
MacBook and just put PHP 5 on it, but what version of MySql is
recommended? I put on Mysql 5, but could not get it to work, and am
wondering if i can get it off and go back to MySql 4.xx? Anyone?
Thanks, Jayjays99 wrote:
> Thanks, David. I have your PHP5-Flash 8 book and egerly
await your newest. I
> installerd MySQL 5.027 for 10.4 intel which but it does
not come up
> automatically and there is no MySQL control on the
Preferences. I read
> somewhere that I have to open a file and change some
lines of code in a config.
> file. Do you have any insight to that? Thanks again, Jay
Sorry, I haven't tested anything on an Intel Mac yet. Testing
everything
on Vista for my new Dreamweaver book has given me enough of a
headache.
However, I'm pretty sure that my editor has an Intel Mac, and
he
followed the instructions in "PHP Solutions" without any
major hiccups.
(They're pretty much the same as in the Flash book.)
Isn't there a MySQL.prefPane icon in the MySQL installation
package? I
have found that MySQL won't start automatically on 10.4 (it
did on
10.3), but as long as you install the prefPane, you should be
able to go
in and start it manually.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
CS6 Dreamweaver using PHP & MySQL - Delete Record Server Behavior?
When I try to insert the Delete Record server behavior. I get an error message about a DeleteRecord.js file, which seems to be missing or defective. I cannot use the server behavior. I have a file that I developed using CS5, and it does indeed delete the record, but does not proceed to the destination I want. I cannot change that except in the server behavior, so I'm stuck. I have noticed that server behaviors seem to disappear without apparent cause, as it seems to have in this case. I will appreciate any suggestions! Is there any way to embed a call to a target page manually? All is working WITHOUT the server behavior appearing, but I want to go to a confirmation display page that shows the record is indeed deleted, and we just return to the (now blank) delete confirmation page. That'll drive a user bonkers!
Thanks!
Delete Record in CS6 Dreamweaver using PHP & MySQL?Well, your error message is self-explanatory.
DW stores ServerBehaviors in 'Configuration' folder in installation directory. If one of the behavior JS files is missing/ corrupt, you'll see the error message you just did.
I've uploaded a functional, proper version of DeleteRecord.js onto my site for you to download. Here's the link:
http://www.sudarshan.me/adobeforum/dw/app/behavior-js/DeleteRecord.zip
Download this file, extract it and put DeleteRecord.js file in your installation directory as follows. If prompted, 'replace' your local copy:
Mac: Applications > Adobe Dreamweaver CS6 > Configuration > ServerBehaviors > PHP_MySQL
Windows: C:\Users\Your User Name\AppData\Roaming\Adobe\Dreamweaver CS6\[language]\Configuration\ServerBehaviors\PHP_MySQL
It should work as expected.
If that still doesn't solve the problem, reset your DW preferences and cache and try doing it. Follow the instructions here to reset cache: http://forums.adobe.com/thread/494811
Let us know how it goes.
-ST -
Can't connect PHP/MySQL 404 error
Wow, the learning curve is killing me. Yet another challenge. I'm using Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
I'm at this step:
Open comments.php. You must have a PHP page open in the Document window to create a MySQL connection.
In the Databases panel (choose Window > Databases), click the Plus button on the panel and select MySQL Connection.The MySQL Connection dialog box appears.
Type connTest as the connection name.
For the MySQL Server, type localhost.If you are using the MAMP default ports on a Mac, use localhost:8889.
For the User Name, type phptestuser.
Type the password you chose for the phptestuser account in the Password field.
For the Database, type php_test.Note: You don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query that permits wildcard characters.
Click Test.Dreamweaver attempts to connect to the database. If the connection fails, do the following:
Double-check the server name, user name, and password.
Check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying a Testing Server for Dreamweaver).
Verify that the web and MySQL servers are both running.
Temporarily disable any firewall or security program. If the connection works, you need to configure the security program to permit communication between Dreamweaver and MySQL.
Click OK. The new connection appears in the Databases panel.
Expand the connTest connection, and then expand the Tables branch. You'll see the comments table in the database, which you can expand to reveal the details of the table columns (see Figure 23).
As far as I can tell I have followed this tutorial to the letter.
As far as I can tell, XAMPP/php mySQL are all running fine, the files are in the correct place and everything should be working. However when I hit test I get a 404 error. (Same error when I hit the select button.)
The suggested problems on the 404 message are:
1. There is no testing server running on the server machine.
Pretty sure the testing server is running. Is there any way to test this, other than to note that xampp is definitely running right now and that I can log into phpMYadmin no problem?
2. The testing server specified for this site does not map to the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL Verify that the URL Prefix maps to the root of the site.
Ummm...I'm pretty sure I put things where I was told to put them in the tutorial, but I'm lost at this point where I should verify what. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except...I'm not sure what that could be or where to find it. Whatever IT is.
Everything in local files is looking good.
Thanks for your help!
PS: Extra points to anyone who figures out how to make copy/pasteable error messages! These buggers are the bane of my life!Bgupta, you rock!
I hope you have copied the "mysql.php" and "MMHTTPDB.php" files from "C:\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\locale\Configuration\Connections\Scripts\PHP_MySQL\_mmDBScripts" to "C:\xampp\htdocs\phptest\_mmServerScripts"
This was EXACTLY the problem. I checked the tutorial and I couldn't even find where the tutorial said to do this. (If I missed it, let me know where in the tutorial it was, please.)
Fixed! -
PHP/MySQL issue after security update 2010-005
Hello,
I run Apache/PHP/MySQL on my MBP for testing Web sites.
After the 2010-005 security update I can't connect to my databases anymore.
I don't know how to fix this, I even don't know where to start looking.
Ideas, anyone?coloma wrote:
etresoft, thanks for sharing this ... I decided to go with the TriangleJuice suggestion instead for two reasons ... first is that I wasn't sure where to find this launchd file.
There is nothing wrong with TriangleJuice's suggestion. My only issue with creating a php.ini file is that now I have to worry about all those other settings in the ini file. If something else in PHP breaks, I have to figure out if I am the one who broke it.
Apple ships MySQL with MacOS X Server. They probably adjusted the PHP settings to match how they have MySQL setup in MacOS X Server.
For MySQL's, no, Sun's - drat! no, Oracle's part, they still haven't acknowledged the fact that Apple has shipped MacOS X 10.4. MySQL still ships with a Startup Item. If you don't know where the launchd file is, it is because you don't have one. You probably have a MySQL entry in /Library/StartupItems or maybe /System/Library/StartupItems. Startup Items were deprecated in 10.4. Oracle should be creating a file named com.mysql.mysqld.plist in /Library/LaunchDaemons.
Here is what mine looks like now:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld</string>
<string>--socket=/var/mysql/mysql.sock</string>
<string>--basedir=/usr/local/mysql</string>
<string>--datadir=/usr/local/mysql/data</string>
<string>--user=mysql</string>
<string>--log-error=/usr/local/mysql/data/Pele.local.err</string>
<string>--pid-file=/usr/local/mysql/data/Pele.local.pid</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
I also don't have a /var/mysql directory and wasn't sure whether I should just create one or if this meant my configuration was different. If you feel like explaining any of this, I'd be curious to know.
You have to create one. Such a directory probably already exists on MacOS X Server. Just make sure it is owned by mysql.
sudo mkdir /var/mysql
sudo chown _mysql:staff /var/mysql
sudo chmod 0755 /var/mysql
[jdaniel@Pele:516] /var $ ls -al /private/var | grep mysql
drwxr-xr-x 3 _mysql staff 102 Aug 26 20:03 mysql
Of course, /var is a symbolic link to /private/var. Long story there.
Maybe you are looking for
-
How Can I limit the bandwith of my internet connection on linux?
Hello, I have 2 Pc's, one for my brother, and the other for me. And well, always we have problems about downloads and lags when we are playing. For example, when I download packages from pacman, it is done at maximum speed "eating" all connection, an
-
Windows 8.1 update for Icon?
I too am wondering when the update for the Icon will be released? I spoke with a tech rep from Windows and they said it has been released to all carriers and that it's up to the carriers to as to how and when they push out the update. Verizon, is t
-
Best Practice for creating Excel report from SSIS.
I have a requirement to create an Excel report on a daily basis which pulls data from SQL. I have attempted to resolve this by creating a stored procedure to save the results in SQL, a template in Excel to hold the graphs & pivot tables and an SSIS p
-
Urgent: problem running reports in Oracle 10g application server
Hi all, our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the data
-
Migrating from Informix9.4 to Oracle9i
Hi, I am in the process of migrating informix9.4 to oracle 9i database. Can you pl let me know how bytes in informix are migrated to oracle. are they any problems faced during migration of LOB data.Does the OMWB 10.1.0.2.0 release handles the data tr