Installation Parse error [message #161666] |
Tue, 26 January 2010 19:29 |
benbenky
Messages: 4 Registered: January 2010
Karma: 0
|
Junior Member |
|
|
Hi all,
Tried to install FUD on my Qnap Nas for testing purposes with the real online application in mind.
Well, the installation gave up on me in step 1. I am getting an PHP syntax error:
Parse error: syntax error, unexpected '?' in /share/MD0_DATA/Qweb/fudforum/install.php on line 11
That sort of expirience is not encouraging for the first time user.
BTW my Qnap runs
Apache/1.3.41 (Unix) PHP/5.2.9
|
|
|
|
|
|
Re: installation issue [message #161675 is a reply to message #161674] |
Wed, 27 January 2010 10:29 |
benbenky
Messages: 4 Registered: January 2010
Karma: 0
|
Junior Member |
|
|
<?php
/* ¸ÀŽØ¸
* First 20 bytes of linux 2.4.18, so various windows utils think
* this is a binary file and don't apply CR/LF logic
*/
/***************************************************************************
* copyright : (C) 2001-2009 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
* $Id: install.php,v 1.189 2009/10/24 21:36:08 frank Exp $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
***************************************************************************/
function fud_ini_get($opt)
{
return (ini_get($opt) == '1' ? 1 : 0);
}
function fud_ini_set($opt, $val)
{
if (function_exists('ini_set')) {
ini_set($opt, $val);
}
}
|
|
|
|
Re: installation issue [message #161679 is a reply to message #161677] |
Wed, 27 January 2010 19:53 |
benbenky
Messages: 4 Registered: January 2010
Karma: 0
|
Junior Member |
|
|
My NAS is inaccessible form outside at the moment.
I am away for a week now. I will get back to you on my return.
What would you need on my side to carry out tests?
|
|
|
|
Installation Parse error. :-( [message #161697 is a reply to message #161666] |
Sat, 30 January 2010 07:56 |
newbie.john
Messages: 45 Registered: January 2010
Karma: 0
|
Member |
|
|
Hi,
I still cannot get FUD forum to install. Here is my latest error..
Parse error: syntax error, unexpected '?' in /home/mydir/public_html/forum/install.php on line 11
Can someone tell me how to fix this please ?
Regards, John.
|
|
|
|
Re: Installation Parse error. :-( [message #161699 is a reply to message #161698] |
Sat, 30 January 2010 09:19 |
newbie.john
Messages: 45 Registered: January 2010
Karma: 0
|
Member |
|
|
naudefj wrote on Sat, 30 January 2010 03:18There is no '?' on line 11 of the script.
1) Please try workaround "The installer shows a blank page or question marks?" at FAQ.
2) If it doesn't work, can you give me temp access to investigate?
It didn't work. Yes, you can have temp access. I don't want to put access info here. Where can I send you the info please ?
Regards, John.
|
|
|
|
Re: Installation Parse error. :-( [message #161702 is a reply to message #161697] |
Sun, 31 January 2010 02:48 |
newbie.john
Messages: 45 Registered: January 2010
Karma: 0
|
Member |
|
|
newbie.john wrote on Sat, 30 January 2010 02:56
Hi,
I still cannot get FUD forum to install. Here is my latest error..
Parse error: syntax error, unexpected '?' in /home/mydir/public_html/forum/install.php on line 11
Can someone tell me how to fix this please ?
Regards, John.
Okay, I have now uploaded the FUD files (FUDforum_web_install_3.0.0.zip 2,537KB) as ascii files rather than binary ones.
My error is now...
"Parse error: syntax error, unexpected '?' in /home/mydir/public_html/forum/install.php on line 5"
Regards, John.
|
|
|
|
Re: Installation Parse error. :-( [message #161732 is a reply to message #161706] |
Tue, 02 February 2010 04:13 |
newbie.john
Messages: 45 Registered: January 2010
Karma: 0
|
Member |
|
|
naudefj wrote on Sun, 31 January 2010 11:32OK, I think we cracked this one. The pesky 'detect_unicode' setting is still to blame. However, the provided workaround of disabling it with a '.htaccess' file doesn't work for everyone as some hosts disables .htaccess. In such cases, you will have to change this setting in your 'php.ini' file and restart the webserver or ask your hosting provider to do it for you.
Yes, that was the problem. Thank you for solving it.
|
|
|