[SOLVED] 500 error, but Sometimes yes sometimes no
Posted: Tue May 26, 2015 7:45 pm
it's a little hard to explain, and more hard to understand
I have 4 templates, if i modify one of this templates with some html code:
i have a 500 error that says:
No show error.
I do not understand because it has happened to me recently.
The rest of system works correctly.
The last changes are:
.- add Admin IP Lock module.
.- change the "admin" folder name
But in others systems works well.
I reviewed the file permissions and all ok.
I do not know what else to do, now i'm changing the templates directly in the database
EDIT
doing more tests:
if i write:
CMS says one jquery error:
The error not appears
Server: Linux, Apache
Cms Version: 1.11.13
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.9
ModuleManager: 1.5.8
News: 2.15.1
Search: 1.7.12
ThemeManager: 1.1.8
TinyMCE: 2.9.12
ListIt2: 1.4.1
CGSimpleSmarty: 1.7.4
ListIt2XLink: 1.01
ListIt2XDefs: 1.2
ListIt2Slider: 1.4.1
FormBuilder: 0.8.1.1
GBFilePicker: 1.3.3
ListIt2maquinas: 1.4.1
ListIt2piezas: 1.4.1
ListIt2Portada: 1.4.1
Gallery: 2.0.2
ListIt2listadoPDFs: 1.4.1
ListIt2certificados: 1.4.1
SEOTools2: 1.2.1
ListIt2ferias: 1.4.1
ListIt2centrosdeproduccion: 1.4.1
AdminIPLock: 1.0
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 200000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.10-1ubuntu3.18
md5_function: Encendido (Verdadero)
gd_version: 2
tempnam_function: Encendido (Verdadero)
magic_quotes_runtime: Apagado (Falso)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Apagado (Falso)
file_uploads: Encendido (Verdadero)
post_max_size: 200M
upload_max_filesize: 200M
session_save_path: /tmp (1777)
session_use_cookies: Encendido (Verdadero)
xml_function: Encendido (Verdadero)
xmlreader_class: Encendido (Verdadero)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.43
I have 4 templates, if i modify one of this templates with some html code:
Code: Select all
{content}
<__html>
But this:Forbidden
You don't have permission to access /domain/admin/edittemplate.php on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Code: Select all
{content}
I do not understand because it has happened to me recently.
The rest of system works correctly.
The last changes are:
.- add Admin IP Lock module.
.- change the "admin" folder name
But in others systems works well.
I reviewed the file permissions and all ok.
I do not know what else to do, now i'm changing the templates directly in the database
EDIT
doing more tests:
if i write:
Code: Select all
{strip}
{content assign='main'}
{assign var="indent" value=""}
<!DOCTYPE html>
<__html lang="es-ES">
if i don't write"NetworkError: 403 Forbidden - http://domain/admin/edittemplate.php?_s ... late_id=30"
edittem...e_id=30
Sintax error
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Code: Select all
<!DOCTYPE html>
<__html lang="es-ES">
Server: Linux, Apache
Cms Version: 1.11.13
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.9
ModuleManager: 1.5.8
News: 2.15.1
Search: 1.7.12
ThemeManager: 1.1.8
TinyMCE: 2.9.12
ListIt2: 1.4.1
CGSimpleSmarty: 1.7.4
ListIt2XLink: 1.01
ListIt2XDefs: 1.2
ListIt2Slider: 1.4.1
FormBuilder: 0.8.1.1
GBFilePicker: 1.3.3
ListIt2maquinas: 1.4.1
ListIt2piezas: 1.4.1
ListIt2Portada: 1.4.1
Gallery: 2.0.2
ListIt2listadoPDFs: 1.4.1
ListIt2certificados: 1.4.1
SEOTools2: 1.2.1
ListIt2ferias: 1.4.1
ListIt2centrosdeproduccion: 1.4.1
AdminIPLock: 1.0
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 200000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.10-1ubuntu3.18
md5_function: Encendido (Verdadero)
gd_version: 2
tempnam_function: Encendido (Verdadero)
magic_quotes_runtime: Apagado (Falso)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Apagado (Falso)
file_uploads: Encendido (Verdadero)
post_max_size: 200M
upload_max_filesize: 200M
session_save_path: /tmp (1777)
session_use_cookies: Encendido (Verdadero)
xml_function: Encendido (Verdadero)
xmlreader_class: Encendido (Verdadero)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.43