Development branch - disabled awstats - fatal error (syntax error at [...]/Awstats/Uninstaller.pm line 63)

  • Hey there,
    I installed the imscp git stable on a debian wheezy (7.6) VM and had following problems. After installation nginx still has just the default config files. I tried to purge the service and start the imscp installation script again, but without success.


    The next problem is, that some of the selected parameters in the imscp installation script will not be saved. I haven't found some relevant errors...

  • I'll give a try with an openVZ container. If I cannot reproduce, I ban you :)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Ninos



    I'm unable to reproduce.. I've do a new install and all is working as it should.


    Anyway

    • You must provide us the logs ( at least the /var/log/imscp/imscp-build.log and /var/log/imscp/imscp-setup.log )
    • When you say: Some parameter are not saved... Saying this without further details is irrelevant


    Shell-Script
    1. root@wheezy:/usr/local/src/imscp# cat /etc/debian_version 7.6root@wheezy:/usr/local/src/imscp# uname -aLinux wheezy 2.6.32-29-pve #1 SMP Thu Apr 24 10:03:02 CEST 2014 i686 GNU/Linux


    Shell-Script
    1. root@wheezy:/usr/local/src/imscp# ls -la /etc/nginx/total 56drwxr-xr-x 5 root root 4096 juil. 31 23:52 .drwxr-xr-x 78 root root 4096 juil. 31 23:52 ..drwxr-xr-x 2 root root 4096 juil. 31 23:52 conf.d-rw-r--r-- 1 root root 964 avril 24 15:50 fastcgi_params-rw-r--r-- 1 root root 1364 juil. 31 23:52 imscp_fastcgi.conf-rw-r--r-- 1 root root 2837 avril 24 15:50 koi-utf-rw-r--r-- 1 root root 2223 avril 24 15:50 koi-win-rw-r--r-- 1 root root 3957 avril 24 15:50 mime.types-rw-r--r-- 1 root root 1285 juil. 31 23:52 nginx.conf-rw-r--r-- 1 root root 596 avril 24 15:50 scgi_paramsdrwxr-xr-x 2 root root 4096 juil. 31 23:52 sites-availabledrwxr-xr-x 2 root root 4096 juil. 31 23:52 sites-enabled-rw-r--r-- 1 root root 623 avril 24 15:50 uwsgi_params-rw-r--r-- 1 root root 3610 avril 24 15:50 win-utfroot@wheezy:/usr/local/src/imscp# ls -la /etc/nginx/sites-available/total 16drwxr-xr-x 2 root root 4096 juil. 31 23:52 .drwxr-xr-x 5 root root 4096 juil. 31 23:52 ..-rw-r--r-- 1 root root 1196 juil. 31 23:52 00_master.conf-rw-r--r-- 1 root root 1619 juil. 31 23:52 00_master_ssl.confroot@wheezy:/usr/local/src/imscp# ls -la /etc/nginx/conf.d/total 20drwxr-xr-x 2 root root 4096 juil. 31 23:52 .drwxr-xr-x 5 root root 4096 juil. 31 23:52 ..-rw-r--r-- 1 root root 1097 avril 24 15:50 default.conf.disabled-rw-r--r-- 1 root root 427 avril 24 15:50 example_ssl.conf-rw-r--r-- 1 root root 64 juil. 31 23:52 imscp_php.confroot@wheezy:/usr/local/src/imscp#


    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin


    Sry found the problem. After enabling awstats, all worked fine:

    Quote


    [Thu Jul 31 18:15:49 2014] [fatal error] iMSCP::Debug::__ANON__: syntax error at /usr/local/src/imscp-stable/engine/PerlLib/Package/Webstats/Awstats/Uninstaller.pm line 63, near "$[0"
    Global symbol "$self" requires explicit package name at /usr/local/src/imscp-stable/engine/PerlLib/Package/Webstats/Awstats/Uninstaller.pm line 65.
    Unmatched right curly bracket at /usr/local/src/imscp-stable/engine/PerlLib/Package/Webstats/Awstats/Uninstaller.pm line 72, at end of line
    Compilation failed in require at /usr/local/src/imscp-stable/engine/PerlLib/Package/Webstats/Awstats/Awstats.pm line 102.


    PS: will change the title

  • @Ninos


    This fail if you do not enable awstats?. I'll check that and fix so :)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206