2000 Posts in 532 Topics by 435 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Lost my site. Need any help
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 700 Views |
-
Lost my site. Need any help

30 July 2010 at 6:56am
Hi everyone
When I'm trying access my site. But I get (see below)Notice: Undefined index: FormField in /home/arkama/domains/arkama.com/public_html/sapphire/core/ManifestBuilder.php on line 459
Warning: There are two files both containing the same class: '/home/arkama/domains/arkama.com/public_html/sapphire/core/model/FormField.php' and ''. This might mean that the wrong code is being used. in /home/arkama/domains/arkama.com/public_html/sapphire/core/ManifestBuilder.php on line 461
[Warning] mysql_connect() [function.mysql-connect]: Access denied for user 'arkama_arkama'@'localhost' (using password: YES)
GET /Line 57 in /home/arkama/domains/arkama.com/public_html/sapphire/core/model/MySQLDatabase.php
Source48 * 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, eg: +12:00 for NZ time
55 */
56 public function __construct($parameters) {
57 $this->dbConn = mysql_connect($parameters['server'], $parameters['username'], $parameters['password']);
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(localhost,arkama_arkama,HPErBS8S)
Line 57 of MySQLDatabase.php
* MySQLDatabase->__construct(Array)
Line 94 of DB.php
* DB::connect(Array)
Line 121 of main.php -
Re: Lost my site. Need any help

2 August 2010 at 11:07am
Hi Arthuras,
Looks like it could be a misconfiguration of database details.
I get this a bit when I switch sites around form local to live."[Warning] mysql_connect() [function.mysql-connect]: Access denied for user 'arkama_arkama'@'localhost' (using password: YES) "
double check the details in mysite/_config.php
Also you may want to rename the datebase name, because its been made public after posting that error.
| 700 Views | ||
|
Page:
1
|
Go to Top |


