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
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
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 /
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
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
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?