-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use Mautic API after manual install #177
Comments
This is a lifesave (I think) - - - but I don't have any of these files in my download from Github: require_once DIR . '/lib/Psr/Log/LogLevel.php'; I know it's been a while since you posted... but any ideas?? |
@ActiveOrganisation I have an API Library instance set up with DDEV (total game changer, very easy to set up!), and I find these PSR resources in the /vendor/psr/log folder. Maybe something has changed recently and the info is out of date? |
So, no one's gonna tell that you cannot create a custom accessible .php file in mautic's folder? |
I still can't figure out how to use the api library. Did everything hundreds of posts suggests. Including this one. Is there any where I can find a guide for absolute dummies? By absolute dummy I mean that I don't even know .htaccess file. |
I think the: require_once DIR . '/lib/Psr/Log/LogLevel.php'; MUST be being loaded from somewhere other than the Mautic files 'cos it's not there as far as I can see. @RCheesley - I am really sorry but I am not as technical any more as I used to be. Feeling a bit out of it. Does DDEV use Composer?? I looked at their promo video but it was just generic sales malarky and didn't really tell me anything useful. Also.. I would love to connect with you properly because I want to contribute to the Mautic Joomla plugin and the developer docs but I am feeling I need someone to checkup or checkin with before taking the leap. I haven't used Git for many many years and I don't want to screw it up. @cyberphen - I feel your pain. I am trying to step up and raise my game rapidly so I can do a complete help file on this (i.e. how to use Mautic API on shared hosting without composer)... AND, what I have found out is that, often, you might not need it. Just use the cURL options. If you join the Mautic forum and go here: (https://forum.mautic.org/t/documentation-disaster/18201/3) there is some basic info... |
Hi, |
Yeah... I am hectic with work at the moment but I am keen to learn how I can contribute... There are lots of resources. There is even a knowledge base (which seems to be beautifully hidden)... https://kb.mautic.org/ . The way it works is that you head to the GitHub location for the developer docs (https://github.com/mautic/developer-documentation) . Do a Pull Request.. And, (I think - not sure) you then create a new branch... But, I am not really sure how to then get that approved and push it back into play. I am a bit rusty on these things. @RCheesley knows. :-) |
Hi folks, We do have quite a lot of resources to help you get started. Please take a look at https://contribute.mautic.org/contributing-to-mautic/developer as a starting point. Basically you will always need to make a personal fork (Please try to make this under your personal account rather than a company, as that allows maintainers to push changes if we need to) and then make a PR from that fork to the main repo. Recommend that you join us on Slack at https://mautic.org/slack and head over to #t-product if you would like to get involved in contributing, that is where we coordinate all of the work, and where the team can help you if you get stuck with any aspect! In terms of documentation we have #t-education on Slack which is the education team. You can make PR's to the Developer Documentation and the End User Documentation. Please take a look at our docs for contributing and our Style Guide. These apply mostly to the End User docs but hopefully gives some pointers! We definitely need help to improve the developer docs, it's probably the most neglected part of our documentation and could certainly do with some TLC! |
Hello,
I struggled to use Mautic's API since I couldn't use Composer to install the API (hosted on a shared server with limited ressources). I followed the instructions to install it manually but I had errrors about missing librairies and functions. It was like if the /vendor/autoload.php was not loading all required librairies.
I was finally able to get it to work and I thought it could help some people having the same issue if I posted my source code. I'm using BasicAuth for permanent authentification.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: