FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Installation Parse error
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Installation Parse error [message #161666] Tue, 26 January 2010 14:29 Go to next message
benbenky is currently offline  benbenky
Messages: 4
Registered: January 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 #161667 is a reply to message #161666] Tue, 26 January 2010 14:48 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Please look at "The installer shows a blank page or question marks?" at http://cvs.prohost.org/index.php/FAQ
Re: installation issue [message #161668 is a reply to message #161667] Tue, 26 January 2010 15:23 Go to previous messageGo to next message
benbenky is currently offline  benbenky
Messages: 4
Registered: January 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks,
did not work. The .htaccess file created and saved in the root folder as advised. The error persists.
i47.tinypic.com/2iiy4ux.jpg
i49.tinypic.com/1564yrm.jpg
i48.tinypic.com/2gy7hcm.jpg
You cannot use links until you have posted more than 5 messages.

[Updated on: Tue, 26 January 2010 15:23]

Report message to a moderator

Re: installation issue [message #161674 is a reply to message #161668] Wed, 27 January 2010 01:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
What is on line 11 in the script? The first '?' is on line 19!
Re: installation issue [message #161675 is a reply to message #161674] Wed, 27 January 2010 05:29 Go to previous messageGo to next message
benbenky is currently offline  benbenky
Messages: 4
Registered: January 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
<?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 #161677 is a reply to message #161675] Wed, 27 January 2010 10:55 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
So, there is definitely no '?' on line 11. Who know what may be going on here. Any chance of giving me temp access for testing?
Re: installation issue [message #161679 is a reply to message #161677] Wed, 27 January 2010 14:53 Go to previous messageGo to next message
benbenky is currently offline  benbenky
Messages: 4
Registered: January 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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?
Re: installation issue [message #161680 is a reply to message #161679] Wed, 27 January 2010 15:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
I would typically need shell access to the server and an admin account on the forum. Alternatively, setup a VM I can download or provide exact steps on how to reproduce the problem.

Best regards.

Frank
Installation Parse error. :-( [message #161697 is a reply to message #161666] Sat, 30 January 2010 02:56 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user

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 #161698 is a reply to message #161697] Sat, 30 January 2010 03:18 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
There 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?
Re: Installation Parse error. :-( [message #161699 is a reply to message #161698] Sat, 30 January 2010 04:19 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
naudefj wrote on Sat, 30 January 2010 03:18
There 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 #161700 is a reply to message #161699] Sat, 30 January 2010 07:01 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
newbie.john wrote:
Yes, you can have temp access. I don't want to put access info here. Where can I send you the info please ?


Please reply to the mail I've sent you.
Re: Installation Parse error. :-( [message #161702 is a reply to message #161697] Sat, 30 January 2010 21:48 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 #161706 is a reply to message #161702] Sun, 31 January 2010 11:32 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
OK, 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.
Re: Installation Parse error. :-( [message #161732 is a reply to message #161706] Mon, 01 February 2010 23:13 Go to previous message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
naudefj wrote on Sun, 31 January 2010 11:32
OK, 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. Smile

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Please anwser. This should be a simple quesiton....PLLLEAAASSEEEE
Next Topic: Problems following upgrade to v3
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 23 04:05:41 EDT 2017

Total time taken to generate the page: 0.00883 seconds