Jump to content

creativejay

Members
  • Posts

    259
  • Joined

  • Last visited

Posts posted by creativejay

  1. We frequently end up with people creating either multiple logins (one per year, with a different employee now in charge of managing the account) or different accounts for different aspects of their engagement (one as a speaker, one as a sponsor/customer), and we'd like to come up with a way to merge the users into one login.

    It probably doesn't matter for the method, but the customer user would be the login we want to keep, so that they remain associated with their PadLoper order.

    Aside from opening the users in two different windows and copy/pasting one to the other (or building an API code to do this -- CAREFULLY), does anyone have a method for merging two pages/users that already exist?

     

    Thanks in advance!

  2. Oh, and I saw you mention that someone using Padloper 1 may continue to use it as they like if they didn't feel the new software was worth the asking price (a whole other rabbit hole there, that's not in question for me). Do you foresee any compatibility/aging/EOL issues with future versions of PW/php/mysql, etc., that might come up for someone who sticks with the original (mostly a decision made due to the amount of customization that's been done to it)?

  3. Is it possible to run Padloper 1 and 2 simultaneously? In other words, I was thinking of working on getting Padloper 2 set up in the background while leaving our Padloper 1 shop running on the live site? I know Padloper 2 was described somewhere as a whole new entity, but are they incompatible/intertwined at all?

    I'd love to build a test site and move over all the files when done but I don't want to overlook dB things that will be building in the meantime (orders, users, etc.) and I've never migrated a live site that's had active users other than the admins.

  4. I'm finding that non-superusers cannot access this module, even if they are selected through the module setup. Is this intentional? The two users in question need to handle all the user errors that are reported but don't want or need full superuser access.

  5. Thanks for creating this Module, I know I'm going to be using these actions a lot now that I've discovered them.

    I tried to use Field Set or Search and Replace but received this error:

    Quote

    Fatal Error: Uncaught Error: Call to undefined function bd() in site/modules/ProcessAdminActions/actions/FieldSetOrSearchAndReplace.action.php:129

    #0 site/modules/ProcessAdminActions/ProcessAdminActions.module.php(272): FieldSetOrSearchAndReplace->executeAction(Array)
    #1 wire/core/Wire.php (394): ProcessAdminActions->___executeExecute()
    #2 wire/core/WireHooks.php (823): Wire->_callMethod('___executeExecu...', Array)
    #3 wire/core/Wire.php (465): WireHooks->runHooks(Object(ProcessAdminActions), 'executeExecute', Array)
    #4 site/modules/ProcessAdminActions/ProcessAdminActions.module.php(728): Wire->__call('executeExecute', Array)
    #5 wire/core/ProcessController.php (337): ProcessAdminActions->__call('execu (line 129 of site/modules/ProcessAdminActions/actions/FieldSetOrSearchAndReplace.action.php)

    I entered a text string and did not check the RegEx box.

    • Like 1
  6. 5 hours ago, kongondo said:

    Glad you got it sorted!

    Are you able to elaborate more so we can all learn from it? Thanks.

    Thanks!

    Somehow the directory associated with a domain on our hosting account was deleted (still not clear on how that happened), resulting in a 500 error when visiting the site. I restored the folder and all its contents, which only rewarded us with a 403 error as I described in my original post.

    When I reached out to my host's support, they said "Reviewing, it looks like the ownership of the folder was not correct. We adjusted this and the website is now online."

     

    Hopefully that helps if anyone else's directories randomly go missing! Wish I knew how it happened.

    • Like 1
  7. 16 hours ago, kongondo said:
    1. Did you confirm file permissions are OK after the restoration? The restoration could have run as a user in a different user group?
    2. Is ProcessWire able to read and write where it needs to?
    3. Check the server errors logs for more details about what 'this resource is'. What file/folder is it pointing to?

    I did. It turned out to be a setting on the webhost's end and they were able to fix it. Thanks! Sorry for taking up space here, but I was in a bit of a panic.

    • Like 2
  8. Not entirely sure what happened (I'm blaming a mouse with a low battery for grabbing the wrong folder in the middle of a file drag, it's all I can think of), but we noticed our entire site directory was missing earlier today (resulting in a 500 error).

    I restored it using Server Rewind via cPanel, but am now getting a new error:

    "You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

    The .htaccess file is there. I've also restored from an older backup and replaced the /site and /wire folders with no change.

     

    Anyone ever deal with this error and know how I can fix it?

  9. I will preface this by saying I have checked (multiple times) per template (both parent and child, to be totally sure) that they are set to allow pagination.

    What's happening is that my first page of results keeps displaying, despite /page2/ being in the URL. The pagination markup also indicates I am still on page one. This is happening across multiple types of paginated pages.

    $pagination = $pager->render($results, $poptions);

    The options are just markup...

    $poptions = array( 
    	  'numPageLinks' => 5,
    	  'listClass' => 'uk-pagination',
    	  'linkMarkup' => "<a href='{url}'>{out}</a>",
    	  'currentItemClass' => 'uk-active',
    	  'separatorItemLabel' => '<span>&hellip;</span>',
    	  'separatorItemClass' => 'uk-disabled',
    	  'currentLinkMarkup' => "<span>{out}</span>",
    	  'nextItemLabel' => '<i class="uk-icon-angle-double-right"></i>',
    	  'previousItemLabel' => '<i class="uk-icon-angle-double-left"></i>',
    	  'nextItemClass' => '', // blank out classes irrelevant to Uikit
    	  'previousItemClass' => '',
    	  'lastItemClass' => '',
    	);  

    In the header, I call for the module and the options include:

    
    	$pager = $modules->get('MarkupPagerNav'); 
        include_once("pagination.inc");

    Aside from the usual "check that you allowed pagination" advice, what issue might these symptoms indicate?

  10. The email and password fields are required, but I don't see a way to require other fields when I add them to the module in Modules > Configure > LoginRegister.

    The site I'm working on uses LoginRegister as a first step in the checkout process with PadLoper and if they create the account with this info, it will autoload in the checkout process. PadLoper doesn't save the data entered to the User's page, so it seems simpler to require it during registration with Login/Register/Profile.

    This seems like it should be simple. The fields are required in the user template but that doesn't seem to affect anything.

  11. 31 minutes ago, Ivan Gretsky said:

    Just to make it clear. You are talking about this module? I never used it myself though)

     

    That's correct. My thread was moved out of the module-specific forum. I think because the moderator believed I was talking about the Core Password reset module—which I'm not naming so as not to provide search hits.

  12. The timing on this update saved me tons of work, thanks @ryan!

    I'm using the guide to importing users from page 3 of this topic, but I am having no luck pulling the roles in. How should I format these in my csv? I tried spelling out the name of the roles as well as using the ids, with and without spaces inside the quotes. 

    EDITED for solution:

    within the "", each role name is spelled out on its own line, so:

    "guest
    login-register
    team-member
    download"

     

     

  13. On 3/21/2020 at 1:04 PM, Gadgetto said:

    Hi @creativejay,

    do you still have this issue?

    If so, could you please file an issue in SnipWires GitHub repo and provide more information: https://github.com/gadgetto/SnipWire/issues

    I could not reproduce this problem but I think I have too little information.

    I wasn't able to correct it, but the website had to launch so I uninstalled the Module and am using the direct API for Snipcart in the php templates and their dashboard for managing orders.

    Before I uninstalled, I couldn't find a single logged error anywhere.

  14. I have another issue to report.

    When I:

    • use "+ Add New" buttons to add a new page with my product template (as children of any of the three allowed parent templates)
    • enter the page Title on the admin /page/add/
    • hit Save

    I get the error "New page '/page/path/' must be saved before files can be accessed from it"

    If I uninstall SnipWire, the error message goes away. The product templates are my own, not the default SnipWire templates.

  15. Thanks for your attention on those hookable methods, Gadgetto. Those will definitely be necessary for launching this site (the subscription pause button will get us in a lot of trouble otherwise!)

    Another item for the list: when a user role with snipwire-dashboard permissions clicks on the additional tabs (Orders, Subscriptions, Abandoned Carts, Customers, Products, Discounts) within the Dashboard, they reach the 404 page instead. 

×
×
  • Create New...