HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/nyloncams.com/public_html/admin/checkDependancies.php
<?
if(!file_exists($php_path)) {
	$loadErrors[] = 'PHP CLI BINARY: Missing or incorrect path. Please correct this in admin area settings tab.'; 
}

if(@isChmod($basepath.'/admin/scripts') != '777') {
	$loadErrors[] = 'CHMOD: '.$basepath.'/admin/scripts directory not writable! Please chmod it to 777.';
}
if(@file_exists("$basepath/upgrade.php")) {
	$loadErrors[] = 'DELETE: Please delete upgrade.php';
}
if(@isChmod($cache_path) != '777') {
	$loadErrors[] = 'CHMOD: '.$cache_path.' directory not writable! Please chmod it to 777.';
}
if($admin_password == 'admin') {
	$loadErrors[] = "Please set your admin password in admin/config.php (via ftp/ssh)."; 
}
if($admin_email == '') {
	$loadErrors[] = "Please set your admin email in admin area settings tab."; 
}

$sqlMode = dbQuery("SELECT @@sql_mode AS sql_mode",false);
if(stripos($sqlMode[0]['sql_mode'],'STRICT_TRANS_TABLES') !== false) { 
	$loadErrors[] = "Please disable STRICT_TRANS_TABLES in MySQL. This is action is critical to operation of almost all script functions. It will be found in your my.cnf file."; 
}