Parse error: syntax error, unexpected T_STRING

Hi,

After I installed the platform I am getting this error:

Parse error: syntax error, unexpected T_STRING in /home/.../inc/classes/BxDolProfileFields.php on line 598

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

very rare file corrupt, please try to replace the file

line mentioneed should look like (if not double spaced):

foreach( $aBlocks as $aBlock ) {

please open it and post the line here and we can give the edit to fix without replacing.

I have video tutorials to help you mrpowless.com
Quote · 30 Dec 2009

Is this the line you are referring to?

This is the only foreach function I have in BxDolProfileFields.php that refers to $aBlock

foreach( $aBlocks l = array( 'NickName', 'Password', 'Email' );

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

I meant look at your line 598 and post it. If thats your line you have the wrong package.

I have video tutorials to help you mrpowless.com
Quote · 30 Dec 2009

This is my line 598

foreach( $aBlocks l = array( 'NickName', 'Password', 'Email' );

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

oh please delete all that and just send line 598

I believe it is foreach( $aBlocks l = array( 'NickName', 'Password', 'Email' );

in which case you have modified it and need to take the | and a space

I have video tutorials to help you mrpowless.com
Quote · 30 Dec 2009

Done

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

ok just replace that line with:

foreach( $aBlocks as $aBlock ) {

i would get a new download though and erase all and start over.

I have video tutorials to help you mrpowless.com
Quote · 30 Dec 2009

hm....

Now it is saying

Parse error: syntax error, unexpected T_AS in /home/.../inc/classes/BxDolProfileFields.php on line 668

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

I don't want to reinstall everything, it took me a while.

Is there any fix for this?

Thank you!

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

when did you get your download? the problem is that if this file is corrupt or outdated... we dont know how many more are so you could be chasing bugs for the next month. I really would just start fresh using a download from right today.

I have video tutorials to help you mrpowless.com
Quote · 30 Dec 2009
http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009

Finally, I made it work.

mrpowless, thank you for your assistance!

http://www.magento-templates.com/ - Magento Templates for eCommerce websites
Quote · 30 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.