We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3006
    • 32 Posts
    Hi,

    I cant find out what im missing. Im trying to install the RC of Revolution and have the directories chmodded and when i enter the setup and supply it with correct mysql details, i get green light with working detals and all OK’s on the next page but then when i press "Install" i get this error:


    Warning: PDO::prepare() [function.PDO-prepare]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ’modx.modx_access_actions’ doesn’t exist in /var/www/modx/core/xpdo/xpdo.class.php on line 1727

    Fatal error: Call to a member function execute() on a non-object in /var/www/modx/core/xpdo/om/mysql/xpdomanager.class.php on line 135


    The MYSQL-db is created called "modx" but no tables are created inside it.

    What am i missing?

    MySQL Serverversion: 5.0.32-Debian_7etch12-log
    MySQL klientversion: 5.0.32
    PHP Version 5.2.0-8+etch16
      • 28215
      • 4,149 Posts
      It’s because the PHP version you are using is not supported, as it’s PDO support is buggy and wont work with Revolution’s dependency on PDO. You’ll need to upgrade PHP if you want to proceed.

      http://svn.modxcms.com/docs/display/revolution/Server+Requirements
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3006
        • 32 Posts
        Oh, my bad.

        I remember fighting with the php upgrade before. I tried install php 5.3.2 but when i do
        apt-get upgrade php5 or apt-get install php5 i only get this error:

        # apt-get upgrade php5
        Reading package lists... Done
        Building dependency tree... Done
        The following packages have been kept back:
        libapache2-mod-php5 php5 php5-common php5-mysql
        0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

        # apt-get install php5
        Reading package lists... Done
        Building dependency tree... Done
        Some packages could not be installed. This may mean that you have
        requested an impossible situation or if you are using the unstable
        distribution that some required packages have not yet been created
        or been moved out of Incoming.

        Since you only requested a single operation it is extremely likely that
        the package is simply not installable and a bug report against
        that package should be filed.
        The following information may help to resolve the situation:

        The following packages have unmet dependencies:
        php5: Depends: libapache2-mod-php5 (>= 5.3.2-0.dotdeb.2) but 5.2.0+dfsg-8+etch16 is to be installed or
        libapache2-mod-php5filter (>= 5.3.2-0.dotdeb.2) but it is not going to be installed or
        php5-cgi (>= 5.3.2-0.dotdeb.2) but it is not going to be installed or
        php5-fpm (>= 5.3.2-0.dotdeb.2) but it is not going to be installed
        Depends: php5-common (>= 5.3.2-0.dotdeb.2) but 5.2.0+dfsg-8+etch16 is to be installed
        E: Broken packages

        Can someone tell me what could be wrong? I know its kinda OT though..