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

Home » FUDforum » FUDforum Installation Issues » Installation Parse error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Installation Parse error [message #161666] Tue, 26 January 2010 19:29 Go to next message
benbenky is currently offline  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 #161667 is a reply to message #161666] Tue, 26 January 2010 19:48 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 20:23 Go to previous messageGo to next message
benbenky is currently offline  benbenky
Messages: 4
Registered: January 2010
Karma: 0
Junior Member
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 20:23]

Report message to a moderator

Re: installation issue [message #161674 is a reply to message #161668] Wed, 27 January 2010 06:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 10:29 Go to previous messageGo to next message
benbenky is currently offline  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 #161677 is a reply to message #161675] Wed, 27 January 2010 15:55 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 19:53 Go to previous messageGo to next message
benbenky is currently offline  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?
Re: installation issue [message #161680 is a reply to message #161679] Wed, 27 January 2010 20:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 07:56 Go to previous messageGo to next message
newbie.john is currently offline  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 #161698 is a reply to message #161697] Sat, 30 January 2010 08:18 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 09:19 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
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 12:01 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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] Sun, 31 January 2010 02:48 Go to previous messageGo to next message
newbie.john is currently offline  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 #161706 is a reply to message #161702] Sun, 31 January 2010 16:32 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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] Tue, 02 February 2010 04:13 Go to previous message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
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

  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sun Jun 02 02:27:33 GMT 2024

Total time taken to generate the page: 0.04905 seconds