Forum

[Edit Admin] removed URL

edited September 24 in Support

The 3.2 build has some problems, it died suddenly.
So i thought i could reinstall a new tao
[Edit Admin: removed URL] does not allow me to move on the next.
clicking re-check does nothing useful.
any idea how to proceed?
thanks!

Comments

  • this is the error message

    Uncaught TypeError: Cannot read property 'value' of undefined
    at step_requirements.js:74
    at Object. (api.js:99)
    at fire (jquery-1.9.1.js:1037)
    at Object.fireWith [as rejectWith] (jquery-1.9.1.js:1148)
    at done (jquery-1.9.1.js:8076)
    at XMLHttpRequest.callback (jquery-1.9.1.js:8598)

    function checkConfig(){
    // Launch the configuration check procedure only if we can talk JSON
    // with the server side.
    install.sync(function(status, data){
    if (data.value.json == true){

  • What version of PHP do you have and are you reinstalling 3.2 or the latest 3.3 (recommended)?

  • I have php7.3
  • I have php7.2 also. Changing the php version didn't solve the bug
  • I did a brand new install of tao3.3
  • Make sure you're using php7.2 for TAO, it isn't compatible with php7.3

  • amyamy
    edited September 20

    Make sure you're using php7.2 for TAO 3.3, it isn't compatible with php7.3

  • I am on php7.2 not the installation didn't work.
    Please help
  • Following the steps in https://adminguide.taotesting.com/3.3/installation-and-upgrade/prerequisites for the appropriate Operating System, let me know at what stage it fails and any error messages.

  • edited September 25

    i think got everything done
    Server-Side
    The following versions are required in order to install TAO.

    Apache 2.4 - or equivalent web server
    PHP 7.2
    MySQL 5.7
    , MariaDB 10.1, or PostgreSQL 9.5
    It is recommended to install on a Linux based distribution such as Ubuntu, Debian, CentOS, RHEL or similar.

    Client-Side
    As TAO runs in a browser on the client-side, the following are recommendations for user systems:

    Internet Explorer 11
    Chrome – recent version
    Firefox – recent version
    Safari – recent version
    Edge – recent version

    this is the error message
    Uncaught TypeError: Cannot read property 'value' of undefined
    at step_requirements.js:74
    at Object. (api.js:99)
    at fire (jquery-1.9.1.js:1037)
    at Object.fireWith [as rejectWith] (jquery-1.9.1.js:1148)
    at done (jquery-1.9.1.js:8076)
    at XMLHttpRequest.callback (jquery-1.9.1.js:8598)

    function checkConfig(){
    // Launch the configuration check procedure only if we can talk JSON
    // with the server side.
    install.sync(function(status, data){
    if (data.value.json == true){

  • i checked with my server admin, my server meets the requirements.
    i speculate the problem lies in the installation scripts on TAO.
    see
    function checkConfig(){
    // Launch the configuration check procedure only if we can talk JSON
    // with the server side.
    install.sync(function(status, data){
    if (data.value.json == true){ //Uncaught TypeError: Cannot read property 'value' of undefined at step_requirements.js:74

  • Ok but at what step of the installation are you running into this so we can narrow things down?

  • at step 'requirement check'.
    see screen shot at first post

  • Can you remove PHP7.3 to ensure it's the version being used by TAO? Also verify permissions.

  • using the cpanel - MultiPHP Manager - i am on php 7.2

    how to verify permissions of which file?

  • If you turn on the Web Console in your browser are there any error messages?

    Verifying permissions on the command-line for the directory with ls -l

  • the developer console shows this
    this is the error message

    Uncaught TypeError: Cannot read property 'value' of undefined
    at step_requirements.js:74
    at Object. (api.js:99)
    at fire (jquery-1.9.1.js:1037)
    at Object.fireWith [as rejectWith] (jquery-1.9.1.js:1148)
    at done (jquery-1.9.1.js:8076)
    at XMLHttpRequest.callback (jquery-1.9.1.js:8598)

    function checkConfig(){
    // Launch the configuration check procedure only if we can talk JSON
    // with the server side.
    install.sync(function(status, data){
    if (data.value.json == true){

  • 'Verifying permissions on the command-line for the directory with ls -l'

    What does this mean?
    Command line on my computer or command line on my server folder with Tao?
  • I had one of the Developers look at your error and it looks like a misconfiguration, the web server isn't returning any information. You will want to check your .htaccess file and your apache configuration. If you're not sure where these are you might want to get help from your hosting provider.

  • edited October 9

    i found the .htaccess file in the root of my server

    below is the text


    SetOutputFilter DEFLATE

    # Netscape 4.x has some problems...
    BrowserMatch ^Mozilla/4 gzip-only-text/html

        # Netscape 4.06-4.08 have some more problems
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
    
        # MSIE masquerades as Netscape, but it is fine
        # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    
        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        # the above regex won't work. You can use the following
        # workaround to get the desired effect:
        BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
    
        # Don't compress images
        SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>
    
    <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
    

    BEGIN cPanel-generated php ini directives, do not edit

    Manual editing of this file may result in unexpected behavior.

    To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)

    For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)


    php_flag asp_tags Off
    php_flag display_errors On
    php_value max_execution_time 60
    php_value max_input_time 60
    php_value max_input_vars 2000
    php_value memory_limit 512M
    php_value post_max_size 120M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea3"
    php_value upload_max_filesize 20M
    php_flag zlib.output_compression Off

    END cPanel-generated php ini directives, do not edit

    can i get some advise what to change for TAO to install?

  • edited October 9

    i also found .htacess on my server public_html folder

    .htaccess ( UTF-8 Unicode text )
    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^iwant2study.org$ [OR]
    RewriteCond %{HTTP_HOST} ^www.iwant2study.org$
    RewriteRule ^/?$ "http:\/\/iwant2study.org\/ospsg\/" [R=301,L]

    php -- BEGIN cPanel-generated handler, do not edit

    Set the “ea-php72” package as the default “PHP” programming language.


    AddHandler application/x-httpd-ea-php72 .php .php7 .phtml

    php -- END cPanel-generated handler, do not edit

    BEGIN cPanel-generated php ini directives, do not edit

    Manual editing of this file may result in unexpected behavior.

    To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)

    For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)


    php_flag display_errors On
    php_value error_reporting E_ALL & ~E_NOTICE
    php_value error_log "/home/iwtstudy/public_html/error_log"
    php_value max_execution_time 60
    php_value max_input_time 60
    php_value max_input_vars 1000
    php_value memory_limit 1024M
    php_value post_max_size 64M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
    php_value upload_max_filesize 64M
    php_flag zlib.output_compression On


    php_flag display_errors On
    php_value error_reporting E_ALL & ~E_NOTICE
    php_value error_log "/home/iwtstudy/public_html/error_log"
    php_value max_execution_time 60
    php_value max_input_time 60
    php_value max_input_vars 1000
    php_value memory_limit 1024M
    php_value post_max_size 64M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
    php_value upload_max_filesize 64M
    php_flag zlib.output_compression On

    END cPanel-generated php ini directives, do not edit

    i should be able to edit it if i know what i need to change using The MultiPHP INI editor writes to the .htaccess, .user.ini, and php.ini files. The system will only write a directive to a file if it is a valid directive for that file type.

  • The .htaccess file generated by TAO will look similar to:

    Options +FollowSymLinks


    RewriteEngine On
    SetEnv HTTP_MOD_REWRITE on

    don't match resources and tests

    RewriteCond %{REQUEST_URI} !/views/ [NC]
    RewriteCond %{REQUEST_URI} !/tao/install/ [NC]
    RewriteCond %{REQUEST_URI} !/tao/getFileFlysystem.php [NC]

    call entry point for url resolving and framework bootstrap

    RewriteRule ^(.*)$ index.php [L]

    required by token based access system

    RewriteCond %{REQUEST_URI} (.)/tao/getFileFlysystem.php/ [NC]
    RewriteRule ^(.
    )$ tao/getFileFlysystem.php [L]

    You will need to work with your hosting company in regards to their files and configuration.

  • can you upload a sample .htaccess for me to use.
    i cannot follow the logic of the message.

    thanks!

  • That is an .htaccess file from Options... to the RewriteRule line

  • my .htaccess file look like this

    Options +FollowSymLinks


    RewriteEngine On
    SetEnv HTTP_MOD_REWRITE on

    don't match resources and tests

    RewriteCond %{REQUEST_URI} !/views/ [NC]
    RewriteCond %{REQUEST_URI} !/tao/install/ [NC]
    RewriteCond %{REQUEST_URI} !/tao/getFileFlysystem.php [NC]

    call entry point for url resolving and framework bootstrap

    RewriteRule ^(.*)$ index.php [L]

    required by token based access system

    RewriteCond %{REQUEST_URI} (.)/tao/getFileFlysystem.php/ [NC]
    RewriteRule ^(.
    )$ tao/getFileFlysystem.php [L]


    is it correct?

  • It does look correct.

  • it is a strange problem that i am facing.
    i manage to get an old copy file of tao3.2 it is also giving the same error.
    http://iwant2study.org/tao3.2/tao/install/
    tao3.3 also cannot proceed.
    http://iwant2study.org/tao3.3/tao/install/

    i am clueless what is wrong with my server?

    Hosting Package pzadmin_SGP02
    Server Name svr107
    cPanel Version 82.0 (build 16)
    Apache Version 2.4.41
    PHP Version 5.6.40
    MySQL Version 5.7.28
    Architecture x86_64
    Operating System linux
    Shared IP Address 203.175.162.102
    Path to Sendmail /usr/sbin/sendmail
    Path to Perl /usr/bin/perl
    Perl Version 5.16.3
    Kernel Version 3.10.0-957.21.3.el7.x86_64

    if the .htacess is also fine,
    what else can i change to debug?

  • Unfortunately we can not really assist with your server, I would suggest working with your hosting provider.

  • Are you extracting the installation zip file directly to its final location or extracting it and then copying it over to where you are hosting it ? It could be an issue in how/if your .htaccess files are being copied.

Sign In or Register to comment.

We use cookies on our website to support technical features that enhance your user experience. Cookie Policy Privacy Policy

×