Foros del Web » Programando para Internet » PHP »

[SOLUCIONADO] PHP OO wampserver no toma php en localhost problemas en php y mysql con dreamweaver

Estas en el tema de wampserver no toma php en localhost problemas en php y mysql con dreamweaver en el foro de PHP en Foros del Web. tengo problemas en mi servidor local usando wampserver no me abre el index.php para mas info paso el codigo q tengo echo del index [PHP]<?php ...
  #1 (permalink)  
Antiguo 24/10/2014, 12:39
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Exclamación wampserver no toma php en localhost problemas en php y mysql con dreamweaver

tengo problemas en mi servidor local usando wampserver no me abre el index.php para mas info paso el codigo q tengo echo del index


[PHP]<?php virtual('/1/Connections/rrhh1.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}

$currentPage = $_SERVER["PHP_SELF"];

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO curriculum (nombre, apellido, nac, dni, direccion, codigo, telefono, mail, estudios, cursos, movilidad, empresa, puesto, años, tarea, referencias, observaciones) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['nombre'], "text"),
GetSQLValueString($_POST['apellido'], "text"),
GetSQLValueString($_POST['nac'], "text"),
GetSQLValueString($_POST['dni'], "text"),
GetSQLValueString($_POST['direccion'], "text"),
GetSQLValueString($_POST['codigo'], "text"),
GetSQLValueString($_POST['telefono'], "text"),
GetSQLValueString($_POST['mail'], "text"),
GetSQLValueString($_POST['estudios'], "text"),
GetSQLValueString($_POST['cursos'], "text"),
GetSQLValueString($_POST['movilidad'], "text"),
GetSQLValueString($_POST['empresa'], "text"),
GetSQLValueString($_POST['puesto'], "text"),
GetSQLValueString($_POST['aos'], "text"),
GetSQLValueString($_POST['tarea'], "text"),
GetSQLValueString($_POST['referencias'], "text"),
GetSQLValueString($_POST['observaciones'], "text"));

mysql_select_db($database_rrhh1, $rrhh1);
$Result1 = mysql_query($insertSQL, $rrhh1) or die(mysql_error());

$insertGoTo = "/1/ingreso_exitoso.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}

$maxRows_consulta = 10;
$pageNum_consulta = 0;
if (isset($_GET['pageNum_consulta'])) {
$pageNum_consulta = $_GET['pageNum_consulta'];
}
$startRow_consulta = $pageNum_consulta * $maxRows_consulta;

mysql_select_db($database_rrhh1, $rrhh1);
$query_consulta = "SELECT * FROM curriculum";
$query_limit_consulta = sprintf("%s LIMIT %d, %d", $query_consulta, $startRow_consulta, $maxRows_consulta);
$consulta = mysql_query($query_limit_consulta, $rrhh1) or die(mysql_error());
$row_consulta = mysql_fetch_assoc($consulta);

if (isset($_GET['totalRows_consulta'])) {
$totalRows_consulta = $_GET['totalRows_consulta'];
} else {
$all_consulta = mysql_query($query_consulta);
$totalRows_consulta = mysql_num_rows($all_consulta);
}
$totalPages_consulta = ceil($totalRows_consulta/$maxRows_consulta)-1;

$queryString_consulta = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_consulta") == false &&
stristr($param, "totalRows_consulta") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_consulta = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_consulta = sprintf("&totalRows_consulta=%d%s", $totalRows_consulta, $queryString_consulta);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>

<body>
<table border="1">
<tr>
<td width="149"><div align="center"><strong>ID</strong></div></td>
<td width="114"><div align="center"><strong>Nombre</strong></div></td>
<td width="115"><div align="center"><strong>Apellido</strong></div></td>
<td width="89"><div align="center"><strong>Fecha de nacimiento</strong></div></td>
<td width="86"><div align="center"><strong>Dni</strong></div></td>
<td width="123"><div align="center"><strong>Direccion</strong></div></td>
<td width="109"><div align="center"><strong>Codigo Postal</strong></div></td>
<td width="116"><div align="center"><strong>Telefono</strong></div></td>
<td width="92"><div align="center"><strong>Mail</strong></div></td>
<td width="117"><div align="center"><strong>Estudios</strong></div></td>
<td width="107"><div align="center"><strong>Cursos</strong></div></td>
<td width="126"><div align="center"><strong>Movilidad</strong></div></td>
<td width="119"><div align="center"><strong>Empresa</strong></div></td>
<td width="108"><div align="center"><strong>Puesto</strong></div></td>
<td width="28"><div align="center"><strong>Años</strong></div></td>
<td width="98"><div align="center"><strong>Tarea</strong></div></td>
<td width="133"><div align="center"><strong>Referencias</strong></div></td>
<td width="180"><div align="center"><strong>Observaciones</strong></div></td>
<td colspan="2"><div align="center"><strong>Operaciones</strong></div></td>
</tr>
<?php do { ?>
<tr>
<td><div align="center"><strong><?php echo $row_consulta['id_curriculum']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['nombre']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['apellido']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['nac']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['dni']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['direccion']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['codigo']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['telefono']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['mail']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['estudios']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['cursos']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['movilidad']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['empresa']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['puesto']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['años']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['tarea']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['referencias']; ?></strong></div></td>
<td><div align="center"><strong><?php echo $row_consulta['observaciones']; ?></strong></div></td>
<td><div align="center"><strong><a href="modificar.php?id_curriculum=<?php echo $row_consulta['id_curriculum']; ?>">Modificar</a></strong></div></td>
<td><div align="center"><a href="borrar.php?Id_curriculum=<?php echo $row_consulta['id_curriculum']; ?>">Eliminar</a></div></td>
</tr>
<?php } while ($row_consulta = mysql_fetch_assoc($consulta)); ?>
</table>
<p>&nbsp;
<div align="center">
<table border="0">
<tr>
<td><?php if ($pageNum_consulta > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_consulta=%d%s", $currentPage, 0, $queryString_consulta); ?>">Primero</a>
<?php } // Show if not first page ?></td>
<td><?php if ($pageNum_consulta > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_consulta=%d%s", $currentPage, max(0, $pageNum_consulta - 1), $queryString_consulta); ?>">Anterior</a>
<?php } // Show if not first page ?></td>
<td><?php if ($pageNum_consulta < $totalPages_consulta) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_consulta=%d%s", $currentPage, min($totalPages_consulta, $pageNum_consulta + 1), $queryString_consulta); ?>">Siguiente</a>
<?php } // Show if not last page ?></td>
<td><?php if ($pageNum_consulta < $totalPages_consulta) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_consulta=%d%s", $currentPage, $totalPages_consulta, $queryString_consulta); ?>">&Uacute;ltimo</a>


si alguien me puede ayudar se los voy a agradecer
  #2 (permalink)  
Antiguo 24/10/2014, 12:57
Avatar de loncho_rojas
Colaborador
 
Fecha de Ingreso: octubre-2008
Ubicación: En el mejor lugar del mundo
Mensajes: 2.704
Antigüedad: 15 años, 6 meses
Puntos: 175
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Y si en vez de
virtual('/1/Connections/rrhh1.php');

usas
require_once('/1/Connections/rrhh1.php');
__________________
Ayudo con lo que puedo en el foro, y solo en el foro.. NO MENSAJES PRIVADOS.. NO EMAILS NI SKYPE u OTROS.

Antes de hacer un TOPICO piensa si puedes hallarlo en Google o en el Buscador del Foro...
  #3 (permalink)  
Antiguo 24/10/2014, 13:23
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

gracias loncho pero no me sirvio ahora solo me queda la pantalla blanca nomas ya no se que mas puede ser
  #4 (permalink)  
Antiguo 24/10/2014, 13:32
 
Fecha de Ingreso: diciembre-2010
Ubicación: Asunción
Mensajes: 41
Antigüedad: 13 años, 4 meses
Puntos: 1
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Bueno creo que tu problema no está en PHP, sino en el servidor. Que te muestra tu log del apache c:/wamp/bin/apache2/log/error.log

Es probable que sea problemas de tu wamp y no del php.
  #5 (permalink)  
Antiguo 24/10/2014, 13:33
Avatar de loncho_rojas
Colaborador
 
Fecha de Ingreso: octubre-2008
Ubicación: En el mejor lugar del mundo
Mensajes: 2.704
Antigüedad: 15 años, 6 meses
Puntos: 175
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Pero si no entiendes lo que estas haciendo.. como entenderás lo que pasa?

te faltan pedazos de código..

abres una tabla y no la cierras... por ejemplo
__________________
Ayudo con lo que puedo en el foro, y solo en el foro.. NO MENSAJES PRIVADOS.. NO EMAILS NI SKYPE u OTROS.

Antes de hacer un TOPICO piensa si puedes hallarlo en Google o en el Buscador del Foro...
  #6 (permalink)  
Antiguo 24/10/2014, 13:38
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Cita:
Iniciado por loncho_rojas Ver Mensaje
Pero si no entiendes lo que estas haciendo.. como entenderás lo que pasa?

te faltan pedazos de código..

abres una tabla y no la cierras... por ejemplo
lo se esta cortado por q no me entraba todo el codigo para ponerlo aca ahi te muestro el log del apache
  #7 (permalink)  
Antiguo 24/10/2014, 13:40
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

[Fri Oct 24 15:22:08.016574 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00418: Parent: Created child process 2744
[Fri Oct 24 15:22:09.016325 2014] [mpm_winnt:notice] [pid 2744:tid 440] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:22:09.989310 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00428: Parent: child process 2744 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:22:10.148036 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:22:10.148036 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:22:10.148036 2014] [core:notice] [pid 1832:tid 524] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:22:10.148036 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00418: Parent: Created child process 2664
[Fri Oct 24 15:22:10.694774 2014] [mpm_winnt:notice] [pid 2664:tid 436] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:22:14.756409 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00428: Parent: child process 2664 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:22:14.988247 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:22:14.988247 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:22:14.988247 2014] [core:notice] [pid 1832:tid 524] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:22:14.988247 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00418: Parent: Created child process 1704
[Fri Oct 24 15:22:15.519366 2014] [mpm_winnt:notice] [pid 1704:tid 436] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:22:17.837837 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00428: Parent: child process 1704 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:22:18.158896 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:22:18.158896 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:22:18.158896 2014] [core:notice] [pid 1832:tid 524] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:22:18.158896 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00418: Parent: Created child process 2716
[Fri Oct 24 15:22:18.611908 2014] [mpm_winnt:notice] [pid 2716:tid 436] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:22:22.801824 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 24 15:22:24.832570 2014] [mpm_winnt:notice] [pid 2716:tid 436] AH00364: Child: All worker threads have exited.
[Fri Oct 24 15:22:24.848191 2014] [mpm_winnt:notice] [pid 1832:tid 524] AH00430: Parent: Child process 2716 exited successfully.
[Fri Oct 24 15:23:04.035474 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:23:04.035474 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:23:04.035474 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:23:04.039471 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 4032
[Fri Oct 24 15:23:04.553352 2014] [mpm_winnt:notice] [pid 4032:tid 448] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:23:08.658323 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 4032 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:23:08.752475 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:23:08.752475 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:23:08.752475 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:23:08.752475 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 1776
[Fri Oct 24 15:23:09.191561 2014] [mpm_winnt:notice] [pid 1776:tid 436] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:23:25.772585 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 1776 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:23:25.883303 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:23:25.883303 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:23:25.883303 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:23:25.883303 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 2424
[Fri Oct 24 15:23:26.305073 2014] [mpm_winnt:notice] [pid 2424:tid 436] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:23:30.586533 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 2424 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:23:30.675068 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:23:30.675068 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:23:30.675068 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:23:30.675068 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 2996
[Fri Oct 24 15:23:31.206185 2014] [mpm_winnt:notice] [pid 2996:tid 436] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 15:23:44.810642 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 2996 exited with status 3221225477 -- Restarting.
[Fri Oct 24 15:23:44.936738 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 15:23:44.936738 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 15:23:44.936738 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 15:23:44.936738 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 2804
[Fri Oct 24 15:23:45.424618 2014] [mpm_winnt:notice] [pid 2804:tid 448] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 16:07:42.758761 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 2804 exited with status 3221225477 -- Restarting.
[Fri Oct 24 16:07:42.852651 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 16:07:42.852651 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 16:07:42.852651 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 16:07:42.852651 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 1548
[Fri Oct 24 16:07:43.559830 2014] [mpm_winnt:notice] [pid 1548:tid 440] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 16:07:43.785117 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 1548 exited with status 3221225477 -- Restarting.
[Fri Oct 24 16:07:43.910305 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 16:07:43.910305 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 16:07:43.910305 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 16:07:43.910305 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 1096
[Fri Oct 24 16:07:44.395733 2014] [mpm_winnt:notice] [pid 1096:tid 440] AH00354: Child: Starting 64 worker threads.
[Fri Oct 24 16:07:44.630254 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00428: Parent: child process 1096 exited with status 3221225477 -- Restarting.
[Fri Oct 24 16:07:44.744913 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Oct 24 16:07:44.744913 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Oct 24 16:07:44.744913 2014] [core:notice] [pid 2692:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.ex e -d C:/wamp/bin/apache/apache2.4.9'
[Fri Oct 24 16:07:44.744913 2014] [mpm_winnt:notice] [pid 2692:tid 532] AH00418: Parent: Created child process 3172
[Fri Oct 24 16:07:45.281870 2014] [mpm_winnt:notice] [pid 3172:tid 444] AH00354: Child: Starting 64 worker threads.
  #8 (permalink)  
Antiguo 24/10/2014, 14:14
 
Fecha de Ingreso: diciembre-2010
Ubicación: Asunción
Mensajes: 41
Antigüedad: 13 años, 4 meses
Puntos: 1
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Ese no te dira si hay errores. Hace rato que no veo wamp pues trabajo sobre Ubuntu el 99% de los casos. Necesitamos ver el error.log no el access.log. Deberás ver cual es el que contiene los errores. Así según dices pueden suceder dos cosas:
1- ¿Que tu php no esté activo?
2- Que tengas problema de configuracion en PHP y que no lea algo determinado.
  #9 (permalink)  
Antiguo 24/10/2014, 14:17
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

ese es el error.log
  #10 (permalink)  
Antiguo 24/10/2014, 14:23
 
Fecha de Ingreso: diciembre-2010
Ubicación: Asunción
Mensajes: 41
Antigüedad: 13 años, 4 meses
Puntos: 1
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Pues categoricamente no muestra el posible error. En todo accede a tu site y despues mande las ultimas líneas a ver si al menos muestra algo. No se me ocurre que otra cosa pueda ser. Y te abre el phpinfo(); si pones una pagina vacia con ese codigo te muestra?
  #11 (permalink)  
Antiguo 24/10/2014, 15:26
Avatar de loncho_rojas
Colaborador
 
Fecha de Ingreso: octubre-2008
Ubicación: En el mejor lugar del mundo
Mensajes: 2.704
Antigüedad: 15 años, 6 meses
Puntos: 175
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Sube tus archivos necesarios para que funcione a uno de esos servers tipo MEGA y pasa el link.. asi muy lejos no vamos a llegar.

De por si, ese codigo generado por DW es una especie de Algodón de Azúcar hecho con sal.
__________________
Ayudo con lo que puedo en el foro, y solo en el foro.. NO MENSAJES PRIVADOS.. NO EMAILS NI SKYPE u OTROS.

Antes de hacer un TOPICO piensa si puedes hallarlo en Google o en el Buscador del Foro...
  #12 (permalink)  
Antiguo 27/10/2014, 05:12
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

https://www.mediafire.com/?vh1cd4ria4r0tav ahi esta el link de los archivos del servidor aver si me pueden ayudar
  #13 (permalink)  
Antiguo 27/10/2014, 05:56
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Cita:
Iniciado por loncho_rojas Ver Mensaje
Sube tus archivos necesarios para que funcione a uno de esos servers tipo MEGA y pasa el link.. asi muy lejos no vamos a llegar.

De por si, ese codigo generado por DW es una especie de Algodón de Azúcar hecho con sal.
ahí subí los archivos para que los vean
  #14 (permalink)  
Antiguo 27/10/2014, 08:11
Avatar de loncho_rojas
Colaborador
 
Fecha de Ingreso: octubre-2008
Ubicación: En el mejor lugar del mundo
Mensajes: 2.704
Antigüedad: 15 años, 6 meses
Puntos: 175
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Pero no esperarás a que nosotros creemos esa tabla en la base de datos para que funcione

Por lo menos entra a tu Wamp y pasanos la estructura de tu BD...

Entras a la tabla involucrada y le das EXPORTAR... copias la parte que dice

CREATE IF NOT EXIST con la estructura de la tabla que usas para el index.
__________________
Ayudo con lo que puedo en el foro, y solo en el foro.. NO MENSAJES PRIVADOS.. NO EMAILS NI SKYPE u OTROS.

Antes de hacer un TOPICO piensa si puedes hallarlo en Google o en el Buscador del Foro...
  #15 (permalink)  
Antiguo 27/10/2014, 08:17
Avatar de loncho_rojas
Colaborador
 
Fecha de Ingreso: octubre-2008
Ubicación: En el mejor lugar del mundo
Mensajes: 2.704
Antigüedad: 15 años, 6 meses
Puntos: 175
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

A mi me funciona perfecto.. veo los usuarios y el formulario me carga bien, solo modifiqué algo en tu codigo que es la ruta de tu archivo de conexion.. en vez de

1/Connections/rrhh1.php

lo deje como

Connections/rrhh1.php

si tu index no encuentra el archivo de conexion dificilmente funcionara tu pagina.
__________________
Ayudo con lo que puedo en el foro, y solo en el foro.. NO MENSAJES PRIVADOS.. NO EMAILS NI SKYPE u OTROS.

Antes de hacer un TOPICO piensa si puedes hallarlo en Google o en el Buscador del Foro...
  #16 (permalink)  
Antiguo 28/10/2014, 06:34
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

aca esta la db [URL="https://www.mediafire.com/?tvlp414fj2afzvf"]https://www.mediafire.com/?tvlp414fj2afzvf[/URL] perdon que no las puse ahi voy a probar lo q me dice mi amigo igual revisenla
  #17 (permalink)  
Antiguo 28/10/2014, 06:51
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

Cita:
Iniciado por loncho_rojas Ver Mensaje
A mi me funciona perfecto.. veo los usuarios y el formulario me carga bien, solo modifiqué algo en tu codigo que es la ruta de tu archivo de conexion.. en vez de

1/Connections/rrhh1.php

lo deje como

Connections/rrhh1.php

si tu index no encuentra el archivo de conexion dificilmente funcionara tu pagina.
por ejemplo a mi no me funca me sale la pantalla en blanco el index.php no me lo carga :( sera el wamp el que esta fallando???
  #18 (permalink)  
Antiguo 28/10/2014, 13:28
 
Fecha de Ingreso: octubre-2014
Ubicación: mendoza
Mensajes: 12
Antigüedad: 9 años, 6 meses
Puntos: 0
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

gracias amigos por la ayuda ya lo sulucione con su ayuda era definitibamente el wamp lo cambie por el xampp y andubo de 10 haciendo el cambio de virtual a require_once y modificando el ('/1/Connections/rrhh1.php') lo modifique en wamp y no funciono y en el xampp andubo de 10 mil gracias
  #19 (permalink)  
Antiguo 28/10/2014, 13:44
Avatar de Patriarka  
Fecha de Ingreso: enero-2011
Ubicación: Moreno, Buenos Aires, Argentina
Mensajes: 2.851
Antigüedad: 13 años, 3 meses
Puntos: 288
Respuesta: wampserver no toma php en localhost problemas en php y mysql con dreamweav

que nabo, el mismo codigo tiene que funcionar en wamp, xampp,appserv y todas las madres

Etiquetas: Ninguno
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:58.