Question for David Powers
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.
Similar Messages
-
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/ -
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. -
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.. -
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. -
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). -
1. Auto close.
I put in the code you suggested, and, after a hell of a lot
of messing around it
came good, and now works. I don't know why I had so much
trouble, or why it
suddenly came good (suspect mismatched braces or types of
quote, but thank you.
Now I've got to put up a Thank you message, wait a second or
two, and then close
the box.
2. IE error box
You wrote:
>No, the warning messages won't be displayed if the IE
error box pops up.
>However, if you enter a series of spaces in the name
field, as described
>in step 14 on page 183, the JavaScript validation will be
fooled, but
>the PHP validation will stop the form from being
processed, and the
>warning message will appear.
more
As I read step 14, it is just one step in testing along the
way. It doesn't
seem to have any relevance to permanently disabling the IE
error box?
3. Text box width. As I only intend to use one feedback form,
I removed your
CSS file specifying the form dimensions, etc. According to
everything I can
find, you can specify the length of a text box in either
characters or pixels.
I currently have:
<input type="text" name="name" id="name" maxlength="30"
<input type="text" name="email" id="email" width="600px"
maxlength="50"
Dreamweaver shows a quite small name box, and a much longer
e-mail box. However
they are both 20 characters long on the actual form.
Maxlength works, but the
box length does not seem to be affected by changes to the
specified values.
4. Text font style in text input box.
I would have thought that the bodystyle text would be used
for the form inputs,
but it isn't, so where is it defined?
5. Form prettification
Can you, for example, put a table inside the form, and then
put the name, etc,
into different cells?
Thank you for all your help.
ClancyClancy wrote:
> Now I've got to put up a Thank you message, wait a
second or two, and then close
> the box.
I'm quite willing to provide assistance with problems arising
from my
book, but this goes considerably beyond that.
> As I read step 14, it is just one step in testing along
the way. It doesn't
> seem to have any relevance to permanently disabling the
IE error box?
Yes, it's simply a method of testing.
> <input type="text" name="email" id="email"
width="600px" maxlength="50"
The <input> tag does not have a width attribute. Its
width is controlled
by the size attribute. In Dreamweaver, this is set by
entering a value
into the Char width field. For most web pages, the maximum
should be no
more than about 60.
> I would have thought that the bodystyle text would be
used for the form inputs,
> but it isn't, so where is it defined?
Create a CSS class and apply it to the text fields.
> 5. Form prettification
>
> Can you, for example, put a table inside the form, and
then put the name, etc,
> into different cells?
Yes.
Although these questions have arisen from working through my
book, most
of them are general HTML/CSS/web design issues that would be
more
appropriately addressed to the forum in general. I try to
give a high
level of support to my books, but I hope you understand that
my time
(and knowledge) are not unlimited.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
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....
> ~ -
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.
cheersMacnimation 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/ -
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, Haven't written at you for awhile and I didn't want to hijack the thread.... Quick question. In a reply you made to a post with regards to hardware and work flow you made a statement
" ingest your material at a smaller codec for your editing decisions and relink to a better codec later "
by relink did you assume reference a movie was used then sequence change from timeline to different codec ?
can you point me some resources on this topic or even better a quick explanation.... If I understand the post correctly it could really save me quite a bit of time.
Thanks in advance
Navaron nava wrote:
Hi David, Haven't written at you for awhile and I didn't want to hijack the thread.... Quick question. In a reply you made to a post with regards to hardware and work flow you made a statement
" ingest your material at a smaller codec for your editing decisions and relink to a better codec later "
by relink did you assume reference a movie was used then sequence change from timeline to different codec ?
can you point me some resources on this topic or even better a quick explanation.... If I understand the post correctly it could really save me quite a bit of time.
You can ingest your original footage at a lower resolution or a codec with a lower demand on your hardware and then use Media Manager to recapture your footage at the higher rez. Or you can pull in your camera footage at maximum rez and create proxies at a lower rez and then relink when you're finished editing.
These are fundamental functions of most NLEs. Media management is one of the features that separates pro versions from the consumer versions.
bogiesan -
Question for David; was: PHP process too slow, can I increase timeout?
You wrote:
> You can follow the action in PHP. Just add an echo
command at the end of
> the loop to display the name of the image that has been
processed.
At the time I commented that this did not work for me, but I
thought it was
because I was doing all my processing before I opened a page.
However when I
thought about it I realised that I had in fact opened a page
before I started
processing the files.
I have just checked it again, and I open the new page, write
a heading, then
start copying files, echoing the name of each file as it is
copied.
But the result is the same. The heading appears, then there
is a long pause,
then all the diagnostics spit out, followed by a 'Fatal
error: maximum execution
time exceeded' diagnostic.
Can I get the diagnostics to appear as they are written, or
do they always wait
until the php processing is completed?
Clancyyou can use this debug function ... it writes debug statement
to a log file
(debug.log) in the same folder as teh script being run. It
assumes that PHP
has permission to create a file on your server - but it
should. This should
run as the script is processing
Alex
function debug_log(){
// DESCRIPTION: prints variable names and their values in a
readable
format within a log file
// INPUTS: any variables of any type, include string name;
// ex. debug("var1",$var1,"var6",$var6,...)
global $debug_file;
if(is_null($debug_file)){ $debug_file = "debug.log"; }
$msg = "";
$tab = " ";
$arg_list = func_get_args();
if(empty($arg_list))
return(false);
$count = func_num_args();
for($i = 0; $i < $count; $i+=2){
$j = $i+1;
$msg .=
_debug_format($arg_list[$i],$arg_list[$j])."\n".$tab;
$file = fopen($debug_file,"a");
if($file){
fwrite($file, date('Y-m-d H:i:s')." |
".$_SERVER['SCRIPT_NAME'].":\n".$tab.$msg."\n");
fclose($file);
return true;
}else{
return false; -
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. -
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!
Maybe you are looking for
-
This evening, I got a "VZW free msg" alerting me that a phone on my account had "made a charge with a third-party vendor." This is the second such message I've gotten this billing period. The messages are identical. My bill for the current billing pe
-
Using a Mac laptop within a Novel client environment
I have been working for a company that uses Macs exclusively and starting with one that is PC based. Moreover, they use Novel for their client server access. I hate that I might have to give up the use of a Mac laptop at work (I have an iMac at home
-
Workflow not working correctly when removing resource attributes
(Comment: I have to say that posting to this forum is a real pita. It takes me upwards of 20 minutes to figure out why various words are not allowed, with no indication of what is wrong. For some reason ba lt im ore is a forbidden word so I replaced
-
Hello, we are trying to refresh filter on a master table as you change pages. Both the pages use the same data control and if i search for the country Finland the results follow me as I move to the other page. Is there any way to avoid this problem.
-
How to Make Sure that the Apple Device and Printer are on the same Network
Depending on when one looks on this page, one can find members posting about issues with AirPrint or not being able to find the printer to use AirPrint. The first Item that people are told to check is the Apple Device's settings. Sometimes the perso