Fresh install produces a blank page

Greetings Wackos


I have just finished installing/setting up Wacko 6.0.15 on a XAMPP x64 7.4.13-0-VC15 (XAMPP 8.0.0-2-VS16 does not support IPS 4.4.9.2)


I did have to change the "const CACHE_SESSION_DIR" setting in config/constants.php. After that all of the things were checked off.


It said everything was installed correctly, but when I clicked on "take me to the wiki" it gave me a blank page.


Following the advice in this thread I enabled error reporting. I then hit ctrl+F5 on my wiki url and got this error
(formatted to be easier to read)

Fatal error: Uncaught Error: Class 'Normalizer' not found in F:\ff\htdocs\wiki\class\ut.php:586 Stack trace:
#0 F:\ff\htdocs\wiki\class\wacko.php(6807): Ut::normalize('ForgottenFreedo...')
#1 F:\ff\htdocs\wiki\index.php(62): Wacko->run('ForgottenFreedo...', 'show')
#2 {main} thrown in F:\ff\htdocs\wiki\class\ut.php on line 586	

Line 6807 of class/wacko.php is

 $tag = Ut::normalize($tag);	

Line 62 of index.php is

 $engine->run($route['page'], $route['method']);	

Line 586 of ut.php is

 static function normalize($string, $form = Normalizer::FORM_C)	

Even if my PHP was not rusty, I still would not know where to begin to try and fix my issue.


System specs:

  • Windows 10
  • XAMPP 7.4.13
    • Includes: Apache 2.4.46
    • MariaDB 10.4.17
    • PHP 7.4.13
    • phpMyAdmin 5.0.4
    • OpenSSL 1.1.1
    • XAMPP Control Panel 3.2.4
    • Webalizer 2.23-04
    • Mercury Mail Transport System 4.63
    • FileZilla FTP Server 0.9.41
    • Tomcat 7.0.107 (with mod_proxy_ajp as connector)
    • Strawberry Perl 5.32.0.1 Portable
  • Wacko r6.0.15

If there is any other information you need just let me know, and I will respond as soon as I can.


Thank you in advance.
*Brean*

Show Files (2 files)

Comments

  1. Re: Fresh install produces a blank page

    It seems that the intl extension is missing.
    Fatal error: Uncaught Error: Class 'Normalizer' not found	


    WackoWiki installation step 2: system requirements

    I tested only XAMPP for Linux, so I guessing that the intl extension is not enabled by default in XAMPP for Windows.

    I found two possible issues:
    1. How can I enable PHP extension intl in XAMPP for Windows?
      • Stop XAMPP and remove the starting semicolon ( ; ) from your xampp/php/php.ini the following code.
         ;extension=php_intl.dll	
        Restart XAMPP.
    2. XAMPP Intl extension on Windows 10 can't be installed
      • XAMPP setup filename is contain VCXX for example xampp-windows-x64-7.4.13-0-VC15-installer.exe, VC15 mean that PHP compiled with Visual Studio 2017, so you need to install Microsoft Visual C++ Redistributable for Visual Studio 2017 to make PHP and Extensions running smoothly.

    Please check and ensure that the intl extension is enabled and installed correctly.
    • WikiAdmin
    • 11.03.2022 12:22 edited
  2. Re: Fresh install produces a blank page

    I had a detailed reply, but when I hit "post" it said
    Session terminated due to timeout.
    Welcome back, Breantique
    so my detailed reply is lost to the inervoid.

    I followed the direction on that link, but then MySQL stopped connecting. Without MySQL I can't test to see if the wiki is fixed.
    Reverting the file change did not fix it.

    I'm looking in to how to fix that now.

    Edit:
    The log from XAMPP MySQL
    InnoDB: using atomic writes.
    2021-01-08  9:53:47 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    2021-01-08  9:53:47 0 [Note] InnoDB: Uses event mutexes
    2021-01-08  9:53:47 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
    2021-01-08  9:53:47 0 [Note] InnoDB: Number of pools: 1
    2021-01-08  9:53:47 0 [Note] InnoDB: Using SSE2 crc32 instructions
    2021-01-08  9:53:47 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
    2021-01-08  9:53:47 0 [Note] InnoDB: Completed initialization of buffer pool
    2021-01-08  9:53:48 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
    2021-01-08  9:53:48 0 [Note] InnoDB: Creating shared tablespace for temporary tables
    2021-01-08  9:53:48 0 [Note] InnoDB: Setting file 'F:\ff\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
    2021-01-08  9:53:48 0 [Note] InnoDB: File 'F:\ff\mysql\data\ibtmp1' size is now 12 MB.
    2021-01-08  9:53:48 0 [Note] InnoDB: Waiting for purge to start
    2021-01-08  9:53:48 0 [Note] InnoDB: 10.4.17 started; log sequence number 26560192; transaction id 11863
    2021-01-08  9:53:48 0 [Note] InnoDB: Loading buffer pool(s) from F:\ff\mysql\data\ib_buffer_pool
    2021-01-08  9:53:48 0 [Note] Plugin 'FEEDBACK' is disabled.	


    Besides the Feedback plugin being disabled I can't see any other issues. From what I have been reading that is supposed to be an optional thing. Correct me if I'm wrong.
    • Breantique
    • 13.01.2022 12:16 edited
  3. Re: Fresh install produces a blank page

    I fixed it.
    Somehow - I don't know how -
     mysql/bin/my.ini/enable-named-pipe	
    and
     mysql/bin/my.ini/skip-networking	
    had been un-commented.
    I don't remember making those changes this morning, but here we are.



    Also, I forgive you for making the defer change. If it makes your site more secure I am sure we can all learn to live with it. :P
    • Breantique
    • 08.01.2021 15:56 edited
  4. Re: Fresh install produces a blank page

    I am not sure how those two settings got changed in the first place. I disabled them both and MySQL connected again in the XAMPP cp.

    The next issue was that the user account I had created in the database "ff_admin" disappeared and all the tables for Wacko are empty or "don't exist"
      #1932 - Table 'ff_wiki.wiki_acl' doesn't exist in engine	

    Because the tables are empty I get
     Error loading WackoWiki config data: database `config` table is empty.	
    when I go to localhost/wiki

    Going to try a reinstall...
  5. Re: Fresh install produces a blank page

    I could not figure out why the database was freaking out.




    Since this is on my local machine, and I am the only one that uses my computer I didn't feel it necessary to remove the write privileges to the Wacko folders.

    This install was successful. I now see the WackoWiki front page on my localhost domain

    Next step is to reinstall IPS. Wish me luck, I hope it doesn't break anything now.
    • Breantique
    • 13.01.2022 12:19 edited
Log in or create an account to post a comment.