Sunny
Members-
Posts
16 -
Joined
-
Last visited
Everything posted by Sunny
-
Trouble Debugging ProcessWire using XDebug + PHPStorm
Sunny replied to FrancisChung's topic in General Support
Any luck getting xdebug and processwire working. I'm in phpstorm as well. I can successfully break anywhere before the Wire class has been instantiated. When breaking, xdebug failed silently or I get the following error. Warning: Uncaught Error: Class 'ProcessWire\WireDebugInfo' not found in C:\dev\www\pw\vkauai\wire\core\Wire.php:1695 Stack trace: #0 C:\dev\www\pw\vkauai\wire\core\Fuel.php(91): ProcessWire\Wire->__debugInfo() #1 C:\dev\www\pw\vkauai\wire\core\ProcessWire.php(200): ProcessWire\Fuel->set('wire', Object(ProcessWire\ProcessWire), true) #2 C:\dev\www\pw\vkauai\index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #3 {main} thrown in C:\dev\www\pw\vkauai\wire\core\Wire.php on line 1695 Fatal error: __debuginfo() must return an array in C:\dev\www\pw\vkauai\wire\core\Fuel.php on line 91 UPDATE: Setting a breakpoint on the Wire.php constructor returns the above error public function __construct() {} But great news, breakpoints in my templates are actually working. I was unaware that my template were being compiled into the cache directory - setting breakpoints on the cached versions of my template will cause xdebug to properly break. I am using php 7.0.13 and xdebug 2.5 -
I am looking into integrating Multisite or UserGroups as a possible solution. Multisite module https://github.com/apeisa/Multisite/blob/master/Multisite.module UserGroups module https://github.com/apeisa/UserGroups
-
Basically I need something like Drupal's Organic Groups.
-
Thanks kongondo, I may be using the dashboard module in a new project.
-
I am looking for some advice on setting up a multi-user and multi-school website/application. Each school and user will be created by a superuser; so there is no "self registration" functionality (at this point). On the back-end, It is important that when user1 logs in he can only see and edit the school1 players. On the font-end each school will have it's own url e.g. site.com/school1 Any hints would be much appreciated. Users user1 - school1 user2 - school1 user3 - school2 Pages schools school1 school2 players football players player1 - school1 player2 - school1 player3 - school2 cheerleaders cheerleader1 - school1 cheerleader2 - school2 advertisments advert1 - school1 advert2 - school2
-
How flexible is the PW admin. Could a custom admin theme be created which mimics adobe lightroom or more specifically the library and text sections of koken cms? What challenges would there be?
-
I think a sqlite compatibility would be fantastic for smaller sites. It is so common to be working on a client's shared host to find mysql running painfully slow. In contrast, sqlite will respond instantly. Drop http://getcockpit.com/ into a sluggish shared hosting environment and watch what happens.
-
Holy Cow - I'm glad I asked! Thanks!
-
I need to create content pragmatically. e.g. In the admin I plan on creating a button that will create a bunch of pages from a json feed. Is this possible? Can you point me to the correct API? Thanks.
-
Thanks Ryan, I will keep my eyes on the project.
-
Form Builder may be perfect for my next project. A couple questions: Is there a way to populate a drop down lists based on a previous selection? eg. selecting a state populates the next list with counties in that state? Also the client is requesting multi page forms to split up the long form Finally is there any sort of Conditional Logic where a form will present a set of questions based on a previous choice? Thanks.
-
Very encouraging, thanks everyone! I am really enjoying the zen like simplicity of PW.
-
Thanks, I will look into this right away. Did a search for membership without much luck. I would much rather jump into PW then wrestle with WP/Buddypress for the simple site I have in mind.
-
Is there a membership system built into PW? A way for visitors to sign up, enter profile info including a few images? Does anyone have any advice on building such a system with PW? Thanks, Sunny