This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS-WebPanel Bugs / Why is the difference between the interfaces? - ssh or browser
« on: December 15, 2015, 10:50:28 AM »
1 During the week, I installed CWP on different operating systems. "centos6.5", "cenos6.7", "centos7", "cenos7.1".
The real servers, VirtualBox, I've tested. I perform standard setup and operation with the default settings on the site. I had the same problem at all.
After installation, I used to test small script: "gdtest.php" content
run browser : www.sitename.com/gdtest.php
results:
and run ssh comand line this script : php -f /home/sitename/public_html/gdtest.php
results :
look, FreeType Support, FreeType Linkage, JPEG Support and PHP path is different.. why ?
"In cPanel servers" I've tested. but no difference. There are only differences in servers using CWP.
I performed an additional test.
"gdtest.php" file to /usr/local/cwpsrv/htdocs/admin/gdtest.php folder to upload and
the browser I run : www.sitename.com:2030/design/gdtest.php
results:
even in different CWP service.
What reason is there a solution to this problem?
I wish you good work. Best regards.
The real servers, VirtualBox, I've tested. I perform standard setup and operation with the default settings on the site. I had the same problem at all.
After installation, I used to test small script: "gdtest.php" content
Code: [Select]
<?php
/* Displays details of GD support on your server */
echo "GD is : ";
if (function_exists("gd_info")) {
echo "supported\n";
$gd = gd_info();
foreach ($gd as $k => $v) {
echo $k;
if ($v)
echo " : Yes\n";
else
echo " : No\n";
}
} else {
echo " not supported\n";
}
echo "PHP path : ".getPHPExecutableFromPath()."\n";
function getPHPExecutableFromPath() {
$paths = explode(PATH_SEPARATOR, getenv('PATH'));
foreach ($paths as $path) {
// we need this for XAMPP (Windows)
if (strstr($path, 'php.exe') && isset($_SERVER["WINDIR"]) && file_exists($path) && is_file($path)) {
return $path;
}
else {
$php_executable = $path . DIRECTORY_SEPARATOR . "php" . (isset($_SERVER["WINDIR"]) ? ".exe" : "");
if (file_exists($php_executable) && is_file($php_executable)) {
return $php_executable;
}
}
}
return "not found\n"; // not found
}
?>
run browser : www.sitename.com/gdtest.php
results:
Quote
GD is : supported
GD Version : Yes
FreeType Support : No
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPEG Support : No
PNG Support : Yes
WBMP Support : Yes
XPM Support : No
XBM Support : Yes
JIS-mapped Japanese Font Support : No
PHP path : not found
and run ssh comand line this script : php -f /home/sitename/public_html/gdtest.php
results :
Quote
GD is : supported
GD Version : Yes
FreeType Support : Yes
FreeType Linkage : Yes
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPEG Support : Yes
PNG Support : Yes
WBMP Support : Yes
XPM Support : No
XBM Support : Yes
JIS-mapped Japanese Font Support : No
PHP path : /usr/local/bin/php
look, FreeType Support, FreeType Linkage, JPEG Support and PHP path is different.. why ?
"In cPanel servers" I've tested. but no difference. There are only differences in servers using CWP.
I performed an additional test.
"gdtest.php" file to /usr/local/cwpsrv/htdocs/admin/gdtest.php folder to upload and
the browser I run : www.sitename.com:2030/design/gdtest.php
results:
Quote
GD is : supported
GD Version : Yes
FreeType Support : No
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPEG Support : No
PNG Support : Yes
WBMP Support : Yes
XPM Support : No
XBM Support : Yes
JIS-mapped Japanese Font Support : No
PHP path : not found
even in different CWP service.
What reason is there a solution to this problem?
I wish you good work. Best regards.
2
Apache / How to Set default Apache PHP Handler to cgi
« on: December 11, 2015, 10:45:52 PM »
hi,
im using all server one php configuration.
need all accounts run php cgi mode.
need this :
# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso fcgi cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: cgi
SUEXEC: not installed
RUID2: not installed
is possible ? change easy likely cpanel php handler ?
How can I change the easy way.
im change setting and not found a solution..
allways retun 500 error or Not Found
The requested URL /test.php was not found on this server.
im using all server one php configuration.
need all accounts run php cgi mode.
need this :
# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso fcgi cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: cgi
SUEXEC: not installed
RUID2: not installed
is possible ? change easy likely cpanel php handler ?
How can I change the easy way.
im change setting and not found a solution..
allways retun 500 error or Not Found
The requested URL /test.php was not found on this server.
3
Suggestions / dailiy cron include error - cron_backup.php(1) : eval()
« on: December 07, 2015, 01:17:55 AM »
Error showing down..
######################
Update Server Packages
######################
Your CWP version: 0.9.8.10
No update needed, your CWP is up to date.
XX.XX.XX.XXX
Date which backup script is using: 2015-12-06 02:22:03
====> PHP Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
====> Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7 PHP Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
====> Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
######################
Update Server Packages
######################
Your CWP version: 0.9.8.10
No update needed, your CWP is up to date.
XX.XX.XX.XXX
Date which backup script is using: 2015-12-06 02:22:03
====> PHP Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
====> Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7 PHP Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
====> Notice: Undefined variable: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
4
Suggestions / Found a BUG - in main.js for navigation
« on: November 29, 2015, 08:52:04 PM »
navigation panels current hover not working. check this..
file : main.js
line : 124
old line : var afterDomain = window.location.pathname;
fixed new line : var afterDomain = window.location.pathname+window.location.search;
and navigation working on !
please update script in new version.
thank you.
file : main.js
line : 124
old line : var afterDomain = window.location.pathname;
fixed new line : var afterDomain = window.location.pathname+window.location.search;
and navigation working on !
please update script in new version.
thank you.
Pages: [1]