Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 11. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Zoznam chýb  »  Chyba #219

Rozšírené detaily chyby [ Preskočiť na poznámky k chybám ] [ História chýb ] [ Vytlačiť ]
ID Kategória Dôležitosť Reprodukovateľnosť Dátum vloženia Posledná zmena
0000219 setup script veľká vždy 2004-04-10 22:32 2006-01-23 01:44
 
Autor brycen Zobraziť status verejný  
Priradené nepto
Priorita normálna Riešenie vyriešený Platforma
Stav uzavretý Duplicitné ID OS
Projection žiadny Verzia
ETA žiadny Verzia produktu 5.4 (stable)
  Build produktu
  Hlasy 1
 
Zhrnutie Check "HTML header & footer", setup generates NO php code
Popis Using phpMyEdit 5.4, if I check on the setup option "HTML header & footer", phpMyEdit setup generates HTML ,but forgets to include the php code!

--------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>stuff</title>
<style type="text/css">
table { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
th { border: #004d9c 1px solid; padding: 4px; background: #add8e6; }
td { border: #004d9c 1px solid; padding: 3px; }
hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
</style>
</head>
<body>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>stuff</title>
<style type="text/css">
table { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
th { border: #004d9c 1px solid; padding: 4px; background: #add8e6; }
td { border: #004d9c 1px solid; padding: 3px; }
hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
</style>
</head>
<body></body>
</html>
Kroky k vyvolaniu
Dalšie informácie Here's one way to fix it. Use a different variable name
when adding the HTML:
-------------------------------------------------------
if ($HTMLissues) {
$buffer2 = <<<END
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>$pageTitle</title>
$css_directive
</head>
<body>
END;
$buffer = $buffer2 . $buffer;
Pripojené súbory

Poznámky k chybe
nepto
2004-04-11 13:12

Fixed in CVS.

Thank you for reporting.
 
brycen
2004-04-19 20:16

Not yet fixed in cvs as of today (19 April 2004).
 
nepto
2004-04-20 12:32

Well, it works fine for me.

Could someone confirm this?
 
nepto
2004-04-20 15:54

Oh yes, now I understand where was problem.

Please, try it now. It has to be definitelly fixed.
 
brycen
2004-04-22 02:02

I tried it again. It still does not work. The generated HTML is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>NextBus: Define which routes serve each stop</title>
<style type="text/css">
table { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
th { border: #004d9c 1px solid; padding: 4px; background: #add8e6; }
td { border: #004d9c 1px solid; padding: 3px; }
hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
</style>
</head>
<body>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>NextBus: Define which routes serve each stop</title>
<style type="text/css">
table { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
th { border: #004d9c 1px solid; padding: 4px; background: #add8e6; }
td { border: #004d9c 1px solid; padding: 3px; }
hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
</style>
</head>
<body></body>
</html>
 
pilavdzic
2004-10-29 21:52

I have experenced the same problem as well. Check the boxes for generate HTML and the other one. You will see that nothign but the above HTML is produced. It definately does not work.
 
hbernard
2004-11-28 22:10

pilavdzic, I can't reproduce this with current CVS phpMyEditSetup.php

Can you test it with current CVS ?
 
pilavdzic
2004-11-28 22:44

Done. I checked it out with current CVS and it now works, I believe this bug is now resolved.
 
nepto
2004-11-28 23:37

I just tried it now and it works well.
 

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov