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

    I am having some problems installing TreasureChest.

    I did a search and found the answer to most of my problems but the main one is, after installing TreasureChest and clicking the module I get these errors:
    Warning: treasurechestmanager(/var/virtual/web/w2099/html/modx/assets/snippets/treasure_chest/lang/treasurechest.english.php) [function.treasurechestmanager]: failed to open stream: No such file or directory in /var/virtual/web/w2099/html/modx/manager/processors/execute_module.processor.php(98) : eval()'d code on line 110
    
    Warning: treasurechestmanager(/var/virtual/web/w2099/html/modx/assets/snippets/treasure_chest/lang/treasurechest.english.php) [function.treasurechestmanager]: failed to open stream: No such file or directory in /var/virtual/web/w2099/html/modx/manager/processors/execute_module.processor.php(98) : eval()'d code on line 110
    
    Warning: treasurechestmanager() [function.include]: Failed opening '/var/virtual/web/w2099/html/modx/assets/snippets/treasure_chest/lang/treasurechest.english.php' for inclusion (include_path='/var/virtual/web/w2099/html/modx/manager/includes/') in /var/virtual/web/w2099/html/modx/manager/processors/execute_module.processor.php(98) : eval()'d code on line 110
    
    Warning: Invalid argument supplied for foreach() in /var/virtual/web/w2099/html/modx/manager/processors/execute_module.processor.php(98) : eval()'d code on line 112


    Any help would be great!

      • 22574
      • 181 Posts
      Anyone have any ideas?

      It looks like it is saying that the ’manager/processors/execute_module.processor.php’ file is missing but I have checked and it is there should it have chomod of 777 or something?

      Thanks
        • 22574
        • 181 Posts
        Hi I really need some urgent help with this as I tried install Treasure Chest on a different host and it had the same problem.

        I login via FTP upload the install folder.

        I then modify the license.txt to be license.english.txt otherwise it doesn’t show up.

        I then go the the url and install the module, once its done it shows:

        Warning: unlink(index.php) [function.unlink]: Permission denied in ..../public_html/install/index.php on line 291
        
        Warning: rename(dummy.html,index.html) [function.rename]: Permission denied in ..../public_html/install/index.php on line 292
        
        Warning: rename(..../public_html/install/,/home/lightingw1/domains/lightingwholesale.com.au/public_html/assets/snippets/treasure_chest/) [function.rename]: Permission denied in ..../public_html/install/index.php on line 293
        Installation Successful!


        And then when I log into modx and go to the module all I see is a bunch of these errors:
        Warning: file_get_contents(.../public_html/assets/snippets/treasure_chest/chunks/config_item.html) [function.file-get-contents]: failed to open stream: No such file or directory in .../public_html/manager/processors/execute_module.processor.php(98) : eval()'d code on line 99


        Any ideas?

        Am I missing a step?
          • 22574
          • 181 Posts
          Okay I finally fixed it!

          Looks like I just had to manually install each snippet and chuck as well as add upload the files manually, it took a bit of trail and error but I got there.

            • 22574
            • 181 Posts
            Okay for anyone that wants a more detailed desc of how TC works check this out:

            http://www.terrybarthdesign.com/terrys-notes-on-treasure-chest-11_08_08

            Terry Developed this list and it was a massive help.


            It dint help with my spec problem but it gave me an idea, I used:
            [[treasureChest? &item=`[+longtitle+]`]]

            At the top of my result chunk and it pulls in this longtitle which I just put the id number into and from that the rest of the chunk can then pull in the TC image and price, yay!
            As I was using tvExplorer.



            Random question, how do you set the position of the:
            [+treasure.image.thumb.hover+]
            The larger image that hovers when you mouse over the image?




            Cheers!