Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/04/2016, 21:16
Avatar de Hernand67890
Hernand67890
 
Fecha de Ingreso: febrero-2016
Ubicación: Cundinamarca
Mensajes: 15
Antigüedad: 8 años, 2 meses
Puntos: 0
Busqueda al ingresar a un modulo de mi aplicacion web da error http 500

Saludos cordiales

Comunidad de programadores, les escribo para realizarles una consulta, pues actualmente tengo en un hosting llamado 260mb.net una aplicacion web pero uno de los modulos de la misma al acceder no carga pues da error http 500 error interno del servidor, otros modulos sin cargan sin ninguna novedad, por ende me pueden hacer el favor y me revisan este código y me brindan información si realmente presenta algún error de programación en php o etiquetas html5.

Gracias.






Código PHP:
Ver original
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4.     <meta http-equiv="content-type" content="text/html" />
  5.     <meta name="author" content="gencyolcu" />
  6.     <link rel="stylesheet" href="buttons.css" type="text/css" media="screen" />
  7.     <title>Registro de Clientes</title>
  8. <!--    <style type="text/css">
  9.             @import url("style.css");
  10.     </style> -->
  11. </head>
  12.  
  13. <!--<body background="bgimage.jpg"> -->
  14.     <body background="img/bg_top_img_3.jpg">
  15. <?php
  16. require('conexion.php');
  17. $query ="select * from clientes" ;
  18. $resultado=$mysqli->query($query);
  19. ?>
  20. <table border="1" cellspacing="0">
  21. <TR>
  22. <TH>Fecha</TH>
  23. <TD><input   name="fecha"  value="<?php echo date("Y-m-d");?>"   READONLY /></TD>
  24. <TH>Usuario</TH>
  25. <TD><input  name="Usuario"  value="<?php echo $_SESSION['usuario'];?>"  READONLY /></TD>
  26. <TH>Ayuda en linea</TH>
  27. <!--<td style="text-align:right"><body><a href ="helpregistro.html" class = "button blue" value="Ayuda">Ayuda</a></br> -->
  28. <!--echo "<a href='tuArchivo.php?variablePorURL=".$variablePorURL."' target='tuArchivo' onclick=\"window.open(this.href, this.target, ' width=1000, height=800, menubar=no');return false;\"> Contrato </a>"; -->
  29. <td style="text-align:right"><a href="ayudaenlinea/formularioregistroclientes/helpregistro.html" class="button blue" target="_blank" onclick="window.open(this.href,this.target,'width=400,height=500,top=200,left=200,toolbar=no,location=no,status=no,menubar=no');return false;">Ayuda</a>
  30. </table>
  31. <center><h2><b>REGISTRO DE CLIENTES</b></h2></th>
  32. <br>
  33. <form action="guardarcl.php" method="POST">
  34. <center><table border="1">
  35. <tr>
  36.     <td>FECHA</td>
  37.     <td><input value="<?php echo date("Y-m-d");?>" name="fecha" READONLY </td>
  38.     <tr>
  39.     <td>No DOCUMENTO</td>
  40.     <td><input type="text" name="documento" required </td>
  41.     <tr>
  42.     <td>NOMBRE</td>
  43.     <td><input type="text" name="nombre" required </td>
  44.     <tr>
  45.     <td>APELLIDO</td>
  46.     <td><input type="text" name="apellido" required</td>
  47.     <tr>
  48.     <td>TELEFONO</td>
  49.     <td><input type="text" name="telefono" required</td>
  50.     <tr>
  51.     <td>E-MAIL</td>
  52.     <td><input type="text" name="email" required</td>
  53. </tr>
  54. </table>
  55. <input type="submit" class="button blue" value="Registrar Cliente">
  56. <a href="contenido.php" class="button red">Menu Principal</a>
  57. </form>
  58. <br><br>
  59. <center>
  60. <table id="gradient-style" summary="Meeting Results">
  61.     <thead>
  62.         <tr>
  63.            
  64.             <th scope="col">FECHA</th>
  65.             <th scope="col">No DOCUMENTO</th>
  66.             <th scope="col">NOMBRE</th>
  67.             <th scope="col">APELLIDO</th>
  68.             <th scope="col">TELEFONO</th>
  69.             <th scope="col">E-MAIL</th>
  70.            
  71.         </tr>
  72.     </thead>
  73.     <tbody>
  74.          <?php while($row=$resultado->fetch_assoc()){ ?>   
  75.         <tr>
  76.             <td><?php echo $row['fecha'];?></td>
  77.             <td><?php echo $row['documento'];?></td>
  78.             <td><?php echo $row['nombre'];?></td>
  79.             <td><?php echo $row['apellido'];?></td>
  80.             <td><?php echo $row['telefono'];?></td>
  81.             <td><?php echo $row['email'];?></td>
  82.                        
  83.             <a href="modificar.php?codigo=<?php echo $row['codigo'];?>">Modificar</a>
  84.            
  85.         <?php } ?> 
  86.         </tbody>
  87.         </table>
  88. </body>
  89. </html>