Commit f3fb3292 authored by Irving Sánchez's avatar Irving Sánchez

update documents

parent 46194cd2
......@@ -7,7 +7,7 @@ class Database2
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
//$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -26,7 +26,7 @@ if (mysql_query("DROP DATABASE PPD", $MySQLConnection)){
// ==================== CREACIÓN
// Creamos la base de datos principal...
if (mysql_query("CREATE DATABASE PPD", $MySQLConnection)){
if (mysql_query("CREATE DATABASE RIR", $MySQLConnection)){
echo "<br>Base de datos creada...";
}else{
// Verificamos si ya había sido creada...
......
......@@ -78,7 +78,7 @@ $db['default'] = array(
'hostname' => 'localhost',
'username' => 'root',
'password' => 'PkJXPQFykKLmS3cWhqmZKNYE',
'database' => 'PPD',
'database' => 'RIR',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -6,7 +6,7 @@ function connectDBBDD(){
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -36,7 +36,7 @@ class baseDeDatosIndex{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -10,11 +10,11 @@ class Funciones extends CApplicationComponent{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
/*$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "ppd";*/
$dbname = "RIR";*/
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
......@@ -177,7 +177,7 @@ class Funciones extends CApplicationComponent{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -50,7 +50,7 @@ $config = array(
'loginUrl' => array('panel/acceso/login'),
),
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=PPD',
'connectionString' => 'mysql:host=localhost;dbname=RIR',
'emulatePrepare' => true,
'username' => 'root',
'password' => 'PkJXPQFykKLmS3cWhqmZKNYE',
......
......@@ -113,7 +113,7 @@ class SiteController extends Controller{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -26,7 +26,7 @@
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -51,7 +51,7 @@
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -4,7 +4,7 @@ class baseDeDatosDS{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -42,7 +42,7 @@
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -58,7 +58,7 @@
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -9365,3 +9365,17 @@ Stack trace:
REQUEST_URI=/RIR/index.php/panel/login
HTTP_REFERER=http://localhost/RIR/CyT/index.php/integrantes/edit?id_integrante=11
---
2019/09/05 13:56:56 [error] [exception.Error] Error: Call to undefined function curl_init() in /data/WWW/PHPServer/RIR/protected/controllers/Go4itController.php:33
Stack trace:
#0 /data/WWW/PHPServer/RIR/yii-master/framework/web/actions/CInlineAction.php(50): Go4itController->actionCotization()
#1 /data/WWW/PHPServer/RIR/yii-master/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
#2 /data/WWW/PHPServer/RIR/yii-master/framework/web/CController.php(287): CController->runAction(Object(CInlineAction))
#3 /data/WWW/PHPServer/RIR/yii-master/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
#4 /data/WWW/PHPServer/RIR/yii-master/framework/web/CWebApplication.php(283): CController->run('cotization')
#5 /data/WWW/PHPServer/RIR/yii-master/framework/web/CWebApplication.php(142): CWebApplication->runController('go4it/cotizatio...')
#6 /data/WWW/PHPServer/RIR/yii-master/framework/base/CApplication.php(162): CWebApplication->processRequest()
#7 /data/WWW/PHPServer/RIR/index.php(88): CApplication->run()
#8 {main}
REQUEST_URI=/RIR/index.php/go4it/cotization/
HTTP_REFERER=http://localhost/RIR/index.php/go4it
---
......@@ -4,7 +4,7 @@ class baseDeDatos{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -10,7 +10,7 @@
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -73,7 +73,7 @@
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
......@@ -9,7 +9,7 @@ class baseDeDatosVisita{
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
$dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8");
if ($conn->connect_error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment