Dacă aveţi probleme cu Fantastico şi cPanel (confirm pentru versiunea WHM 11.20.0 cPanel 11.22.3-C23899), este din cauza unui bug la Fantastico (atentie, codul se ascunde in spatele coloanelor din dreapta):
Until a full compatible version of Fantastico can be released, if you are running a recent build of cPanel and are having problems with Fantastico, please try the following:
Log into your server via SSH as root and create/edit the file /scripts/postupcp via your preferred text editor (nano, vim, pico, etc.).
If the file doesn’t exist or is empty, paste in the following code:
Code:#!/bin/sh perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /usr/local/cpanel/3rdparty/etc/php.ini perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /var/cpanel/3rdparty/etc/php.iniIf that file already exists and has entries in it, add the following to the bottom of that file and save changes:
Code:perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /usr/local/cpanel/3rdparty/etc/php.ini perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /var/cpanel/3rdparty/etc/php.iniMake sure permissions are set correctly on that file:
Code:chmod 0700 /scripts/postupcpThen run that file once:
Code:/scripts/postupcpOnce we release a compatible version of Fantastico, you can remove that file or remove those lines from that file as appropriate.
If that does not resolve your issue then you probably are having issues with your backend copy of PHP. See the directions on how to deal with that here:
Toate meritele aparţin dezvoltatorului.
Mesajul original:
http://www.netenberg.com/forum/index.php?topic=6569.0

2 Comments until now
Bug e cam mult spus. Fantastico foloseste register_globals si cPanel a modificat (dezactivat) setarea implicita. Cred ca ar fi fost mai simplu ca Fantastico sa adauge o linie in php care sa importe inapoi variabilele
if (!@ini_get(’register_globals’)) foreach ($_REQUEST as $key => $value) ${$key} = $value;
Nu folosesc Fantastico pt ca e scump
deh, omul (Fantastico) are famelie, tre’ sa castige cumva.
Mie nu mi se pare scump, ca-l primesc gratis cu licenta de cPanel
Add your Comment!
Comments links could be nofollow free.