Re: access rights

2008-03-31 Thread Галкин Николай
Access denied. :) Check your login and password in /app/config/database.php Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'emmettbr'@'server.stonerocket.co.uk' (using password: YES) in / home/emmettbr/public_html/CakePHP/cake/libs/model/dbo/dbo_mysql.php on line

Re: works in localhost, not works in www.toreadandtowrite.com

2008-03-31 Thread Галкин Николай
If you mean about DB, you must have root provileges and open access for your account of your site. About privileges in MySQL: http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html If you mean about your http-server. You must have domain-name www.toreadandtowrite.com. And configure

Re: access rights

2008-03-31 Thread Галкин Николай
May by not 'server.stonerocket.co.uk' but 'localhost' and also chek your dataase name. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'emmettbr'@'server.stonerocket.co.uk' (using password: YES) in /

Re: magic functions not defined for some reason

2008-03-29 Thread Галкин Николай
May be must $this-User-findByLast_name('smith'); PHP 4.4, cake 1.2.x latest beta the findByField function always give 'call to undefined function' error, no matter what field name I tried, such as $this-User-findByLastname('smith'); The only thing not typical in my app is my primary

Re: Files folder?

2008-03-28 Thread Галкин Николай
try /pdf/example.pdf or www.example.com/pdf/example.pdf I am building a website for a client and they have a large amount of PDF's so I decided I would put them in: app/webroot/files/pdf but when I navigate to: www.example.com/files/pdf/example.pdf i get: Error: FilesController could

Re: document root in shared hosting

2008-03-28 Thread Галкин Николай
I think yes! Create the file .htaccess in the root directory and write string: RewriteBase /new_root_folder But in your hosting must be enabled module mod_rewrite. Sorry for my English. I am from Russian. Can I change document root in shared hosting?