-
Posts
11,204 -
Joined
-
Last visited
-
Days Won
373
Everything posted by adrian
-
Unfortunately Ryan doesn't accept PRs, so all you can do is add to this issue: https://github.com/processwire/processwire-issues/issues/797 Welcome to the forums and thanks for your efforts to improve/fix things!
- 1 reply
-
- 1
-
-
@tthom_pw - perhaps it would also be worth pointing out to them that: https://yoursite.com/site/modules/TracyDebugger/panels/Terminal/shell.php is not accessible.
-
Hi @tthom_pw - that file is not necessary for most of Tracy's functionality so you could certainly just delete it, but I would like to understand why they are actually concerned about it. As I mentioned to @bernhard above, it's impossible to run that shell.php file outside the PW admin and without superuser permissions. It is blocked by PW's htaccess rules. Also, unless I am missing something, it's no more dangerous than Ryan's HannaCode module in terms of what it can run - Hanna lets you shell_exec() which is what this file uses to run system commands. That said, if it's going to be a red flag for some hosting providers, I can move the file out of Tracy and make it a separate module that if installed will integrate with Tracy. Could you please follow up with your host and explain how it is protected from direct access etc and see what they say?
-
Not sure how useful this is compared to Tracy's Console panel, but if you really want to run PW code (or anything else for that matter) from the comfort of your IDE, check out: https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
- 246 replies
-
- 3
-
-
-
- visual studio code
- vsc
-
(and 2 more)
Tagged with:
-
[SOLVED] Add additional values when creating page via Page reference field
adrian replied to cehlo's topic in Getting Started
No time to test right now, but perhaps you actually need to use: Pages::added -
The version under the Tracy cache is the backed up copy created when you use the File Editor panel. That is expected. That is partly why the File Editor now has a default setting to exclude /site/assets My concern is why the error you are seeing is looking for files under: /site/assets/cache/TracyDebugger/offer-index-dev.php rather than /site/assets/cache/TracyDebugger/site/templates/offer-index-dev.php
-
Yes for the template settings. For Tracy you can either: 1) Visit the module settings and open the Adminer panel and it will automatically show the entry for Tracy's settings. 2) Install http://modules.processwire.com/modules/module-settings-import-export/ and copy the settings from the new section on Tracy's settings page.
-
[SOLVED] Add additional values when creating page via Page reference field
adrian replied to cehlo's topic in Getting Started
If I understand correctly, this will help: http://modules.processwire.com/modules/admin-page-field-edit-links/ -
I can't seem to reproduce any issues here with the Template Path panel. I actually don't understand why it's looking for a file at the root of /site/assets/cache/TracyDebugger/ - I don't think it should be. I have a feeling you might have a combination of Tracy features / settings that is resulting in this, but not sure what. Would you mind PM'ing me your settings in JSON format. Maybe also an export of your template settings as well.
-
@dragan - are you using the "User Dev Templates" feature, or the User Bar's "Page Versions" feature?
-
Hi @bartelsmedia - sorry, but I don't really have the time / inclination to support this module, but I am happy to accept PRs. Personally I thought these banners were almost designed to overlay content on purpose so that they can't be ignored.
-
I am surprised Enpass (https://www.enpass.io/) hasn't come up - does everyone know something I don't about it ?
-
-
@Erik - I shouldn't speak for Pete, but I don't think this is being maintained at the moment. The error is related to PHP 7. Not meaning to self promote, but http://modules.processwire.com/modules/protected-mode/ has a maintenance option which throw proper 503 maintenance headers if selected in the settings.
-
Hey @Pete - thanks for the updates. Once outstanding thing is the link color on this page: https://processwire.com/talk/discover/unread/ being black instead of pink.
-
Don't forget to check out the newish Favicon badge option if you haven't already - I find it very useful.
-
Hey @szabesz - turns out the svg icon issue was actually related to not having the fixed debug bar position option checked. I decided to remove this an optional, because the draggable version had other problems as well. I think this might also fix your issue with the scrollbar being on top of the debug bar as well. The hiding of the body when hiding the debug bar was related to the custom server type indicator. I have fixed this, although this means that now the indicator won't be hidden when the bar is hidden, but hopefully that is ok. One observation about your Tracy settings - you didn't have the db() and bdb() shortcuts checked - you may want those. Also, I have deleted your settings attachment in your previous post because it includes your email address ?
-
The other option might be to make use of the alternate user template approach outlined here: https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users
-
What about a repeater field on the User template? Or perhaps even a Profields Table field (if you have it).
-
@tpr - don't worry about the fixed header issue - maybe just remove the option unless you can get Ryan to change how the menus are built (although that seems unlikely).
-
@szabesz - thanks for those files - the svg size and hiding of body problems are coming from the server type indicator feature - specifically the "Custom - control with CSS" option. I'll try to fix shortly. Not sure about the bar being under the scrollbar - I still don't see that, but at least the other problems are figured out ?
-
Or you can force development mode for superusers. I guess Devilbox is preventing DETECT mode from determining whether you're on localhost or not.
-
@happywire - could you please look at the Network tab in the browser dev tools and monitor it for the file that is called via ajax that uploads the image. Could you check the response tab and see if there is an error appearing when Tracy is installed? Maybe also try Tracy in Strict Mode (button the Panel selector) and see if that helps / shows an error.
-
@tpr and @matjazp - I just converted one of my ProcessWire log files to Windows 1252 and I still had no problems with the panel - it was successfully json encoded and saved to the wireCache. I'm not sure how to proceed from here - any thoughts?
-
Thanks for the extra details @szabesz - unfortunately I still can't reproduce. Could you please try deleting your browser LocalStorage - maybe that is affecting the position under the scrollbar. Could you also send me your Tracy settings. You can use my ModuleSettingsImportExport module to make that easy. Regarding the SVG icon issue - does this occur both backend and frontend? Just wondering if maybe there is some frontend css (or custom backend css for that matter) that might be interfering.