PHP - FAIL

Hi there! First time posting, just made a website a few hours ago, so looking around I couldn't find my issue but here's the problem:
The PHP Status in the dashboard shows it has failed, but as I used the website it seems to be running alright other then the Protean template thing which seems to be causing me issues( Might just be my inexperience with it!).
This is what I get from /studio/dashboard php?dbd_action=get_block&dbd_value=htools&_t=1515485973868 :

{"code":0,"data":"\n\t\t\t\n\t\t\t\t\t\t\t<\/i> PHP - FAIL<\/b><\/div>\n\t\t\t\t\t\t\t<\/i> MySQL - OK<\/b><\/div>\n\t\t\t\t\t\t\t<\/i> Web Server - OK<\/b><\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>"}

This is what I get with: /studio/dashboard php?action=phpinfo :

PHP Version 7.0.32

SystemLinux hp247 hostpapa com 3.10.0-714.10.2.lve1.5.17.1.el7.x86_64 #1 SMP Tue May 22 10:39:25 EDT 2018 x86_64
Build DateSep 14 2018 02:28:10

I'm rather new ish to this sort of stuff so I'm just a bit confused about it. I was able to install apps and all that too so I'm unsure how this affects the site if everything seems to be running fine? Except uploading anything using the website itself like an icon for my profile.


Anyways thank you whoever reads this for taking your time to read it!

  • 1677
  • More
Replies (5)
    • Please try to run Server Audit from Host Tools block menu in Studio > Dashboard to find out what exactly is wrong.

      • Thank you! I never noticed the menu was actually a menu since it looked somewhat like a dropdown thing. Anyways I ran it and saw the allow_url_fopen off so I turned that on. The website  dashboard is still taking forever unable to load certain things like the "status" part and the version name. But uh there is no longer any error about the php. In "300 Errors" on my Cpanel I get this though:

        [Tue Nov 06 10:02:10.495921 2018] [lsapi:notice] [pid 274870:tid 139951589570304] Backend log: PHP Notice:  Array to string conversion in /home/arcax285/WEBSITE/modules/boonex/profiler/classes/BxProfiler php on line 574\n, referer: WEBSITE/page/edit-persons-profile?id=1

        Thank you for the fast and helpful response to my somewhat idiotic question and sorry for my next question which may be as noobish eheh. I hope you have a wonderful day though!

        • I think it's better to disable or uninstall Profiler module, actually it's better to enable it sometimes to find bottlenecks and then disable again, it adds debug info everywhere as the result some things could not work properly.

          • i have a similar problem how do i solve

            • disable_functions = mail,shell_exec,system,cat,dl,openbasedir,proc_nice,escapeshellcmd,show_source,posix_mkfifo,mysql_list_dbs,get_current_user,pconnect,link,symlink,pcntl_exec,ini_alter,leak,apache_child_terminate,posix_kill,posix_setpgid,posix_setsid,posix_setuid,proc_terminate,syslog,allow_url_fopen,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,socket_strerror,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,name - FAIL (must be without shell_exec,eval,assert,phpinfo,getenv,ini_set,mail,fsockopen,chmod,parse_ini_file,readfile,escapeshellcmd)
            • Hello Circlecorp !

              The answer is in your server audit info - those functions like shell_exec,eval,assert,phpinfo,getenv,ini_set,mail,fsockopen,chmod,parse_ini_file,readfile,escapeshellcmd should be allowed on your server for the good performance of UNA.

              Login or Join to comment.