This forum is no longer active. Please post your questions to our new community site

Recent Posts by Ed

Subscribe to Recent Posts by Ed 9 post(s) found

01 Aug, 2008 12:52 AM
Avatar Ed 9 post(s)

Topic: WAMPStack / Configuring For Zend Framework

The error was more serious than you think :)

Not only did I not have permission to access the mysql table, I hadn’t even made the table! Sorry to bother you.

Anyway, I was able to get Zend working with Bitnami Wampstack and complete the official Zend Quickstart Guide:

http://framework.zend.com/wiki/display/ZFDEV/Official+ZF+QuickStart

The only modifications I had to make to the Bitnami installation was to enable some (pdo) lines in the php.ini as instructed here (under the section called “Windows users running PHP 5.1.0 and up”:
http://ch2.php.net/manual/en/pdo.installation.php

To really get it working, I followed the advice from this comment on the Zend QuickStart (modified to work with Bitnami):

...download the source code from the ‘this archive’ link near the beginning and put it in your document root directory (e.g., /htdocs/quickstart/...). Then create a MySQL database [use Bitnami PHPmyAdmin] named ‘quickstart’. In the database make a table named ‘comments’ with 2 fields – comment_id (int with auto_increment) and comments (medium_text). Then edit the /quickstart/application/config/quickstart.ini file to use the MySQL name, username [my Bitnami used ‘root’] and password for the MySQL database that you just created [same as the Bitnami MySQL password entered during Bitnami installation]...

 
31 Jul, 2008 02:44 AM
Avatar Ed 9 post(s)

Topic: WAMPStack / Configuring For Zend Framework

I’m trying to configure Bitnami WampStack to perform the Zend QuickStart Tutorial:
http://framework.zend.com/wiki/display/ZFDEV/Official+ZF+QuickStart

I can’t do it. I’m getting this error:

Fatal error: Uncaught exception ‘Zend_Db_Adapter_Exception’ with message ‘SQLSTATE28000 Access denied for user ’...

I’ve already overcome a different error by enabling PDO (for Windows) as instructed here:
http://ch2.php.net/manual/en/pdo.installation.php

I found these instructions for installing Zend, but can’t figure out how to relate to Bitnami:
http://framework.zend.com/wiki/display/ZFDEV/Installing+Zend+Framework+on+Windows

How can I configure Bitnami WampStack to work with the Zend framework?

 
15 Jan, 2008 03:35 PM
Avatar Ed 9 post(s)

Topic: Drupal / Where to save static files?

I would like to save a static file named “test.htm” so that it displays when I visit: http://localhost/test.htm

Where do I save the file so that it dispays?

I tried saving it here, but it didn’t work :(

C:\BitNami Drupal Stack\apps\drupal\htdocs

I get this error message:

Not Found

The requested URL /test.htm was not found on this server.
Apache/2.0.61 (Win32) PHP/5.2.5 Server at localhost Port 80

 
15 Jan, 2008 03:29 PM
Avatar Ed 9 post(s)

Topic: Drupal / How to access the drupal database from the command prompt?

Thanks Antonio. It worked!

You are right, using phpmyadmin is much easier.

 
14 Jan, 2008 03:20 PM
Avatar Ed 9 post(s)

Topic: Drupal / How to access the drupal database from the command prompt?

I have the Bitnami Drupal Stack installed here:

C:\BitNami Drupal Stack

I am trying to view the Drupal mysql database from the Windows command prompt (by entering the command “mysql” into the command prompt).

Instead of granting me access to mysql, the control prompt gives this message.

‘mysql is not recognized as an internal or external command…’

From the command prompt, what directory should I be in to successfully give the “mysql” command? What is the “cd” command I should use from the command prompt?

Are there any other settings/documents that should be changed within the Bitnami Drupal stack installation?

My goal is to be able to view the Drupal tables so that I can begin writing php scripts that gather information from the Drupal mysql database.

 
03 Jan, 2008 12:18 AM
Avatar Ed 9 post(s)

Topic: Drupal / How to Enable Clean URL's?

Thank you kind and mighty Bitnami Ninja. It works!

 
02 Jan, 2008 12:58 PM
Avatar Ed 9 post(s)

Topic: Drupal / How to Enable Clean URL's?

Thanks, but still no luck.

Here’s what I did.

I checked the config file to make sure that “AllowOverride” is set to “All”.

From Windows XP, I went to Start | Programs | Bitnami Drupal Stack Service | Stop Bitnami Stack Service

Next I logged into drupal here: http://d7kxtw81/

(the above two steps are equivalent to restarting Apache, right?)

Finally, I went here: http://localhost/drupal/admin/settings/clean-urls

I received the 404 error message:

Not Found

The requested URL /drupal/admin/settings/clean-urls was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.61 (Win32) PHP/5.2.5 Server at localhost Port 80

 
01 Jan, 2008 07:57 PM
Avatar Ed 9 post(s)

Topic: Drupal / How to Enable Clean URL's?

I uninstalled Bitnami, then reinstalled and tried the above steps.

It still isn’t working for me. Here’s what I did.

For this file: C:\Bitnami Drupal Stack\apps\drupal\conf\drupal.conf

The contents are changed to:

Alias /drupal/ “C:/BitNami Drupal Stack/apps/drupal/htdocs/”
Alias /drupal “C:/BitNami Drupal Stack/apps/drupal/htdocs”

<directory> Options Indexes MultiViews AllowOverride All Order allow,deny Allow from all
</directory>

This message appears when I visit the link http://localhost:8080/drupal/admin/settings/clean-urls: “unable to connect. Firefox can’t establish a connection to the server at localhost:8080”

I’m not sure how to determine if I am using port 8080. I don’t recall specifying the port when installing Bitnami.

Any other steps I should follow to enable clean url’s?

 
31 Dec, 2007 02:28 PM
Avatar Ed 9 post(s)

Topic: Drupal / How to Enable Clean URL's?

I’ve been trying for days to enable the Drupal feature for “clean url’s”.

I’ve worked through the steps here: http://drupal.org/node/15365 with no success.

I’ve installed Bitnami here: C:\BitNami Drupal Stack

What are the steps to enable clean url’s?