hamper

Well-Known Member
Apr 28, 2006
85
0
156
since this last update, when going into the users fantastico area I keep getting these errors/warnings. everything still works and installs but just doesn't look too swift.. can anyone tell me how to fix this? yes, I've reinstalled fantastico already.. is there a /script
that I need to perhaps run? I'm still sort of new at using CPanel. TIA

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 284

Warning: file_get_contents(http://securexfer.net/product_reports/host_config.php?hostname=gipons.ezwebsol.com): failed to open stream: No such file or directory in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 284
Fantastico
Navigation
Fantastico Home
Control Panel Home

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 771

Blogs

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 850
b2evolution

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 850
Nucleus

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 850
pMachine Free

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 850
WordPress

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 771

Content Management
 

hamper

Well-Known Member
Apr 28, 2006
85
0
156
Thanks,

but actually it was because my bind is messed up and the host didn't resolve properly, oh well another fix for morning :)

thanks though.
 

richy

Well-Known Member
Jun 30, 2003
274
1
168
It is a resolver issue - the "network_getaddresses: getaddrinfo failed: Name or service not known in..." message is the give away. I believe this matter is also actually mentioned in an FAQ style post on the Netenberg Fantastico forums.
 

ramk

Registered
Dec 19, 2007
2
0
51
Fantastico warnings

Warning: in_array(): Wrong datatype for second argument in /tmp/cpanel_phpengine.1150345342.117749063.09268510999 on line 771

If you're having any problems with Fantastico either not working, displaying warnings like above or saying that Fantastico isn't installed in the correct location:

1) Go into WHM as root, click on Tweak Settings, scroll down to the PHP section and make sure the IONCUBE PHP Loader is selected. Save changes if needed.
2) Log into your server as root via SSH and execute the following command:
/scripts/makecpphp

For step number 2, make sure that the script completes the task without any errors. If the script stops the installation with errors, please deal with those errors before continuing.

Lot of servers lately that have cPanel and WHM incorrectly using a server's frontend (public) php.ini configuration instead of the correct backend copy located at /usr/local/cpanel/3rdparty/etc/php.ini. Running /scripts/makecpphp will fix this problem so long as your cPanel installation is reasonably up-to-date.

Reminder: Setting the IONCUBE loader in Tweak Settings does not affect your public PHP configuration, only the backend copy used by cPanel and WHM.