21288 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 542 Views |
-
Server Error

12 March 2012 at 4:22am
Please help me, whenever I visit my web site appear "Server error
Sorry, there was a problem with handling your request.
Generated with the default template ContentController.ss "
-
Re: Server Error

12 March 2012 at 10:33am
Hey Hery,
Need more info...
Has the website ever worked? (have you completed installation process?)
In mysite/_config.php paste this to set your site to dev mode, it may give you more info:
Director::set_environment_type("dev");
Cheers,
Josh -
Re: Server Error

12 March 2012 at 4:03pm
Yes, this site has been running about 1 month. initially normal, and I can also update by CMS. I will try your suggestion now, and inform you.
-
Re: Server Error

12 March 2012 at 4:22pm
Dear Josh
After i pasted to _config.php this line "Director::set_environment_type("dev");"
it now appears:[Warning] mysql_connect() [function.mysql-connect]: Access denied for user 'u854568002_hc'@'10.2.1.2' (using password: YES)
GET /Line 57 in /home/u854568002/public_html/sapphire/core/model/MySQLDatabase.php
Source
48 * Connect to a MySQL database.
49 * @param array $parameters An map of parameters, which should include:
50 * - server: The server, eg, localhost
51 * - username: The username to log on with
52 * - password: The password to log on with
53 * - database: The database to connect to
54 * - timezone: (optional) The timezone offset. For example: +12:00, "Pacific/Auckland", or "SYSTEM"
55 */
56 public function __construct($parameters) {
57 $this->dbConn = mysql_connect($parameters['server'], $parameters['username'], $parameters['password'], true);
58
59 if(self::$connection_charset) {
60 $this->query("SET CHARACTER SET '" . self::$connection_charset . "'");
61 $this->query("SET NAMES '" . self::$connection_charset . "'");
62 }
63Trace
mysql_connect(<filtered>,<filtered>,<filtered>,<filtered>)
Line 57 of MySQLDatabase.php
MySQLDatabase->__construct(Array)
Line 97 of DB.php
DB::connect(<filtered>)
Line 121 of main.phpthen what should I do?
thank
hery -
Re: Server Error

12 March 2012 at 9:46pm
Seriously...
mysql_connect() [function.mysql-connect]: Access denied for user 'u854568002_hc'@'10.2.1.2' (using password: YES)
...you don't know what this might mean? And no, I don't know you correct database credentials...
-
Re: Server Error

12 March 2012 at 10:09pm
I know, but why this had happened after 1 month. But this issue is resolved, the database error, I can not login with my password. then I delete it and create a new database and than i import my data , now it is running normally.
Thanks for the help.Hery Cahyadi
| 542 Views | ||
|
Page:
1
|
Go to Top |



