Initial Commit
This commit is contained in:
81
web/revslider/application/errors/error_404.php
Normal file
81
web/revslider/application/errors/error_404.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>404 Page Not Found</title>
|
||||
<style type="text/css">
|
||||
|
||||
::selection{ background-color: #E13300; color: white; }
|
||||
::moz-selection{ background-color: #E13300; color: white; }
|
||||
::webkit-selection{ background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
background-color: #e74c3c;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 14px 0;
|
||||
padding: 12px 15px 12px 15px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
li {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1><?php echo $heading; ?></h1>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
104
web/revslider/application/errors/error_db.php
Normal file
104
web/revslider/application/errors/error_db.php
Normal file
@@ -0,0 +1,104 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Database Error</title>
|
||||
<style type="text/css">
|
||||
|
||||
::selection{ background-color: #E13300; color: white; }
|
||||
::moz-selection{ background-color: #E13300; color: white; }
|
||||
::webkit-selection{ background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
background-color: #e74c3c;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 14px 0;
|
||||
padding: 12px 15px 12px 15px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
li {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1><?php echo $heading; ?></h1>
|
||||
<?php echo $message; ?>
|
||||
<h2>How to fix it?</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<h3>Check server status</h3>
|
||||
<p>Check if MySQL server is up and running. You can do it in cPanel/WHM of your server or by executing "<strong>mysqladmin status</strong>" command via SSH.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Check that user is correct</h3>
|
||||
<p>
|
||||
Double check thay all database settings (hostname, database, user, password) are spcified correctly. Make sure database user have appropriate access privelegies for your database.
|
||||
You can check and modify this settings in Database section of your servers cPanel/WHM.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Try to remove config files and run reinstall</h3>
|
||||
<p>
|
||||
Locate and remove following configuration files on your server:<br />
|
||||
"<strong>./application/config/config.php</strong>"<br />
|
||||
"<strong>./application/config/database.php</strong>"<br />
|
||||
Open url of your Slider Editor in browser to start over installation process.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
81
web/revslider/application/errors/error_general.php
Normal file
81
web/revslider/application/errors/error_general.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Error</title>
|
||||
<style type="text/css">
|
||||
|
||||
::selection{ background-color: #E13300; color: white; }
|
||||
::moz-selection{ background-color: #E13300; color: white; }
|
||||
::webkit-selection{ background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
background-color: #e74c3c;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 14px 0;
|
||||
padding: 12px 15px 12px 15px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
li {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1><?php echo $heading; ?></h1>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
75
web/revslider/application/errors/error_php.php
Normal file
75
web/revslider/application/errors/error_php.php
Normal file
@@ -0,0 +1,75 @@
|
||||
<style type="text/css">
|
||||
.rs_php_error {
|
||||
background-color: #fff;
|
||||
margin: 10px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
border:1px solid #990000;
|
||||
}
|
||||
.rs_php_error h1 {
|
||||
color: #fff;
|
||||
background-color: #e74c3c;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
.rs_php_error p,
|
||||
.rs_php_error pre {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
.rs_php_error pre {
|
||||
white-space: pre-line;
|
||||
}
|
||||
.rs_php_error h2 {
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 14px 0;
|
||||
padding: 12px 15px 12px 15px;
|
||||
}
|
||||
.rs_php_error h3 {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
margin: 12px 0;
|
||||
}
|
||||
.rs_php_error ul {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.rs_php_error li {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
<div class="rs_php_error">
|
||||
<h1>A PHP Error was encountered</h1>
|
||||
<p>Severity: <?php echo $severity; ?></p>
|
||||
<p>Message: <?php echo $message; ?></p>
|
||||
<p>Filename: <?php echo $filepath; ?></p>
|
||||
<p>Line Number: <?php echo $line; ?></p>
|
||||
<?php
|
||||
if (class_exists('RevSliderOperations') && RevSliderOperations::getGeneralSettingsOptionValue('enable_error_backtrace', 'off') != 'off') {
|
||||
echo '<pre>';
|
||||
@debug_print_backtrace();
|
||||
echo '</pre>';
|
||||
}
|
||||
?>
|
||||
<h2>How to fix it?</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<h3>Check PHP version</h3>
|
||||
<p>Check if PHP version of your server is up to date. PHP version 5.3 or greater is required. You can check version using "<strong>phpversion()</strong>" PHP function on webserver or by executing "<strong>php --version</strong>" via SSH.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Check if Safe Mode disabled in PHP</h3>
|
||||
<p>
|
||||
Safe mode needs to be disabled. You can check if it is so by viewing output of "<strong>phpinfo()</strong>" PHP command on your webserver.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Check code integrity</h3>
|
||||
<p>
|
||||
Make sure all code files are uploaded to your webserver and was not modified. If some files are missing or corrupted reupload of code files can fix it.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
10
web/revslider/application/errors/index.html
Normal file
10
web/revslider/application/errors/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user