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

Home » FUDforum » FUDforum Installation Issues » install.php and install-cli.php just shows "???" signs.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  install.php and install-cli.php just shows "???" signs. [message #30706] Fri, 10 March 2006 01:01 Go to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Hi:

I tried to install fudforum using both cli and web installer from the today CVS.

Im running PHP 5.1.3-dev from march 6 2006 CVS on Linux AMD64.
PHP is compiled with zlib , mysql, mysqli , PDO and zend-multibyte support( and other extensions ), memory Limit is 32MB.

first time I access the web installer it displays three "?" signs.("???") and does nothing, when I reload the page, it just do nothing Confused

if I use the install-cli.php script it displays exactly 5686 "?" signs and do nothing.

any IDEA ?







Re: install.php and install-cli.php just shows "???" signs. [message #30708 is a reply to message #30706] Fri, 10 March 2006 02:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What are your mbstring settings, do you have function overload enabled?

FUDforum Core Developer
Re: install.php and install-cli.php just shows "???" signs. [message #30709 is a reply to message #30706] Fri, 10 March 2006 02:31 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Hi Ilia: Cool

here is the mbstring settings.

Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.script_encoding no value no value
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

Re: install.php and install-cli.php just shows "???" signs. [message #30712 is a reply to message #30709] Fri, 10 March 2006 02:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did the installer create forum_archive or similar file in the directory it was placed in?

FUDforum Core Developer
Re: install.php and install-cli.php just shows "???" signs. [message #30713 is a reply to message #30706] Fri, 10 March 2006 02:47 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
No, installer did not created any file, but directory is world writable (0777)

edit : No apache log, no segfault. nothing.

Thanks for your atention.

[Updated on: Fri, 10 March 2006 02:48]

Report message to a moderator

Re: install.php and install-cli.php just shows "???" signs. [message #30714 is a reply to message #30713] Fri, 10 March 2006 02:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
can you try putting var_dump() at the various section of the script to see which (if any) are being reached.

FUDforum Core Developer
Re: install.php and install-cli.php just shows "???" signs. [message #30715 is a reply to message #30706] Fri, 10 March 2006 03:10 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Crying or Very Sad

a trace using xdebug ( just recompiled from the CVS)
using

xdebug.auto_trace On
xdebug.show_local_vars On
seems to be unhelpful

TRACE START [2006-03-10 03:05:32]
      2     0.0065     102040   -> {main}() /srv/www/htdocs/fud21_install/install.php:0
      3     0.0070       4008
      4 TRACE END   [2006-03-10 03:05:32]


executions seems to be halted inmediately.

ps: I tried fudforum install with and without xdebug loaded soame result.

icon4.gif  Re: install.php and install-cli.php just shows "???" signs. [message #30716 is a reply to message #30706] Fri, 10 March 2006 03:31 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Also, a weird thing happends, If I call the installer with the browser one time. it shows "???" but If I reload the page it shows nothing, but if I wait a few seconds ( maybe 30 sec or so ) and reload the page, it shows the "???" again Shocked

ps: Im using apache 2.0.5x (prefork)

[Updated on: Fri, 10 March 2006 03:33]

Report message to a moderator

icon4.gif  Re: install.php and install-cli.php just shows "???" signs. [message #30717 is a reply to message #30706] Fri, 10 March 2006 03:39 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
executing the installer with the web browser but clean ( a fresh copy from the CVS ( without the compressed archvie content)displays:

??????¸?????????????????????? ( duplicate ??? for zillions more)


xdebug backtrace is identical.
icon4.gif  Re: install.php and install-cli.php just shows "???" signs. [message #30718 is a reply to message #30717] Fri, 10 March 2006 03:54 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
I have unloaded the mbstring extension and the "???" simbols are gone, however, script do nothing, no warning.nothing Confused Sad


ps_:will be nice if you provide a "normal" installer as any other forum does, or soemthing similar Rolling Eyes Razz
Re: install.php and install-cli.php just shows "???" signs. [message #30721 is a reply to message #30718] Fri, 10 March 2006 14:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you have any zend extensions loaded, such as the Zend Optimizer?

FUDforum Core Developer
Re: install.php and install-cli.php just shows "???" signs. [message #30725 is a reply to message #30721] Fri, 10 March 2006 18:21 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Only xdebug, and if I unload it, th result it's the same.
Re: install.php and install-cli.php just shows "???" signs. [message #30727 is a reply to message #30725] Fri, 10 March 2006 20:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Sounds like a possible bug in PHP, I'll investigate it over the weekend.

FUDforum Core Developer
Re: install.php and install-cli.php just shows "???" signs. [message #30729 is a reply to message #30727] Fri, 10 March 2006 22:04 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Ilia:
I have compiled PHP cli without zend-multibyte and the cli installer started working again.


I haven't tried the web installer though...

this maybe can help you to find where starts looking ?
Re: install.php and install-cli.php just shows "???" signs. [message #30747 is a reply to message #30729] Sun, 12 March 2006 17:24 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I suspect the problem is a bug in PHP where the engine multibyte support (a very poor one to be truthful with you) breaks the COMPILER_HALT functionality in PHP.

I'd suggest compiling your PHP without that flag.


FUDforum Core Developer
Re: install.php and install-cli.php just shows "???" signs. [message #30757 is a reply to message #30747] Sun, 12 March 2006 20:47 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Ok. Thanks for advice.

If you need more information to trace the underlying issue, let me to know.

ps: nice to see the "var" deprecation E_STRICT removed Very Happy
Re: install.php and install-cli.php just shows "???" signs. [message #30765 is a reply to message #30747] Mon, 13 March 2006 03:30 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
Ilia wrote on Sun, 12 March 2006 12:24

I suspect the problem is a bug in PHP where the engine multibyte support (a very poor one to be truthful with you) breaks the COMPILER_HALT functionality in PHP.

I'd suggest compiling your PHP without that flag.


I ahve opened a bug report on php bugtracker on this topic.
Re: install.php and install-cli.php just shows "???" signs. [message #30787 is a reply to message #30765] Mon, 13 March 2006 07:41 Go to previous messageGo to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
bug report is here:

http://bugs.php.net/bug.php?id=36711


workaround sugessted if any other person have the same problem.

bug was marked as bogus, I think due tony2001 confusion. Confused
Re: install.php and install-cli.php just shows "???" signs. [message #161328 is a reply to message #30787] Wed, 09 December 2009 06:52 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
For future reference, the solution is to set "detect_unicode" to "off" in your php.ini file. More details @ http://fudforum.org/forum/index.php?t=msg&th=118843
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Error when running Install.PHP
Next Topic: Two questions about upgrading and moving an install
Goto Forum:
  

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

Current Time: Fri Nov 22 16:10:35 GMT 2024

Total time taken to generate the page: 0.03685 seconds