Solutions for several (and critical) errors when trying to install Prosepoint (locale, newer versions of PHP 5.3.2 and others)
Fri, 16/07/2010 - 19:28
Pere
Joined: 28/04/2010
Posts:
Hi,
I'm still struggling since a couple or three months to get Prosepoint installed.
First of all, I'm using a locale different to English in my computer.
Installation steps 1, 2 and 3 go well, but I get an error on step 4 ("Install site"):
"An error occurred. http://localhost/prosepoint/install.php?locale=&profile=prosepoint&id=1&... (no information available)."
However, the installation process could be completed succesfully, apparently, since, after the error, I got a link to "Please continue to the error page",
which allowed me to complete it with no further errors (until later; see below).
I was suspecting it had something to do with my locale settings due to the "locale=" (empty value) in the URL string. I'm using Win XP SP3, OS language is
Catalan, and used Firefox both with Catalan and English locales (I switched to [en-us] in Firefox language settings hoping that would help). That didn't
help.
Next step was installing Windows XP "language bar"; then I selected "English (US)" as the default language.
Guess what. Installation went without errors.
But then another error arises after step 7 -Choose ProsePoint variant.
This proved to be related to PHP 5.3.2 and error_reporting settings in php.ini. This version throws an "E_DEPRECATED" notice for eval() function that seems
to interfer with the installation process. To get rid of it, I simply used these values for error_reporting:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
I have to say that using this recipe I'm able to almost complete the installation process without errors...
Almost.
Now I'm getting these infamous errors:
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 24.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 25.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 26.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 28.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 29.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 30.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 31.
That didn't happened when I had the "locale" error and had to complete the process via the "Please continue to the error page" link.
Fortunately, this error seem to be well documented by Drupal users and it even seems to be addressed in the DEV version, so I simply applied the patch I
found in:
http://drupal.org/files/issues/date.5.3.patch
Now, some criticism. I think these bugs should be addressed as soon as possible. There are already solutions for each bug. The "eval" one should be easily
avoided by using another function or telling in the install notes to use the "error_reporting" settings I recomended. The "locale" error should definitely
addressed as probably there are many of us out of here who don't use an English locale. Finally, there exists a solution for the "Attempt to modify property
of non-object" one and it's been published as a patch for Drupal.
It's not much work to get this resolved by Prosepoint maintainers (I don't know if I should call them "developers") and I think it's more important than
resolving other bugs or implementing new features (in my case, I've spent 2 or 3 months to definitely get it working).
I'm still struggling since a couple or three months to get Prosepoint installed.
First of all, I'm using a locale different to English in my computer.
Installation steps 1, 2 and 3 go well, but I get an error on step 4 ("Install site"):
"An error occurred. http://localhost/prosepoint/install.php?locale=&profile=prosepoint&id=1&... (no information available)."
However, the installation process could be completed succesfully, apparently, since, after the error, I got a link to "Please continue to the error page",
which allowed me to complete it with no further errors (until later; see below).
I was suspecting it had something to do with my locale settings due to the "locale=" (empty value) in the URL string. I'm using Win XP SP3, OS language is
Catalan, and used Firefox both with Catalan and English locales (I switched to [en-us] in Firefox language settings hoping that would help). That didn't
help.
Next step was installing Windows XP "language bar"; then I selected "English (US)" as the default language.
Guess what. Installation went without errors.
But then another error arises after step 7 -Choose ProsePoint variant.
This proved to be related to PHP 5.3.2 and error_reporting settings in php.ini. This version throws an "E_DEPRECATED" notice for eval() function that seems
to interfer with the installation process. To get rid of it, I simply used these values for error_reporting:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
I have to say that using this recipe I'm able to almost complete the installation process without errors...
Almost.
Now I'm getting these infamous errors:
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 24.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 25.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 26.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 28.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 29.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 30.
* warning: Attempt to modify property of non-object in C:\webs\prosepoint\profiles\prosepoint\modules\date\includes\date_plugin_display_attachment.inc on
line 31.
That didn't happened when I had the "locale" error and had to complete the process via the "Please continue to the error page" link.
Fortunately, this error seem to be well documented by Drupal users and it even seems to be addressed in the DEV version, so I simply applied the patch I
found in:
http://drupal.org/files/issues/date.5.3.patch
Now, some criticism. I think these bugs should be addressed as soon as possible. There are already solutions for each bug. The "eval" one should be easily
avoided by using another function or telling in the install notes to use the "error_reporting" settings I recomended. The "locale" error should definitely
addressed as probably there are many of us out of here who don't use an English locale. Finally, there exists a solution for the "Attempt to modify property
of non-object" one and it's been published as a patch for Drupal.
It's not much work to get this resolved by Prosepoint maintainers (I don't know if I should call them "developers") and I think it's more important than
resolving other bugs or implementing new features (in my case, I've spent 2 or 3 months to definitely get it working).
Hosting
The ProsePoint Factory offers a Hosted ProsePoint service.
Hi,
Noted. I should eventually look into this, but I'm overloaded with other work at the moment. Sorry.