Extraccion de datos de sitio web

2013-04-08 Thread Juan Omar Huanca Balboa
Holas, Amigos

Tengo en mente realizar un proyecto con cakephp para la extraccion de datos 
de una pagina de clasificados de un periodico local y enviar esa 
informacion 
a mi cuenta de correo electronico, asi para no tener la necesidad de 
revisar cada
fin de semana los clasificados. Me pregunto si en cakephp se tiene de un 
modulo
para CURL. Esperando su respuesta les envio un saludo. Atte: Omar Huanca

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: CakePHP login don´t work on server

2012-05-29 Thread Omar Gonzalez
Just checked and it has the PDO Driver for MySql

PDO
PDO support enabled
PDO drivers sqlite, sqlite2, mysql

pdo_mysql
PDO Driver for MySQLenabled
Client API version  5.1.61

zombiesoftware.com.mx/phpinfo.php

Thanks!

On 29 mayo, 23:31, Jeremy  wrote:
> I had a similar item when changing in house dev server on a project. My issue 
> was that my new server didn't have the pdo drivers installed for MySQL. Are 
> you using a dedicated (virtual or physical) server or a shared server? You 
> may want to get with your hosting company to see what the steps are to get 
> get those installed.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


CakePHP login don´t work on server

2012-05-29 Thread Omar Gonzalez
Hi, i am building 2 applicactions and on my localhost (WAMP server)
works great, but when i upload it to the server this happen:

With one:

I cant get to see domain.com/Users or eny page with Auth-> It just
show a page in white.

With the other application:

When i write my username/password on the Users/login it just refresh
the page and when i request another page with Auth, i show the same
white page.

There is no white spaces befor and after .
Tha database are the same.

Thanks. Please i have been stuck with this for 3 weeks i even changed
hosting company.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


CakePHP error after uploading to server

2008-12-30 Thread omar

I used CakePHP(cake_1.2.0.5427alpha) and plays very well in my
localhost. But when I uploaded it
it is showing the follwing warnings and errors

Warning (2): session_start() [function.session-start]: open(/home/
teamdhaka/public_html/Imasale/app/tmp/sessions/
sess_erquclgrcmia234d48025n5552, O_RDWR) failed: Permission denied
(13) [CORE/cake/libs/session.php, line 154]

Warning: fopen(/home/teamdhaka/public_html/Imasale/app/tmp/logs/
error.log) [function.fopen]: failed to open stream: Permission denied
in /home/teamdhaka/public_html/Imasale/cake/libs/file.php on line 118

Warning: [File] Could not open /home/teamdhaka/public_html/Imasale/app/
tmp/logs/error.log with mode a! in /home/teamdhaka/public_html/Imasale/
cake/libs/file.php on line 119

Warning (2): Unknown: open(/home/teamdhaka/public_html/Imasale/app/tmp/
sessions/sess_erquclgrcmia234d48025n5552, O_RDWR) failed: Permission
denied (13) [Unknown, line ??]

Context | Code

$GLOBALS=   array("GLOBALS" => array, "CAKEPHP" =>
"erquclgrcmia234d48025n5552", "HTTP_HOST" => "teamdhaka.testita.com",
"HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20", "HTTP_ACCEPT" => "text/
xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5", "HTTP_ACCEPT_LANGUAGE" => "en-
us,en;q=0.5", "HTTP_ACCEPT_ENCODING" => "gzip,deflate",
"HTTP_ACCEPT_CHARSET" => "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
"HTTP_KEEP_ALIVE" => "300", "HTTP_CONNECTION" => "keep-alive",
"HTTP_COOKIE" => "CAKEPHP=erquclgrcmia234d48025n5552", "PATH" => "/
bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/
local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/
root/bin", "SERVER_SIGNATURE" => "", "SERVER_SOFTWARE" => "Apache/
2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.8e PHP/5.2.3 mod_python/3.2.10
Python/2.4.3", "SERVER_NAME" => "teamdhaka.testita.com", "SERVER_ADDR"
=> "61.206.116.99", "SERVER_PORT" => "80", "REMOTE_ADDR" =>
"120.50.179.90", "DOCUMENT_ROOT" => "/home/teamdhaka/public_html",
"SERVER_ADMIN" => "i...@ita.co.jp", "SCRIPT_FILENAME" => "/home/
teamdhaka/public_html/Imasale/index.php", "REMOTE_PORT" => "2557",
"GATEWAY_INTERFACE" => "CGI/1.1", "SERVER_PROTOCOL" => "HTTP/1.1",
"REQUEST_METHOD" => "GET", "QUERY_STRING" => "", "REQUEST_URI" => "/
Imasale/", "SCRIPT_NAME" => "/Imasale/index.php", "PHP_SELF" => "/
Imasale/index.php", "REQUEST_TIME" => 1230628956, "_POST" => array,
"_GET" => array, "_COOKIE" => array, "_SERVER" => array, "_ENV" =>
array, "_FILES" => array, "_REQUEST" => array, "cakeCache" => array,
"bootstrap" => true, "uri" => "/Imasale/", "elements" => array, "path"
=> "/", "TIME_START" => 1230628956.6225, "cache" => "File", "settings"
=> array, "url" => "/", "folders" => array, "requestPath" => array,
"_SESSION" => array)
$CAKEPHP=   "erquclgrcmia234d48025n5552"
$HTTP_HOST  =   "teamdhaka.testita.com"
$HTTP_USER_AGENT=   "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:
1.8.1.20) Gecko/20081217 Firefox/2.0.0.20"
$HTTP_ACCEPT=   "text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
$HTTP_ACCEPT_LANGUAGE   =   "en-us,en;q=0.5"
$HTTP_ACCEPT_ENCODING   =   "gzip,deflate"
$HTTP_ACCEPT_CHARSET=   "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
$HTTP_KEEP_ALIVE=   "300"
$HTTP_CONNECTION=   "keep-alive"
$HTTP_COOKIE=   "CAKEPHP=erquclgrcmia234d48025n5552"
$PATH   =   "/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/
bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/
bin:/root/bin"
$SERVER_SIGNATURE   =   ""
$SERVER_SOFTWARE=   "Apache/2.2.2 (Unix) mod_ssl/2.2.2 
OpenSSL/0.9.8e
PHP/5.2.3 mod_python/3.2.10 Python/2.4.3"
$SERVER_NAME=   "teamdhaka.testita.com"
$SERVER_ADDR=   "61.206.116.99"
$SERVER_PORT=   "80"
$REMOTE_ADDR=   "120.50.179.90"
$DOCUMENT_ROOT  =   "/home/teamdhaka/public_html"
$SERVER_ADMIN   =   "i...@ita.co.jp"
$SCRIPT_FILENAME=   "/home/teamdhaka/public_html/Imasale/index.php"
$REMOTE_PORT=   "2557"
$GATEWAY_INTERFACE  =   "CGI/1.1"
$SERVER_PROTOCOL=   "HTTP/1.1"
$REQUEST_METHOD =   "GET"
$QUERY_STRING   =   ""
$REQUEST_URI=   "/Imasale/"
$SCRIPT_NAME=   "/Imasale/index.php"
$PHP_SELF   =   "/Imasale/index.php"
$REQUEST_TIME   =   1230628956
$_POST  =   array()
$_GET   =   array("url" => "/")
$_COOKIE=   array("CAKEPHP" => "erquclgrcmia234d48025n5552")
$_SERVER=   array("HTTP_HOST" => "teamdhaka.testita.com",
"HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20", "HTTP_ACCEPT" => "text/
xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5", "HTTP_ACCEPT_LANGUAGE" => "en-
us,en;q=0.5", "HTTP_ACCEPT_ENCODING" => "g

showing error after installation

2008-12-30 Thread omar

I uploaded my project and when I clicked to see the page in Browser I
got following warning and error
Warning (2): require(D:\wamp\www\Imasale\app\controllers
\mains_controller.php) [function.require]: failed to open stream: No
such file or directory [CORE/cake/basics.php, line 372]

Context | Code

$name   =   "mains_controller"
$className  =   "MainsController"
$controllers=   array("MainsController" => array)


$controllers = Configure::read('Controllers');


if (is_array($controllers)) {


if (array_key_exists($className, $controllers)) {


require($controllers[$className]['path']);


return true;

loadController - CORE/cake/basics.php, line 372
loadController - CORE/cake/basics.php, line 372
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 111
require - CORE/app/webroot/index.php, line 86
[main] - CORE/index.php, line 75


Warning: fopen(/home/teamdhaka/public_html/Imasale/app/tmp/logs/
error.log) [function.fopen]: failed to open stream: Permission denied
in /home/teamdhaka/public_html/Imasale/cake/libs/file.php on line 118

Warning: [File] Could not open /home/teamdhaka/public_html/Imasale/app/
tmp/logs/error.log with mode a! in /home/teamdhaka/public_html/Imasale/
cake/libs/file.php on line 119

Fatal error: require() [function.require]: Failed opening required 'D:
\wamp\www\Imasale\app\controllers
\mains_controller.php' (include_path='.:/usr/local/lib/php:/home/
teamdhaka/public_html/Imasale:/home/teamdhaka/public_html/Imasale/
app/') in /home/teamdhaka/public_html/Imasale/cake/basics.php on line
372

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



cakePHP Console; Problem: 'Error: schema.php could not be loaded'

2008-09-17 Thread Omar

Hi,
I had a problem with cake Console.
I'm sorry if I said this console is reared. Ok let me show you the
problem:
I have Ubuntu 8.04, LAMPP (PHP5, MYSQL, etc) + php5-cli, mysql-
client-5.0, Everything works just fine. even CakePHP works well. But I
was trying to access the console writing:
"cake schema run create DbAc"
But I've got that error (only this):
"Error: schema.php could not be loaded"

And the full command was: "[EMAIL PROTECTED]:/opt/lampp/htdocs/acl/app
$ cake schema run create DbAc"
While  the 'acl' is the root of a cakePHP.

executing 'echo $PATH' in Terminal outputs this: "/usr/local/sbin:/usr/
local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/lampp/htdocs/
acl/cake/console"

-
And I should notify you that in some level when I was trying to fix
the problem there where problems appearing like:
'fatal error mysql_connect(); no defined' OR many problems began with
"mysql_ponnect() .." but all of them disappears at this time!

[I tried to do my best but I couldin't make it work!]
I expect you generous helps guys :).



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: bakery not taking comments?

2008-09-10 Thread Omar

I have the same problem. For example  I want to know How I can import
from memory images with TCPDF, for example an image generated by
JPGRAPH ,in
FPDF is possible. I try to leave a question but it's impossible.

qwanta ha escrito:
> Not sure if this is the best place to report this, but I couldn't find
> any contact info for the bakery.
>
> Basically, it seems like comments cannot be left for articles at the
> bakery. There is some problem with the title validation as it reports
> a blank field even when there is text in there.
>
> I was trying to leave a comment/question for Kalileo's "Creating PDF
> files with CakePHP and TCPDF" article.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---