-
- enregistré depuis:
- janvier 2007
- Status:
- hors ligne
- dernière visite:
- 15.01.07
- Messages:
- 1
I have actually been trying to initialize PN_zClassifieds since postnuke .750, and your beta 2.3 is the first version to actually succeed. I just wanted to thank you. What held me back before was the reserved name in Mysql 5.X, issue. However, one thing, when I first tried to initialize PN_zClassifieds beta 2.3 I got the following error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/4admin/apache/vhosts/eternalimageandsound.com/httpdocs/nuke/html/modules/PN_zClassifieds/pninit.php on line 350
I checked pninit.php on line 350, and it looks to be related to that condition that was changed. But since I was not upgrading I just removed the entire upgrade function, and then the mod worked perfectly. Thanks again.
-
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 12.05.08
- Messages:
- 257
Thanks a lot for your kind words.
There seems to be a problem in this line.
I will look at it
In the meantime, people installing a new version can suppress this line as you did.
People upgrading from a previous version can also suppress the line and manually change the name of the field from 'condition' to 'itemcondition' because as you said condition is now a reserved name in Mysql 5 so it can no more be used as a field name. -
Invité
- rang:
- 1
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.03.05
- Messages:
- 0
BUG in MySQL 5:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /motosdeagua.es/modules/PN_zClassifieds/pninit.php on line 350 -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 12.05.08
- Messages:
- 257
Hello,
This problem is now corrected in the zipfile available in the Downloads section.
There was a bug in that line
Line 350 in pninit.php was :
and it should have been
Sorry it has taken so long to find the time to look at this problem !









