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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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] Thu, 09 March 2006 20:01 Go to next message
judas_iscariote is currently offline  judas_iscariote   Chile
Messages: 17
Registered: March 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 21: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
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 21: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
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 21: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
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 21: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
add to buddy list
ignore all messages by this user
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: Thu, 09 March 2006 21:48]

Report message to a moderator

Re: install.php and install-cli.php just shows "???" signs. [message #30714 is a reply to message #30713] Thu, 09 March 2006 21: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
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 22: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
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 22: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
add to buddy list
ignore all messages by this user
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: Thu, 09 March 2006 22: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] Thu, 09 March 2006 22: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
add to buddy list
ignore all messages by this user
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] Thu, 09 March 2006 22: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
add to buddy list
ignore all messages by this user
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 09: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
add to buddy list
ignore all messages by this user
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 13: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
add to buddy list
ignore all messages by this user
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 15: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
add to buddy list
ignore all messages by this user
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 17: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
add to buddy list
ignore all messages by this user
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 12: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
add to buddy list
ignore all messages by this user
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 15: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
add to buddy list
ignore all messages by this user
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] Sun, 12 March 2006 22: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
add to buddy list
ignore all messages by this user
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 02: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
add to buddy list
ignore all messages by this user
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 01:52 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3682
Registered: December 2004
Karma: 19
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Oct 22 21:53:25 EDT 2018

Total time taken to generate the page: 0.00914 seconds