Install error

Bug #275431 reported by bgg
2
Affects Status Importance Assigned to Milestone
ProsePoint
Fix Released
Critical
bengtan

Bug Description

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/ww2assam/public_html/profiles/prosepoint/themes/zen/zen/template.php on line 395

mine is a cpanel configured server.

created sites/default/settings.php chmod 666
chmod 777 default

I used this file: prosepoint-0.03.tar.gz

Revision history for this message
bengtan (bengtan) wrote :

Hi,

Please check your server meets the requirements documented at http://www.prosepoint.org/docs/requirements.html.

Also, please follow the installation guide at http://www.prosepoint.org/docs/installation.html,

and please tell me which stage in 5.4 you got up to.

Also, I don't suppose I can get you to try a reinstall, or maybe even a redownload? Sounds like that particular file got corrupted somehow.

Revision history for this message
bengtan (bengtan) wrote :

Hi,

Just had a thought. That particular line has a syntax that requires PHP 5. My apologies.

I guess your server has an older version of PHP?

bengtan (bengtan)
Changed in prosepoint:
assignee: nobody → bengtan
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
bgg (bgogoi) wrote :

sorry.. you are right. I have now moved the installation to another server on php5 and it worked well. Thank you!

Revision history for this message
bengtan (bengtan) wrote :

This issue has been diagnosed. The offending line uses a syntax that requires PHP 5.

It will be fixed in the next ProsePoint release.

However, there is a temporary workaround ...

In the file .../profiles/prosepoint/themes/zen/zen/template.php, change line 395 from:

  foreach ($existing AS $hook => &$value) {

to:

  foreach ($existing AS $hook => $value) {

In other words, delete the '&' character.

Thank you, and sorry for the inconvenience.

Revision history for this message
bengtan (bengtan) wrote :

This has been fixed in the release of ProsePoint 0.04. However, moving forward, it is likely that support for PHP 4.x will be dropped.

Changed in prosepoint:
status: Confirmed → Fix Released
Revision history for this message
bgg (bgogoi) wrote : Re: [Bug 275431] Re: Install error

php4.x support == may be you can keep this till 1st stable release and then
stop the php4 support in the next release. (I hv already playing in a php5.x
server)
People with php4 can then still play with the stable release and if they
want to go for a live site, they go with a regular release.

On Wed, Oct 22, 2008 at 12:10 PM, bengtan <email address hidden> wrote:

> This has been fixed in the release of ProsePoint 0.04. However, moving
> forward, it is likely that support for PHP 4.x will be dropped.
>
> ** Changed in: prosepoint
> Status: Confirmed => Fix Released
>
> --
> Install error
> https://bugs.launchpad.net/bugs/275431
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in ProsePoint, A newspaper and magazine content management system:
> Fix Released
>
> Bug description:
> Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in
> /home/ww2assam/public_html/profiles/prosepoint/themes/zen/zen/template.php
> on line 395
>
> mine is a cpanel configured server.
>
> created sites/default/settings.php chmod 666
> chmod 777 default
>
> I used this file: prosepoint-0.03.tar.gz
>

--
--

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.