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

    I need some serious help, trawling the internet and these forums has given me lots of suggestions but none so far have worked.

    I need to upgrade an installation of MODx Revolution 2.0.7-pl (traditional) but there are a couple of issues preventing me from doing it.

    I’ll list the issues as I’m sure they could be related:

    • The Console only displays "Console running..." when clearing the cache but seems to be clearing it
    • The Package Installer displays a blank License Agreement, Readme, Changelog and Setup Options. Going through the process and clicking ’Finish’ pops up the Consol but again it only says ’Console running...’ before an error lightbox appears with the message ’Could not install package with signature: googlesitemap-1.2.1-pl
    • The error log has not been created and is empty

    I’m not getting any errors in the apache logs related to PHP, I was getting the timezone warning which I thought could have been breaking execution but easily fixed that with no affect.

    Here’s all the relevant details from the ’System Info’:

    • MODx version: MODx Revolution 2.0.7-pl (traditional)
    • Server OS: CentOS release 5.6 (Final)
    • PHP version:5.3.6
    • MySQL Server version: 5.1.57
    • MySQL Client API version: 5.1.57
    • pdo_mysql installed: yes
    • Tested in:[list]
      [li]Chrome (Netscape Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30.)
    • Firefox (Netscape Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0.)
    [/li]
    [li]No opcode caching[/li]
    [li]Additional info:

    • Server running Plesk 9.2.3
    • Configure Command: ’./configure’ ’--build=x86_64-redhat-linux-gnu’ ’--host=x86_64-redhat-linux-gnu’ ’--target=x86_64-redhat-linux-gnu’ ’--program-prefix=’ ’--prefix=/usr’ ’--exec-prefix=/usr’ ’--bindir=/usr/bin’ ’--sbindir=/usr/sbin’ ’--sysconfdir=/etc’ ’--datadir=/usr/share’ ’--includedir=/usr/include’ ’--libdir=/usr/lib64’ ’--libexecdir=/usr/libexec’ ’--localstatedir=/var’ ’--sharedstatedir=/usr/com’ ’--mandir=/usr/share/man’ ’--infodir=/usr/share/info’ ’--cache-file=../config.cache’ ’--with-libdir=lib64’ ’--with-config-file-path=/etc’ ’--with-config-file-scan-dir=/etc/php.d’ ’--disable-debug’ ’--with-pic’ ’--disable-rpath’ ’--without-pear’ ’--with-bz2’ ’--with-exec-dir=/usr/bin’ ’--with-freetype-dir=/usr’ ’--with-png-dir=/usr’ ’--with-xpm-dir=/usr’ ’--enable-gd-native-ttf’ ’--with-t1lib=/usr’ ’--without-gdbm’ ’--with-gettext’ ’--with-gmp’ ’--with-iconv’ ’--with-jpeg-dir=/usr’ ’--with-openssl’ ’--with-pcre-regex’ ’--with-zlib’ ’--with-layout=GNU’ ’--enable-exif’ ’--enable-ftp’ ’--enable-magic-quotes’ ’--enable-sockets’ ’--with-kerberos’ ’--enable-ucd-snmp-hack’ ’--enable-shmop’ ’--enable-calendar’ ’--with-libxml-dir=/usr’ ’--enable-xml’ ’--with-system-tzdata’ ’--with-apxs2=/usr/sbin/apxs’ ’--without-mysql’ ’--without-gd’ ’--disable-dom’ ’--disable-dba’ ’--without-unixODBC’ ’--disable-pdo’ ’--disable-xmlreader’ ’--disable-xmlwriter’ ’--without-sqlite’ ’--without-sqlite3’ ’--disable-phar’ ’--disable-fileinfo’ ’--disable-json’ ’--without-pspell’ ’--disable-wddx’ ’--without-curl’ ’--disable-posix’ ’--disable-sysvmsg’ ’--disable-sysvshm’ ’--disable-sysvsem’
    [/li]
    [/list]
      • 1892
      • 82 Posts
      There is a small bug in the 1.2.1-pl upgrade script
      http://bugs.modx.com/issues/5185

      Basically during the install the tick box "core package already extracted" is enabled by default as it detects your old installation. So if you just upgrade using the default settings then the new core package doesn’t get extracted.

      Try re-installing the upgrade making sure that the checkbox for "core package is extracted" is turned off.

      Hope this helps

      Adrian
        • 34761
        • 11 Posts
        Hi apcherry and thanks for the response.

        I should have mentioned that the errors with the package manager is when trying to install any package not just the google sitemap.

        These problems are preventing me updating any packages whatsoever. I don’t know if it’s related but if I add the googlesitemap-1.2.1-pl package directly to the core/packages folder and run the Add New Package >> Search Locally for Packages functionality, it does not pick up the plugin from their either.

        Looking in the modx_transport_packages database table, I can see entries that have null value as follows:
        'getresources-1.3.1-pl', '2011-07-18 11:23:44', NULL, NULL, 1, 1, 1, 0, 'getresources-1.3.1-pl.transport.zip', NULL, NULL, 'getresources', 'a:31:{i:0;a:4:{s:4:"name";s:2:"id";s:10:"attributes";a:0:{}s:4:"text";s:24:"4d556c3db2b083396d000abe";s:8:"children";a:0:{}}i:1;a:4:{s:4:"name";s:7:"package";s:10:"attributes";a:0:{}s:4:"text";s:24:"4d556c3db2b083396d000abe";s:8:"children";a:0:{}}i:2;a:4:{s:4:"name";s:12:"display_name";s:10:"attributes";a:0:{}s:4:"text";s:21:"getresources-1.3.1-pl";s:8:"children";a:0:{}}i:3;a:4:{s:4:"name";s:7:"version";s:10:"attributes";a:0:{}s:4:"text";s:5:"1.3.1";s:8:"children";a:0:{}}i:4;a:4:{s:4:"name";s:13:"version_major";s:10:"attributes";a:0:{}s:4:"text";s:1:"1";s:8:"children";a:0:{}}i:5;a:4:{s:4:"name";s:13:"version_minor";s:10:"attributes";a:0:{}s:4:"text";s:1:"3";s:8:"children";a:0:{}}i:6;a:4:{s:4:"name";s:13:"version_patch";s:10:"attributes";a:0:{}s:4:"text";s:1:"1";s:8:"children";a:0:{}}i:7;a:4:{s:4:"name";s:7:"release";s:10:"attributes";a:0:{}s:4:"text";s:2:"pl";s:8:"children";a:0:{}}i:8;a:4:{s:4:"name";s:8:"vrelease";s:10:"attributes";a:0:{}s:4:"text";s:2:"pl";s:8:"children";a:0:{}}i:9;a:4:{s:4:"name";s:14:"vrelease_index";s:10:"attributes";a:0:{}s:4:"text";s:2:"pl";s:8:"children";a:0:{}}i:10;a:4:{s:4:"name";s:6:"author";s:10:"attributes";a:0:{}s:4:"text";s:8:"opengeek";s:8:"children";a:0:{}}i:11;a:4:{s:4:"name";s:11:"description";s:10:"attributes";a:0:{}s:4:"text";s:150:"This release fixes a few small bugs in the way the criteria is built for resources and tvFilters properties, as well as allows a 0-based idx property.";s:8:"children";a:0:{}}i:12;a:4:{s:4:"name";s:12:"instructions";s:10:"attributes";a:0:{}s:4:"text";s:37:"<p>Install via Package Management</p>";s:8:"children";a:0:{}}i:13;a:4:{s:4:"name";s:9:"changelog";s:10:"attributes";a:0:{}s:4:"text";s:333:"<p></p><p style="margin-bottom: 15px; ">getResources 1.3.1-pl (July 14, 2011)</p><p style="margin-bottom: 15px; "></p><ul style="margin-bottom: 15px; "><li><li>[#43] Allow 0 as idx property</li><li>[#9] Fix tvFilters grouping</li><li>[#46] Fix criteria issue with &resources property</li></li></ul><p></p>";s:8:"children";a:0:{}}i:14;a:4:{s:4:"name";s:9:"createdon";s:10:"attributes";a:0:{}s:4:"text";s:23:"2011-07-14 21:11:48 UTC";s:8:"children";a:0:{}}i:15;a:4:{s:4:"name";s:10:"created_by";s:10:"attributes";a:0:{}s:4:"text";s:8:"opengeek";s:8:"children";a:0:{}}i:16;a:3:{s:4:"name";s:8:"editedon";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:17;a:4:{s:4:"name";s:10:"releasedon";s:10:"attributes";a:0:{}s:4:"text";s:23:"2011-07-14 21:11:48 UTC";s:8:"children";a:0:{}}i:18;a:4:{s:4:"name";s:9:"downloads";s:10:"attributes";a:0:{}s:4:"text";s:5:"24646";s:8:"children";a:0:{}}i:19;a:4:{s:4:"name";s:8:"approved";s:10:"attributes";a:0:{}s:4:"text";s:4:"true";s:8:"children";a:0:{}}i:20;a:4:{s:4:"name";s:7:"audited";s:10:"attributes";a:0:{}s:4:"text";s:4:"true";s:8:"children";a:0:{}}i:21;a:4:{s:4:"name";s:8:"featured";s:10:"attributes";a:0:{}s:4:"text";s:4:"true";s:8:"children";a:0:{}}i:22;a:4:{s:4:"name";s:10:"deprecated";s:10:"attributes";a:0:{}s:4:"text";s:5:"false";s:8:"children";a:0:{}}i:23;a:4:{s:4:"name";s:7:"license";s:10:"attributes";a:0:{}s:4:"text";s:5:"GPLv2";s:8:"children";a:0:{}}i:24;a:3:{s:4:"name";s:7:"smf_url";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:25;a:4:{s:4:"name";s:4:"name";s:10:"attributes";a:0:{}s:4:"text";s:12:"getResources";s:8:"children";a:0:{}}i:26;a:4:{s:4:"name";s:10:"repository";s:10:"attributes";a:0:{}s:4:"text";s:24:"4d4c3fa6b2b0830da9000001";s:8:"children";a:0:{}}i:27;a:4:{s:4:"name";s:8:"supports";s:10:"attributes";a:0:{}s:4:"text";s:3:"2.0";s:8:"children";a:0:{}}i:28;a:3:{s:4:"name";s:10:"screenshot";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:29;a:3:{s:4:"name";s:4:"file";s:10:"attributes";a:0:{}s:8:"children";a:7:{i:0;a:4:{s:4:"name";s:2:"id";s:10:"attributes";a:0:{}s:4:"text";s:24:"4e1f5b96f2455409d900006c";s:8:"children";a:0:{}}i:1;a:4:{s:4:"name";s:7:"version";s:10:"attributes";a:0:{}s:4:"text";s:24:"4e1f5b94f2455409d900006a";s:8:"children";a:0:{}}i:2;a:4:{s:4:"name";s:8:"filename";s:10:"attributes";a:0:{}s:4:"text";s:35:"getresources-1.3.1-pl.transport.zip";s:8:"children";a:0:{}}i:3;a:4:{s:4:"name";s:9:"downloads";s:10:"attributes";a:0:{}s:4:"text";s:3:"458";s:8:"children";a:0:{}}i:4;a:4:{s:4:"name";s:6:"lastip";s:10:"attributes";a:0:{}s:4:"text";s:15:"188.112.246.192";s:8:"children";a:0:{}}i:5;a:4:{s:4:"name";s:9:"transport";s:10:"attributes";a:0:{}s:4:"text";s:4:"true";s:8:"children";a:0:{}}i:6;a:4:{s:4:"name";s:8:"location";s:10:"attributes";a:0:{}s:4:"text";s:60:"http://modx.com/extras/download/?id=4e1f5b96f2455409d900006c";s:8:"children";a:0:{}}}}i:30;a:4:{s:4:"name";s:17:"package-signature";s:10:"attributes";a:0:{}s:4:"text";s:21:"getresources-1.3.1-pl";s:8:"children";a:0:{}}}', 1, 3, 1, 'pl', 0
        


        Any help would be much appreciated.

        Thanks in advance.
          • 1892
          • 82 Posts
          Hi,

          Sorry not got a specific solution as I’m not an expert. However as it’s all packages you’re having problems with then I still think it’s worth checking the core install again.

          You can run the install setup routine again, and double check the option "core package already extracted" is turned off. See if that updates the core routines correctly.

          Regards

          Adrian
            • 34761
            • 11 Posts
            We’ve fixed it but it took upgrading MODx to the latest version to do so. I think it must have been a faulty install somehow.

            I must say, now it’s working, the package management toll is fantastic, as good as WordPress’ that’s for sure, if not better.

            Thanks for your suggestions apcherry, much appreciated.

            Regards,
            David.