We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18083
    • 6 Posts
    First of all,

    big, big, big hello to modX community. I am still getting familiar with the modX CMS, but I already have some problems. I am trying to install an Shopkeeper module, and I am following the steps from the documentation, but all I am getting after trying to save the new module or snippet is the Internal server error 500. I can not reach the solution for this, so I would like to ask somebody for a little help with this.

    In fact, all I need is some kind of add on, a simple module to act like a very, very simple cart. I need to have a button "put in cart"  below the product description, and a cart which will contain the product titles, amount and prices, and that the cart can after entering the email address and personal data send an e-mail with a info of the product in the cart to me and to the costumer. I do not need the payment options. It would be like an simple cart only for offerings. Is there someone really, really nice to recommend me some good solution which would function like this? Cause I only found the Shopkeeper, but it seems I can not install it...

    Thanks!
    • I have found that 500 errors are caused by two items:

      1. Problems with htaccess code
      2. Incorrect file permission(s)

      You wouldn’t be able to access your site if 1 was the problem so I suspect your problem is 2 in which case you should chmod your site according to your hosts needs. If they use phpsuexec or similar you need 644/755 otherwise 666/777 (file/folder).

      AMDbuilder
        Patrick | Server Wrangler
        About Me: Website | TweetsMODX Hosting
        • 18083
        • 6 Posts
        Thank You for the answer. Perms are set to 755, tried to change them to all of the mentioned, but nothing changed the result. When I paste the code to the module content area, I just can not save it, I get this internal error. I can create other snippets, chunks and modules without any problems and I can access my site. Am I doing something wrong? huh
          • 20413
          • 2,877 Posts
          What MODx version?
            @hawproductions | http://mrhaw.com/

            Infograph: MODX Advanced Install in 7 steps:
            http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

            Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
            http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
            • 18083
            • 6 Posts
            MODx 0.9.6.3

              • 20413
              • 2,877 Posts
              Try disable other plugins and modules you have installed, and check your site at w3c for invisible 500 error as well.
              Good tip is to have a base install somewhere to test new stuff by them self one by one. Maybe its your enviroment
              that is not compatible.

              Though did you have to change modx core files when installing shopkeeper?
                @hawproductions | http://mrhaw.com/

                Infograph: MODX Advanced Install in 7 steps:
                http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • Hello,

                I would still be willing to bet on one of the two causes I noted earlier... Could you check your error logs (see control panel and/or error_log files) and post the results?

                Oh, if you didn’t already disable your .htaccess for a min and test with it off (just rename ht.access or something) Do this in the site root and also in the manager folder if you have that one on.

                Thanks,
                AMDbuilder
                  Patrick | Server Wrangler
                  About Me: Website | TweetsMODX Hosting
                  • 18083
                  • 6 Posts
                  @mrhaw - I also did suspect that to be the probable cause, so I tried it with another, clean install. Same thing...

                  @AMDbuilder - tried to exclude the .htacces, but it did not do the trick. But, something showed up in the server error log... This:

                  [Thu Jun 18 19:31:02 2009] [error] [client ...] File does not exist: ....../public_html/500.shtml, referer: http://....../manager/index.php?a=107

                  What would this be?
                  • It looks like one of the manager pages is giving a 500 error and then you have no 500 error page so the server is generating an error. The problem is likely in your manager folder so try renaming the .htaccess file in your manager folder to anything else for the time being. See if that helps fix the problem and/or check the permissions for that folder.

                    If you have access to SSH try running this command: chmod -R u=rwX,go=rX ~/public_html/ it should reset all permission in public_html to 644/755.

                    AMDbuilder
                      Patrick | Server Wrangler
                      About Me: Website | TweetsMODX Hosting
                      • 20413
                      • 2,877 Posts
                      That’s a nice ssh command!  cool bookmarked!
                        @hawproductions | http://mrhaw.com/

                        Infograph: MODX Advanced Install in 7 steps:
                        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower