For David Powers please
Hi,
I have used your method for a news blog from PHP for
Dreamweaver 8.
When no image is selected, firefox does not display the image
container with the red X.
However, most of our users are still using IE6.
In IE6 when no image is used it shows an image holder with
the red x in it.
Is there a way to remove the image place holder if no image
is displayed?
Also when no caption is used, in all browsers you get a
"Caption here" in place of the caption.
cheers
Macnimation wrote:
> As a by the way, I also have the Essential Guide to
Dreamweaver with CC, AJAX
> and PHP and bwtween them I get most help.
Thanks. That's nice to know.
> Do you know of or are you planning a future book to
build applications other
> than Blogs and Photo Galleries, because it seems that
nearly all books on Web
> developement whether it is PHP, ASP or Coldfusion seem
to concentrate on these
> applications only.
I suspect that's because they involve basic database
techniques.
Beginner-level books sell more than advanced ones, mainly
because anyone
who moves beyond the beginner level is usually fairly capable
of
tackling more complex projects without the assistance of a
book.
Anyway, the ideas you have suggested will certainly give me
something to
think about for future books. I'm currently putting the final
touches to
a CS4 book, but it doesn't cover the sort of area you're
looking for.
> I discussed this last year at Adobe MAX in Barcelona and
alot of people agreed
> that some more diverse applications would be useful.
I'll be in Milan in
> December also......
I'm hoping to go too, but haven't made a firm decision yet.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Similar Messages
-
David,
Hope you having a good break from here - as you've not been
around for
a few days.
When you are back - I need a little help please
~Malcolm N....
~> Come to think about it - Murray seemed to make the move
to using php
> only a few months ago - and given his enthusiasm for
SSI's maybe this
> tells something about the next release - or maybe I'm
reading too much
> between the lines (:-))
You're looking for deep inner meaning in a shallow bowl, I'm
afraid! 8)
Templates are part of DW and will be for a long time. And
personally, I
have no problem with includes in DW templates.....
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
==================
"Malcolm N_" <[email protected]> wrote in message
news:[email protected]...
> On Sat, 27 Jan 2007 19:38:04 +0000, David Powers
<[email protected]>
> wrote:
>>
>>I'll wait for the summary. The basic thing to
remember about include()
>>is that it expects a relative path, an absolute path,
or for the file to
>>be in the PHP include path.
>
> Thanks David - at the moment things are under control,
but I haven't
> altered much of the site with DW.
>
>> Things get complicated if you use includes
>>with Dreamweaver templates.
>
> Yes - well DW has been good at controlling some tricky
things to date,
> I hope that the next release makes using includes within
simple
> Template's a little easier.
>
> After all the Adobe Community Experts have been pushing
the use of
> SSI's very strongly in the last couple of years, telling
us to abandon
> tables, and complex templates (:-))
>
> Come to think about it - Murray seemed to make the move
to using php
> only a few months ago - and given his enthusiasm for
SSI's maybe this
> tells something about the next release - or maybe I'm
reading too much
> between the lines (:-))
>
> --
>
> ~Malcolm N....
> ~ -
Question for David Powers re file 'quotations.sql'
It would appear from the first few lines of this file (shown
below) that it
first checks if a table "quotations" already exists, and if
so deletes it. Then
it creates a new version, and populates it with the following
data.
Is this correct?
Clancy
-- Table structure for table `quotations`
DROP TABLE IF EXISTS `quotations`;
CREATE TABLE `quotations` (
`quote_id` int(10) unsigned NOT NULL auto_increment,
`quotation` varchar(255) NOT NULL default '',
`first_name` varchar(30) NOT NULL default '',
`family_name` varchar(30) NOT NULL default '',
PRIMARY KEY (`quote_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Dumping data for table `quotations`
INSERT INTO `quotations` VALUES (1, 'My disability is ......'
ClancyClancy wrote:
> I thought so. As the sql file redefines the table, is it
necessary to define
> the table at all before running the file?
The purpose of the preceding section is to teach you how to
define a
table. If all you're interested in is copying my table
structure, feel
free to do so. However, I believe in the principle of
teaching a man to
fish, rather than giving a man a fish.
> I have been thinking about how to set up a database for
my photo album, and
> wondering how to order it. If I have a text file, like
'quotations.sql', it
> looks as if the easiest way to change the order of the
photos is to swap the
> lines in the text file, and then reload the whole
database.
If that's your conclusion, then I'm afraid that you have
failed to
understand the fundamental principles of how a database
works. The order
in which records are entered is totally irrelevant. You use
SQL to
display them in whichever order you require.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
David Powers, please help...
Hi David,
I have posted a similar message on the general DW forum but I
think this
might be the more appropriate place; besides which I'm not
getting much
traction there.
I'm creating a detail page to display records which contain
anywhere
from 1-12 images per record. I'm trying to make a small image
gallery
similar to what you have in your PHP DW8 book pg. 414, though
it will
only show the images for the current record. The problem is
all the
images are different sizes and orientations, so I need a way
to pass the
image width to the javascript function so it will display the
image in a
size that fits my container. I have been scratching my head
on this one
for a while and I'm hoping you can point me in the right
direction.
Here is what I have so far:
My scaling routine:
> $image2 = $maindir . $row_gallery_show['image2'];
> $image2Size = getimagesize($image2);
> if ($image2Size[0] > $image2Size[1]) {
> $ratio_1 = $maxsize/$image2Size[0]; $newWidth =
> round(($image2Size[0]*$ratio_1),0);}
> else {
> $ratio_1 = $maxsize/$image2Size[1]; $newWidth =
> round(($image2Size[0]*$ratio_1),0);}
>
>
> $image3 = $maindir . $row_gallery_show['image3'];
> $image3Size = getimagesize($image3);
> if ($image3Size[0] > $image3Size[1]) {
> $ratio_1 = $maxsize/$image3Size[0]; $newWidth =
> round(($image3Size[0]*$ratio_1),0);}
> else {
> $ratio_1 = $maxsize/$image3Size[1]; $newWidth =
> round(($image3Size[0]*$ratio_1),0);}
I have this for each of the images.
My markup:
> <li class="thumbs"><a href="<?php echo
$image2;
> ?>"onclick="showImage(this);return false;">
> <img src="<?php $pic2 = $thumbdir .
> $row_gallery_show['image2'];?>
> <?php $pos2 = strrpos($pic2, '.');
> $thumb2 = substr($pic2, 0, $pos2) . '_thb' .
> substr($pic2, $pos2);
> echo $thumb2; ?> " /></a>
> </li>
> <li class="thumbs"><a href="<?php echo
$image3;
> ?>"onclick="showImage(this);return false;">
> <img src="<?php $pic3 = $thumbdir .
> $row_gallery_show['image3'];?>
> <?php $pos3 = strrpos($pic3, '.');
> $thumb3 = substr($pic3, 0, $pos3) . '_thb' .
> substr($pic3, $pos3);
> echo $thumb3; ?> " /></a>
> </li>
also for each image.
And the javascript file:
> // JavaScript Document
> function showImage(elem) {
> if(!document.getElementById) {
> return false;
> } else {
> var bigPic = elem.getAttribute('href');
>
>
document.getElementById('mainpic').firstChild.setAttribute('src',bigPic);
> <?php echo "var newWidth = $newWidth"; ?>
>
>
document.getElementById('mainpic').firstChild.setAttribute('width',
> newWidth);
>
> }
> }
I have tried setting the width through $newWidth, but so far
it's not
working - instead of replacing the 'mainpic' it is opening
the selected
image in a new window, full size. What am I doing wrong here?
How can
I get this to work, or is there a better approach?
TIA
BrettBrett wrote:
> I have tried setting the width through $newWidth, but so
far it's not
> working
Of course it won't. PHP is a server-side language; the
JavaScript
function is client-side. You can't get PHP to change the
value of the
width, because the PHP script finishes working as soon as the
page is
sent to the browser.
I haven't checked through your width calculations, but what
you need to
do is to use PHP to echo the value of the width for each
image in the
call to showImage():
<a href="<?php echo $image2; ?>"
onclick="showImage(this, <?php echo
$newWidth; ?>);return false;">
Then change the showImage() function to apply the new width:
function showImage(elem, w) {
if(!document.getElementById) {
return false;
} else {
var bigPic = elem.getAttribute('href');
document.getElementById('mainpic').firstChild.setAttribute('src',bigPic);
document.getElementById('mainpic').firstChild.setAttribute('width',
w);
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/ -
Video2Brain question for David Powers
Hi David (and anybody else wanting to read this), I have a number of projects where I am being asked to create mobile apps with HTML5 packaged through phone gap, but I am also being asked to include a CMS for ease of editing. I can create the CMS no problem, and I can create the the mobile app too, but I have no idea of how to marry a native app with a remote database so the app's contents stays up-to-date. I mainly need to pull data, but also insert data on occassions. If I can get the pulling of data to work, that will help me immensely.
My question to you David is: Do any of your Video2Brain courses cover this kind of subject?
If anybody else knows of any tutorials on the net, or in books that cover this subject, I'd love to hear about them.
I am assuming it's not important, but just in case it is, I am using DWCS6, MySQL and PHP
Thanks.
MatPhoneGap creates native apps using HTML, CSS, and JavaScript. It does not support PHP or any other server-side technology.
If you want to communicate with a remote database, you need to use JavaScript to send an Ajax request to the database, which needs to send the response formatted as XML or, preferably, JSON. You then use the success callback function of your Ajax request to display the results. It's also possible to store data on the mobile device using the Web SQL API, which uses JavaScript rather than PHP to communicate with the database.
My video2brain courses don't go into this level of detail. My book, Adobe Dreamweaver CS5.5 Studio Techniques: Designing and Developing for Mobile with jQuery, HTML5, and CSS3, has a fully worked example of creating a local database on the mobile device using Web SQL, but it doesn't cover accessing a remote database.
There's an online tutorial by Raymond Camden about synchronizing remote and local databases with a PhoneGap project at http://css.dzone.com/articles/adding-database.
There's also a very detailed article in the Adobe Developer Connection by Andrew Trice about connecting a PhoneGap app to a database in the cloud at Database.com: http://www.adobe.com/devnet/phonegap/articles/phonegap-apps-powered-by-developercom.html.
I haven't tested the code in either article, but both authors are very reliable.
If you don't have any experience of using Ajax, I recommend using jQuery. It makes Ajax communication very simple. On the PHP side, use json_decode() and json_encode() to handle the incoming and outgoing data. -
I am attempting to upload files using the zend _file_transfer system from cs5 training from the source.
On trying to upload to a remote server I am having trouble with the destination setting (C:/upload_test) in the example, please could you point me in the right direction for the an example of this setting for a remote file transfer
Also do I have to construct a connection file to activate a Ftp file transfer?
David Woolston>I am on windows platform
Who is your host? When you checked your host path in your host control panel, what did it say?
>i have assumed (may be incorrectly) that the purpose of the exercise was to upload to a remote site (ie my website)
That is correct.
>Of course that upload might take place on a computer that does not have DW installed (an internet cafe for example)
That's irrelevant. DW is just the tool you are using to build your site. The site runs on your hosting accounts servers. This includes the php scripts you are working with.
>I have uploaded all files necessary for the operation, when i click upload it returns no such directory exits.
Do you have a url we can check? What destination are you specifying in zend code?
>This made me suspect that I would need to construct a ftp file transfer connection file to satisfied username, password , connection address etc
The exercise you are dealing with is using http file transfer. This has nothing to do with FTP. You do not need FTP for this, other than using it to move your source code from your local client to your server. -
For David Powers - Apache 2.2 and php 5.2. Virtual hosts
Hi David,
I have updated to the latest Apache and PHP
Apache 2.2 and php 5.2. Must easier instal,
But now I'm setting up Virtual hosts to make it easier to use
php
includes and DW templates.
I have followed instructions on page 86 of above book, but I
can't
find the section NameVirtual Host on Apache's httpd.conf and
it is
much shorter than 950 lines.
Malcolm N_
~Malcolm N....
~On Sun, 21 Jan 2007 11:49:47 -0000, "Dave Buchholz"
<[email protected]> wrote:
>Malcolm,
>
>a different David I know but you will find an updated
tutorial on the "real"
>David's site here
http://foundationphp.com/tutorials/apache22_vhosts.php
Many thanks David - I had found his revised tutorial on
installing
Apache - but I must have missed the bit on virtual hosts.
That's great - I've not got all my sites working as virtual
hosts (:-)
Now to play with relative links / links to php include files
in
templates. !!!
I'm going to try to get headers, footers and nav panels etc
out of the
main template(s), and do what Murray has been nagging
everyone to do
for ages.....
I wasn't getting on well with that with before !! - standby
for more
questions.
I had to read two of David's excellent books about three
times - eh !.
Malcolm
~Malcolm N....
~ -
Hi David has helped so much and I have read two books but am
stuck on one thing.
You gave me a solution for submitting forms and validating
with the inserted results returning, and I wrote ages ago saying
the solution worked. It really did but then stopped. So I have been
going through the Foundation Dreamweaver book for Dreamweaver 8
even though I am using Dreamweaver mx 2004.
I have gone through everything again ( well many times ) and
I have it working again except that the form will not go anywhere.
I will insert the code and see if you can tell me why. I
would really like to understand so that I can continue to make many
forms and have the correct validation.
Thank you for your time, and I love the book!Thanks David I have had a look on Google and read about all
the different types of patterns you can use - quite a lot.
One last question on this subject of email and then I think
my new directory will be ready (apart from design).
If I am wanting to send the form above with contents as an
email to myself on submission, should I place the mail()
information just above the new location:
$to = "";
$subject = "";
$message = "";
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: ";
mail($to, $subject, $message, $headers);
$insertGoTo = "signin.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
$_POST = array();
?>
The email should only fire off when all errors have been
cleared, but will there be a problem with the braces I have placed
here.
I understand the logic of the braces but am I breaking
Dreamweaver's code too much?
Hope this makes sense. I was aiming to place the mail() code
above the error checking but thought it had to make its way past
that first before sending.
Thank you so much I am learning something from here everyday.
It's a great forum. -
Question for David Powers: specifying CSS
Each of the pages in your East-West seasons demonstration
website uses a
somewhat complex indirect method for specifying the CSS rules
applying to the
page.
The page itself contains the php statement:
<?php include('style_rules.php'); ?>
Which invokes style rules.php, which in turn links in
basic.css, and imports
bluebells_01.css:
Style_rules.php------------------------------------------------
<link href="styles/basic.css" rel="stylesheet"
type="text/css"
media="screen" />
<style type="text/css">
<!--
@import url("styles/bluebells_01.css");
-->
</style>
This somewhat complex sequence appears to have exactly the
same overall effect
as the two lines:
<link href="styles/basic.css" rel="stylesheet"
type="text/css" media="screen" />
<link href="styles/bluebells_01.css" rel="stylesheet"
type="text/css"
media="screen" />
1. What is the reason for going through this two-step
process, rather than
simply linking in the two files?
2. Why is the second stylesheet imported rather than linked
in?
3. I gather that the only function of php in all this is to
enable the contents
of style_rules.php to appear in the original file as inline
code. Is this
correct?
ClancyClancy wrote:
> Each of the pages in your East-West seasons
demonstration website uses a
> somewhat complex indirect method for specifying the CSS
rules applying to the
> page.
>
> The page itself contains the php statement:
> <?php include('style_rules.php'); ?>
>
> Which invokes style rules.php, which in turn links in
basic.css, and imports
> bluebells_01.css:
>
>
Style_rules.php------------------------------------------------
> <link href="styles/basic.css" rel="stylesheet"
type="text/css"
> media="screen" />
> <style type="text/css">
> <!--
> @import url("styles/bluebells_01.css");
> -->
> </style>
> ---------------------------------------------------
> This somewhat complex sequence appears to have exactly
the same overall effect
> as the two lines:
>
> <link href="styles/basic.css" rel="stylesheet"
type="text/css" media="screen" />
> <link href="styles/bluebells_01.css" rel="stylesheet"
type="text/css"
> media="screen" />
>
> 1. What is the reason for going through this two-step
process, rather than
> simply linking in the two files?
If changes to the style sheet, styles/basic.css are made then
they would
update to every page which uses the php 'include'. I'm
guessing that
David is NOT using a template based site, which would
effectively do the
same thing.
> 2. Why is the second stylesheet imported rather than
linked in?
'import' is used so that Netscape Naviagtor 4 only gets the
page content
and no css styling. A lot of css styling is not compatible
with that
browser. Its generally accepted for those developers that
still support
that browser only the content is good enough to provide.
> 3. I gather that the only function of php in all this is
to enable the contents
> of style_rules.php to appear in the original file as
inline code. Is this
> correct?
No, that answers in the response to your first question.. -
Question for David Powers - Zend Framework
Using the Zend Framework on your local machine and referencing the library I was wondering when you FTP your code to an online server (How do you reference $library = 'C:/php_library/ZendFramework/library';)? As it would not be no longer on you local machine.
Silken_thread wrote:
Using the Zend Framework on your local machine and referencing the library I was wondering when you FTP your code to an online server (How do you reference $library = 'C:/php_library/ZendFramework/library';)? As it would not be no longer on you local machine.
Simple. You upload the Zend Framework to your remote server, and point $library to the new location.
It's covered in Lesson 13 of the book (pages 468-469). -
David Powers cs5 with php...Zend
This one is aimed for David Powers. We are using your book for my advanved programming class. I continually have problems because they had us buy a domain instead of the one the book does it. At this point I'm on page 222ish, installing Zend. Obviously I'm using dreamweaver and my domain is with godaddy.com. I'm doing the section where you are are installing the library. I've got the library.php with no errors, I'm connected to my domain, and I have the zend file inside my local site folder. I've tried in the C drive but I cotinually get the same error:
Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream: No such file or directory in/home/content/79/7340479/html/library.php on line 4
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.:/usr/local/php5/lib/php:C:\Users\Becky\Desktop\colts\ZF\ZendFramework-1. 11.4-minimal\library') in /home/content/79/7340479/html/library.php on line 4
I've tried putting the zend folder in c, desktop, in side local site folder and same thing everytime. Any help would be appreciated.Re: David Powers cs5 with php...Zend
Ok I'm gonna try and help ya until David gets here. Since I use Zend and have read parts of his book.
First, are you trying to install zend at godaddy?
Your include file is odd. "include_path='.:/usr/local/php5/lib/php:C:\Users\Becky\Desktop\colts \ZF\ZendFramework-1.11.4-minimal\library') in/home/content/79/7340479/html/library.php" - means PHP and Zend are located on 2 different machines
I appreciate it. the "C:\Users\Becky\Desktop\colts \ZF\ZendFramework-1.11.4-minimal\library' is where the file path.I use Godaddy but I have it zend on my computer and am just trying to get it to run. I tried running it from desktop, C:(where it's at), andneven put it in the file manager on godaddy and tried that path...
the code I'm using is:
<?php
$library = 'C:\Users\Becky\Desktop\colts\ZF\ZendFramework-1.11.4-minimal\library';
set_include_path(get_include_path() . PATH_SEPARATOR . $library);
require_once('Zend/Loader/Autoloader.php');
$loader = Zend_Loader_Autoloader::getInstance();
if ($loader) {
echo 'OK';
} else {
echo 'We have a problem';
I'm followed the book step by step but...
when i click autoloader.php in the tab bar it has a get option. but when i click it it says "operation failed because it is not on the remote site. -
Need help adapting David Powers PHP email form script please!
Hi all,
I'm fairly inexperienced with PHP and I'm trying to adapt the David Powers email form script from THE ESSENTIAL GUIDE TO DREAMWEAVER CS4 WITH CSS, AJAX, AND PHP.
I've created a basic form so that visitors to the site can request a telephone call back from the site owner. The form asks the visitor for their name, telephone number and to select a time of day suitable for the telephone call to be made using radio buttons selecting between morning and afternoon.
I'd like to achieve my goal with minimal validation error messages and would like to redirect to another page when a message is sent successfully. It is also important that in the spirit of the David Powers script I'm trying to work with, that it filters out suspect input, avoids email header injection attacks and blocks submission by spam bots.
There may be a really simple solution to this since I don't want users to be able to enter an email address at all but I don't know enough to be able to figure it out just yet.
I'd be grateful for any advice.
See below for the code for the form including PHP so far...
Thanks to everyone looking in in advance
Karl.GEAtkins wrote:
> I am using the redirect to a personal page from page 515
of The Essential
> Guide to DWCS3 in the following form:
$_SESSION[MM_Username].php in the "if
> login succeeds" field.
Thank you for reminding me. There's a mistake in the book,
which I
discovered over the Christmas period, so forgot to send to
friends of ED
for the errata page.
Don't use $_SESSION[MM_Username]. Use $loginUsername instead.
It then works.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Issue for ch03 in Dreameaver CS5.5 Studio Techniques by David Powers
Hello David,
I am following your book.
I read you was in Japan in 1994. Me too. :-). From 1994-1997. In Kyoto.
My question is about the file index.html.
When I removed most of the text, and have for intance:
div id="wrapper">
<div id="header" role="banner">
<h1>Tozai Hotel</h1>
</div>
<ul id="nav" role="navigation">
<li><a href="index.html">Home</a></li>
<li><a href="rooms.html">Guest Rooms</a></li>
<li><a href="dining.html">Dining</a></li>
<li><a href="garden.html">Garden</a></li>
<li><a href="reservations.html">Reservations</a></li>
</ul>
<div id="hero" role="main">
<h2>Where East Meets West</h2>
<p><i lang="ja">Tozai</i> is Japanese for “East-West.” It epitomizes the welcome we offer our guests, combining western-style luxury with <a href="dining.html">the best in Japanese cuisine</a> and hospitality.</p>
<!-- text removed -->
</div>
</div>
I have a strange begavior.
Using an iTouch, my page is floating. And when I try to use Landscape and then return to Portrait, the page seemed to be zoomed.
Sorry for my english.
If you have an idea, it is welcomed.
JilusanI think you mean our Community Professional, David Powers. If you want to specifically contact him, you should send him a Private Message with a link to this thread here: http://forums.adobe.com/people/David_Powers
Coming to answer your question, post your CSS file here. The styling is managed by the CSS, not by the HTML. Only with your CSS we can help you. -
David Powers' tutorial, "Setting up CF development environment for DW"
I left this comment for Mr. Powers at the end of his tutorial and was advised to post here by the Moderator:
I had no problems until the very end: can’t display the final page in Live View or in any browser.
One anomaly in the CF installation: Adobe strongly advises running the CF 9.0.1 update [ http://kb2.adobe.com/cps/849/cpsid_84973.html ]. I ran this update after completing your installation procedure and before “Setting up in DW” for the Mac. The “Update successfully installed” window included the following message:
“SolR server has been upgraded. Re-index all the collections.”
Having no idea what that meant, I proceeded to create the CF site in DW. No variations from your text until Item #9, “Create a ColdFusion data source”: my text box was labeled “Database FOLDER,” not “Database File” per your tutorial.
Where did I go wrong?
Mac Pro Intel, OS 10.6.7, MAMP installed but not running at the time.
Can anyone here help me?ilssac wrote:
WolfWB wrote:
Where did I go wrong?
Not nearly enough of the CORRECT information here to provide any sensible help.
Code snippet (small, but relevant sample code showing the problem.... not entire page dumps)
Description of expected results
Description of actual results, including error messages if relevant.
Description of why the actual results are not correct if it is not clear to the casual observer.
WolfWB wrote: “SolR server has been upgraded. Re-index all the collections.”
SOLR is a text search engine that is included with ColdFusion to provide, you know, text searching capability. When you upgraded to the newer version of CF, that included upgrades to the SOLR engine which would have invalidated any text search indexes previously created. So you would need to re-index the text collections to recreate those indexes.
If none of that makes ANY sense to you, then you most likely have NO text Collections with NO indexes for those collections and thus have NOTHING to re-index so that message PROBABLY had NO relevance to any issues you are experiencing.
First, thank you for trying to help, ilssac! I apologize for the frustration I caused, but this was my first encounter with CF; I'd installed it purely to get through a Dreamweaver tutorial. Second, I haven't a clue about where to collect a code snippet to send you. Providing a link to the tutorial and pointing you to the very last instructions are the best I can do: start at the subhead, "Create a ColdFusion data source," steps #1 through #13 and Figures #22 and #23. The expected result is a correct DW Live View display of the HTML page populated with data drawn from a database (Fig. #23) instead of the "dynamic text objects" (Fig. #22).
Regarding the SolR, you're undoubtedly right about nothing having been created in CF, ergo nothing to re-index.
FYI, the original CF installation was on my Mac Pro. I did exactly the same installation -- in exactly the same way (per the tutorial) -- on my MacBook Pro, and got the same result. The tutorial predates the 9.0.1 upgrade which looks to me, the absolute CF novice, like the source of the problem. I'd still like to get it to work, if only to justify the time I've put in! -
Stuck in Tutorial 2 of David Powers tutorials "Build dynamic sites and web applications".
PLEASE NOTE - THIS IS ANEW SESSION! Apologies to those that have contributed already but I have been unable to reply unless by email on the original session!
========================================================================================== ==============================
I am very new to Dreamweaver and indeed to mySql. So, I am going through the the 3 David Powers Tutorials that are available for PHP & MySQL. I have successfully negotiated the 1st tutorial and am on the 2nd one and have got to a place where I am stalled!I am working on the file "manage_posts.php" and have got successfully "Building a simple recordset" - successfully built the Recordset via that dialog box which tests perfectly showing the contents of the news Table in MySQL. I can bind the recordset results in the page and save the file "manage_posts.php" but when I click Live View the live view fails and I get a 404 error - in other words manage_posts.php does not show the last entry of the news table! I have tried everything that I can think of including deleting manage_posts.php and starting over, but still no good!
Can anyone advise me on this please as to waht may be wrong and how perhaps to analyse what the error may be? I would appreciate any help as it is very frustrating not to be able to progress further.PLEASE NOTE - THIS IS ANEW SESSION! Apologies to those that have contributed already but I have been unable to reply unless by email on the original session!
========================================================================================== ==============================
I am very new to Dreamweaver and indeed to mySql. So, I am going through the the 3 David Powers Tutorials that are available for PHP & MySQL. I have successfully negotiated the 1st tutorial and am on the 2nd one and have got to a place where I am stalled!I am working on the file "manage_posts.php" and have got successfully "Building a simple recordset" - successfully built the Recordset via that dialog box which tests perfectly showing the contents of the news Table in MySQL. I can bind the recordset results in the page and save the file "manage_posts.php" but when I click Live View the live view fails and I get a 404 error - in other words manage_posts.php does not show the last entry of the news table! I have tried everything that I can think of including deleting manage_posts.php and starting over, but still no good!
Can anyone advise me on this please as to waht may be wrong and how perhaps to analyse what the error may be? I would appreciate any help as it is very frustrating not to be able to progress further.
Maybe you are looking for
-
Hard Disk Crash, Have Backup but still problems - Help!
Hello, My mother board, power supply and hard disk crashed, but I had my iTunes backed up using Norton Ghost. After installing a new system board, power supply and hard disk, I installed the OS, installed iTunes 7 and then restored the library from b
-
Multiple sheets in one window - Windows compatible application?
Is there a Windows compatible application that can view a spreadsheet saved from Numbers '09 so the sheets all show up in one window? When I export using the various options in Numbers, then try to open in Excel, I get separate sheets. I need to work
-
View Object Index Lookup Into The View Object Cache
Simple question ... and I feel somewhat stupid for asking ... but I'd really like to make an effort here to take advantage of view object caching as opposed to killing our database. Situation: I have a lookup table called CodeValue which has two fiel
-
I have a valid apple I'd which I use to sign in to the apple community without any problem, but each time I try to sign in to iMessage, it shows me that Username and Password is incorrect please try again. Why is it so?
-
PSE 3.0 Organizer Not Responding
Have been using Photoshop Elements 3.0 for several years. Suddenly the organizer won't open to display photos. I have at least 2,000 photos but thought the organizer would handle unlimited number. This is the first time I've had a problem and only us