Install error
Hi,
I'm trying to install from the dcb-1.0.7.tgz package onto a Linux (Ubuntu 8.04 server) machine with the latest Apache and PHP 5.2.6 both built from source. It passes the DB stuff no problem -- creates the tables, etc. It gets stuck sometime after this. I've attached the HTML error page that was generated. It seems to be a problem with the Lucene plugin, or possibly the index it's trying to create. Any ideas?
Thanks... Sandy.
| Fichier attaché | Taille |
|---|---|
| dcb-install-error-html.txt | 63.88 KB |

Viewing the error message
Hi Sandy,
By default the ICA-AtoM application is in "production" mode, which supresses error messages that mean nothing to most users. In this case however, it sounds like an error is preventing the page from loading completely and you are not seeing the error message. To make the errors visible, you can use the "development" front controller, by modifying your URL as follows:
Original URL:
http://www.example.com/dcb/web/sfInstallPlugin/siteConfiguration
New URL:
http://www.example.com/dcb/web/qubit_dev.php/sfInstallPlugin/siteConfigu...
Note the inclusion of the "qubit_dev.php" string after the "web" folder.
Please post back to this forum with the error message you see, and I can help you troubleshoot it from there.
Regards,
David Juhasz
New error message
Okay, I had to comment out the first if statement in qubit_dev.php to allow the debug front controller to work. I now get this error message:
Fatal error: Call to undefined function submit_tag() in /usr/local/apache2/htdocs-dcb/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/configureSiteSuccess.php on line 46
The page that generates this error is: web/qubit_dev.php/sfInstallPlugin/configureSite
I notice that the configureDatabaseSuccess.php page in the same directory as configureSiteSuccess.php does not try to use this missing submit_tag() function, but rather just renders the submit button directly. That page worked fine.
Thanks again.... Sandy.
I seem to remember this
I seem to remember this coming up once before, we started by looking at settings.yml, but the form helper (which defines submit_tag()) is loaded by default in symfony/lib/config/config/settings.yml
But then it is removed on sfPHPView.class.php, line 47
I'll try putting debug_print_backtrace() in my workinng FormHelper.php file, to see where it's loaded
Closer, but still not there...
Thanks David,
I was able to manually generate the indexes, as per your instructions. When I reload the error page after creating them, it moves on to the next page titled "Site Configuration". Here I can enter the site name and description and the details for the administrator account into a form with six text fields, but there's no submit button. At this point I'm stuck. Looking at the HTML for the page, it appears to be cut off -- the form tag at the start of the form is never closed with a matching /form.
I also tried the 'php symfony propel:build-all-load --skip-forms' command from the link you provided, but the result was the same. After the data was loaded (correctly, as far as I can tell) I reload the web page and I'm back at this Site configuration page with no submit button.
Any ideas? Thanks...
Sandy
Try this, please
Hi Sandy,
Thanks for the detailed report of your OS, MySQL and Apache versions - this is a big help when troubleshooting issues. :)
To create the missing search index directories manually, run the following commands on the command-line:
> cd /your/dcb/directory
(Perhaps "/var/www/dcb" or "home/your_user_name/public_html/dcb"?)
> php symfony search:populate en
This will add a search index for English, which is the index that is currently causing the error report. Hopefully this will be enough, and the install will proceed smoothly after this step. However, you may need to build additional search index files for other cultures (even if you are only planning to use English).
> php symfony search:populate de
> php symfony search:populate fr
> php symfony search:populate es
etc..
Also see this post on the ICA-AtoM support forum for further details on this problem, and a list of cultures required by the system:
http://groups.google.ca/group/ica-atom-users/msg/305cbdf94682530d
Also don't hesitate to post to this forum if you have any more difficulties.
Regards,
David Juhasz
Software Engineer, Artefactual Systems Inc.
Hi Evelyn, Thanks for
Hi Evelyn,
Thanks for responding. I have not attempted another installation since posting the first message. I tried twice with the same error occurring each time. If you could have someone look at the copy of the installation error report I attached to the first message, that would be very helpful. Thanks again...
Sandy
Re: install error
Hi Sandy,
Sorry for the delay in answering your question. It has taken a while to work out a support services contract for the DCB but there is now a contract in place and all questions on this forum will be answered promptly going forward.
If you are still having this problem could you please let us know? We can get a developer to assist you.
Evelyn McLellan, DCB Community Manager