Jump to:

2084 Posts in 1005 Topics by 453 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, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 822 Views
  • Arthuras
    Community Member
    1 Post

    Lost my site. Need any help Link to this post

    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

    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, eg: +12:00 for NZ time
    55     */
    56    public function __construct($parameters) {
    57       $this->dbConn = mysql_connect($parameters['server'], $parameters['username'], $parameters['password']);
    59       if(self::$connection_charset) {
    60          $this->query("SET CHARACTER SET '" . self::$connection_charset . "'");
    61          $this->query("SET NAMES '" . self::$connection_charset . "'");
    62       }


    * 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

  • Bambii7
    Community Member
    254 Posts

    Re: Lost my site. Need any help Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.