ispCP - Board - Support
Webtools, errors editor - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Webtools, errors editor (/thread-5386.html)



Webtools, errors editor - santerref - 01-08-2009 03:29 PM

Hello, it's me again. Smile

I try the new webtools (internet tools), everything seems to be working but when we edit an errors page and we save the changes, the thems broke, we lost many html code.

With an exemple
Before the modification :
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="robots" content="noindex" />
  <meta name="robots" content="nofollow" />
  <title>ispCP OMEGA - ERROR</title>
  <script src="/errors/inc/errordocs.js" type="text/javascript"></script>
  <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <div id="zh">
   <div id="content">
    <h2>Error 503!</h2>
    <br />
    <span class="path"><script type="text/javascript"> document.write(get_path()); </script></span>
    <h3>Service Unavailable!</h3>
   </div>
  </div>
  <div id="bottom"><p class="login"><a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:80px;height:15px" src="/errors/inc/valid_css.jpg" alt="Valid CSS!" /></a>&nbsp;<a href="http://validator.w3.org/check?uri=referer"><img src="/errors/inc/valid_xhtml.jpg" alt="Valid XHTML 1.0 Strict" style="border:0;width:80px;height:15px" /></a></p></div>
</body>
</html>

And if a click on save this is the new html code page :
Code:
<div>
   <div>
    <h2>Error 503!</h2>
    <br /><span></span>
    <h3>Service Unavailable!</h3>
   </div>
  </div>
  <div><p><a href="%5C"><img style="width:80px;" src="%5C" alt="&quot;Valid" /></a>Â <a href="%5C"><img src="%5C" alt="&quot;Valid" style="width:80px;" /></a></p></div>

You can only click edit and save and it will happen. I don't know what is the problem Sad

Sorry for my english...
Santerref


RE: Webtools, errors editor - pgentoo - 01-08-2009 03:39 PM

There is already a bug open for this issue. It looks like it will be fixed for v1.0.

See: http://isp-control.net/ispcp/ticket/1603

-
pGentoo


RE: Webtools, errors editor - santerref - 01-08-2009 05:24 PM

oH ok ! Wink I will wait Tongue

I think I will modify the tamplate to hide the link so the hosted people will have to connect on the ftp to modify the errors page Big Grin .