jueves, 18 de febrero de 2016
Corrección de mensaje Warning: Cannot modify header information
Warning: Cannot modify header information - headers already sent by
(output started at
/hermes/walnaweb01a/b676/moo.vickuscom/mvc/libs/Controller.php:12) in
/hermes/walnaweb01a/b676/moo.vickuscom/mvc/models/login_model.php on
line 35
This is a message sended from a web PHP page were the code
header(Location:../dashboard);
was scripted to call another page of the web. but the message of the top was showed, to resolve this, All the messages for debug were commented or eliminated, like this one, including one that sends the message to the console, trying to evade the error.
echo("<script>console.log('PHP: Controller.loadModel ".$path."');</script>");
echo "UPDATE $table SET $fieldDetails WHERE $where";
Now the question is, how to get debug messages ...
This is a message sended from a web PHP page were the code
header(Location:../dashboard);
was scripted to call another page of the web. but the message of the top was showed, to resolve this, All the messages for debug were commented or eliminated, like this one, including one that sends the message to the console, trying to evade the error.
echo("<script>console.log('PHP: Controller.loadModel ".$path."');</script>");
echo "UPDATE $table SET $fieldDetails WHERE $where";
Now the question is, how to get debug messages ...
miércoles, 10 de febrero de 2016
Modelación matemática y computacional en la recuperación mejorada de petróleo
martes, 9 de febrero de 2016
web service android, Laravel Framework
Crear web Service para android y Laravel Framework
http://www.hermosaprogramacion.com/2015/05/crear-un-webservice-para-android-con-mysql-php-y-json/
https://laravel.com/
https://es.wikipedia.org/wiki/Laravel
http://www.hermosaprogramacion.com/2015/05/crear-un-webservice-para-android-con-mysql-php-y-json/
https://laravel.com/
https://es.wikipedia.org/wiki/Laravel
jueves, 4 de febrero de 2016
Instalación de phpMyAdmin 4.4.15.4-all-languages.zip
Instalación de phpMyAdmin 4.4.15.4-all-languages.zip
en máquina 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux
con MySQL Server version: 5.5.38-0+wheezy1 (Debian)
y PHP Version 5.4.45-0+deb7u1
https://www.phpmyadmin.net/downloads/
Older version compatible with PHP 5.3.7 to 7.0 and MySQL 5.5. Supported for security fixes only, until April 1, 2016
phpMyAdmin-4.4.15.4-all-languages.zip
Se desempaca el archivo y de deja en /var/www/phpMyAdmin
Se prueba superficialmente y se observa estabilidad.
en máquina 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux
con MySQL Server version: 5.5.38-0+wheezy1 (Debian)
y PHP Version 5.4.45-0+deb7u1
https://www.phpmyadmin.net/downloads/
Older version compatible with PHP 5.3.7 to 7.0 and MySQL 5.5. Supported for security fixes only, until April 1, 2016
phpMyAdmin-4.4.15.4-all-languages.zip
Se desempaca el archivo y de deja en /var/www/phpMyAdmin
Se prueba superficialmente y se observa estabilidad.
jueves, 14 de mayo de 2015
Configuración Wifi Linux
sudo iwconfig wlan0 mode managed essid 'my network' key 'xx:xx:..hex key 26digits'
sudo dhclient -v wlan0
sudo dhclient wlan0
-----------------------------------------------------------------------
sudo ifconfig wlan0 up
sudo iwlist wlan0 up
sudo iwconfig wlan0 scan
sudo iwconfig wlan0 essid ..Starbucks..
sudo iwconfig
----------------------------------------------------------------------
"standard ubuntu tool" network manager "nmcli"
sudo nmcli
sudo nmcli c
sudo nmcli up uuid <paste uuid here>
----------------------------------------------------------------------
sudo nmcli nm wifi off
sudo rfkill unblock wlan
sudo service hostapd [start][restart]
sudo nmcli nm wifion
----------------------------------------------------------------------
Para instalacion de especifico network-manager
sudo apt-get install network-manager network-manager-gnome
to verify: dpkg -l | grep network-man*
Para instalación de browser iceweacel (firefox linux)
sudo apt-get install iceweasel
Para instalar lm-sensors
sudo apt-get install lm-sensors
sudo sensors-detect
cat /sys/class/thermal/thermal-zone0/temp
sudo iwconfig wlan0 mode managed essid 'my network' key 'xx:xx:..hex key 26digits'
sudo dhclient -v wlan0
sudo dhclient wlan0
-----------------------------------------------------------------------
sudo ifconfig wlan0 up
sudo iwlist wlan0 up
sudo iwconfig wlan0 scan
sudo iwconfig wlan0 essid ..Starbucks..
sudo iwconfig
----------------------------------------------------------------------
"standard ubuntu tool" network manager "nmcli"
sudo nmcli
sudo nmcli c
sudo nmcli up uuid <paste uuid here>
----------------------------------------------------------------------
sudo nmcli nm wifi off
sudo rfkill unblock wlan
sudo service hostapd [start][restart]
sudo nmcli nm wifion
----------------------------------------------------------------------
Para instalacion de especifico network-manager
sudo apt-get install network-manager network-manager-gnome
to verify: dpkg -l | grep network-man*
Para instalación de browser iceweacel (firefox linux)
sudo apt-get install iceweasel
Para instalar lm-sensors
sudo apt-get install lm-sensors
sudo sensors-detect
cat /sys/class/thermal/thermal-zone0/temp
Suscribirse a:
Comentarios (Atom)



