Welcome Guest, Not a member yet? Register   Sign In
the server responded with a status of 500 (Internal Server Error)
#1

Hi i has problem after hosting website already:
-can't open page admin when i try access mydomain/admin show blank page and than i inspect element check in console show message error : Failed to load resource: the server responded with a status of 500 (Internal Server Error)
-i check on my cloud hosting in error_log show error message:
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'Zend_Acl_Exception' with message 'Resource '1937' not found' in /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/application/libraries/Zend/Acl.php:365
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: Stack trace:
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #0 /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/application/libraries/Zend/Acl.php(645): Zend_Acl->get('1937')
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #1 /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/application/libraries/Zend/Acl.php(523): Zend_Acl->setRule('OP_ADD', 'TYPE_DENY', '1', '1937', 'read', NULL)
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #2 /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/application/libraries/Acl.php(42): Zend_Acl->deny('1', '1937', 'read')
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #3 /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/system/core/Loader.php(1099): Acl->__construct()
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #4 /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/system/core/Loader.php(975): CI_Loader->_ci_init_class('Acl', '', NULL, NULL)
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #5 /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/system/core/Loader.php(216): CI_Loader->_ci_load_class('acl', NULL, NULL)
[Sat Oct 17 09:22:09 2015] [warn] [client 36.37.153.166] mod_fcgid: stderr: #6 /var/www/vhosts/ocsolution.net/public_html/tm in /var/www/vhosts/ocsolution.net/public_html/tmp4/admin/application/libraries/Zend/Acl.php on line 365


Code:
- .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
<FilesMatch "\.(txml|thtml|htaccess|htpasswd|protected|txt|html)$">
Order Allow,Deny
Deny from all
</FilesMatch>
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ index.php?/$1 [L]

#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 index.php
</IfModule>
<IfModule mod_php5.c>
php_value short_open_tag 1
</IfModule>

my routes code:
$route['default_controller'] = "admin/home";
$route['404_override'] = '';
$route['user/changepassword'] = "setting/user/changepassword";
$route['admin'] = "admin/home";
$route['login'] = "admin/user/login";
$route['logout'] = "admin/user/logout";
$route['download'] = "page/download";
$route['guide_license'] = "web/pages/guide_license";
$route['tourism_license'] = "web/pages/tourism_license";
$route['tourism_license/(:any)'] = "web/pages/tourism_license/$1";
$route['guide_login'] = "web/pages/guide_login";
$route['tourism_login'] = "web/pages/tourism_login";
$route['guide_info'] = "web/pages/guide_info";
$route['tourism_info'] = "web/pages/tourism_info";
$route['guide_info_edit'] = "web/pages/guide_info_edit";
$route['tourism_info_edit'] = "web/pages/tourism_info_edit";
$route['guide_logout'] = "web/pages/guide_logout";
$route['tourism_logout'] = "web/pages/tourism_logout";
$route['guide_request_renew'] = "web/pages/guide_request_renew";
$route['tourism_request_renew'] = "web/pages/tourism_request_renew";
$route['del_img'] = "web/pages/del_img";
$route['crcnet'] = "web/pages/crcnet";

Thank you

Attached Files Thumbnail(s)
   
Reply




Theme © iAndrew 2016 - Forum software by © MyBB