Parse Error
Parse Error
installation whent perfect - database creation was a breeze and automated
but in the online configuration utility after i log in
and go to update i get the error below
Parse error: parse error, unexpected '}' in E:\Web Root\Web Root\Forums\phpBB2\netjukebox\update.php on line 307
but in the online configuration utility after i log in
and go to update i get the error below
Parse error: parse error, unexpected '}' in E:\Web Root\Web Root\Forums\phpBB2\netjukebox\update.php on line 307
nothing at all
i haven't changed anything in the update file...
i know the issue seems weired
i know the issue seems weired
i use wamp server 1.6.0 for windows xp
http://www.wampserver.com/en/index.php
Apache 2.0.55
Mysql 5.0.17
PHP 5.1.1
i wasn't able to copy those two files the lib & dll one because i have version 5 so i downloaded both version 4 files...
and put them in the folder i also put version 5 files in the folder just in case
the folder i'm refering to is system32
http://www.wampserver.com/en/index.php
Apache 2.0.55
Mysql 5.0.17
PHP 5.1.1
i wasn't able to copy those two files the lib & dll one because i have version 5 so i downloaded both version 4 files...
and put them in the folder i also put version 5 files in the folder just in case
the folder i'm refering to is system32
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
If you like an all in one package consider XAMP.
http://www.apachefriends.org/en/index.html
The current version contains:
Apache 2.2.0
MySQL 5.0.18
PHP 5.1.1
phpMyAdmin 2.7.0-pl1
netjukebox works without any problem on XAMP for windows.
A half year ago I also have successfully tested netjukebox on XAMP for Linux.
Maybe it is easier to switch from WAMP to XAMP than get WAMP working correctly
http://www.apachefriends.org/en/index.html
The current version contains:
Apache 2.2.0
MySQL 5.0.18
PHP 5.1.1
phpMyAdmin 2.7.0-pl1
netjukebox works without any problem on XAMP for windows.
A half year ago I also have successfully tested netjukebox on XAMP for Linux.
Maybe it is easier to switch from WAMP to XAMP than get WAMP working correctly
-
- User
- Posts: 2
- Joined: Fri Jan 13, 2006 1:27 pm
When I remove the '}' @ line 307, the error is gone. Don't know if f****d the program by doing this, but it *works*! (for me).Parse error: parse error, unexpected '}' in E:\Web Root\Web Root\Forums\phpBB2\netjukebox\update.php on line 307
I don't have any knowledge of PHP4/5, but 'unexpected' in my view, means it shouldn't be there.
I'm Using:
- Windows Server 2003 Standard
- Apache2.0.55
- PHP5.1.2 + PECL pack
- Mysql5.0.18-nt
Any comments are welcome! enlighten me
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
I found the solution
You only get this error when you have disabled short tags in the php.ini (short_open_tag = Off)
I have forgotten to open a php tag with <?php and have used <? on one place.
You can fix the problem by editing line 221 in the update.php file:
old:
new:
Let me know if this will fix the problem.
If so I will release a bugfix (netjukebox 3.77c)
You only get this error when you have disabled short tags in the php.ini (short_open_tag = Off)
I have forgotten to open a php tag with <?php and have used <? on one place.
You can fix the problem by editing line 221 in the update.php file:
old:
Code: Select all
<?
Code: Select all
<?php
If so I will release a bugfix (netjukebox 3.77c)
-
- User
- Posts: 2
- Joined: Fri Jan 13, 2006 1:27 pm
Those files are already installed, all you have to do is open php.ini and change:xorphan wrote:i use wamp server 1.6.0 for windows xp
http://www.wampserver.com/en/index.php
Apache 2.0.55
Mysql 5.0.17
PHP 5.1.1
i wasn't able to copy those two files the lib & dll one because i have version 5 so i downloaded both version 4 files...
and put them in the folder i also put version 5 files in the folder just in case
the folder i'm refering to is system32
;extension=php_gd2.dll
into
extension=php_gd2.dll
and
;extension=php_pdf.dll
into
extension=php_pdf.dll
that's all