Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 19 03:15
    garrettw commented #50
  • Oct 17 09:07
    technicalreju opened #50
  • Oct 02 01:39
    iamnishan opened #49
  • Oct 01 17:41
    Aakash225 closed #47
  • Oct 01 17:34
    garrettw commented #47
  • Oct 01 16:12
    mjrider commented #48
  • Oct 01 11:14
    tunggnu commented #48
  • Oct 01 09:17
    Khushboo-Bhatia opened #48
  • Sep 30 18:46
    Aakash225 opened #47
  • Aug 19 07:19
    DavidGitonga opened #4
  • May 31 18:00
    dracony commented #11
  • May 31 18:00

    dracony on 3.8

    (compare)

  • May 31 18:00

    dracony on master

    social provider VK api fix ver… VK, users.get backwards compati… Merge pull request #11 from kip… (compare)

  • May 31 18:00
    dracony closed #11
  • May 31 08:39
    kip260384 commented #11
  • May 31 08:38
    kip260384 synchronize #11
  • May 30 18:44
    dracony commented #11
  • May 24 11:33
    kip260384 opened #11
  • May 11 17:05

    dracony on 3.3.1

    (compare)

  • May 11 17:03

    dracony on 3.2.5

    (compare)

Philip Haddad
@philip97hd
And it's a redirect to a blank page with this exception here:
Roman Tsiupa
@dracony
This is all really weird. You know what, let me just send you a working zip
Ill put a link in a sec
Roman Tsiupa
@dracony
@philip97hd I actually made it so there will always be an auto-generated project with all dependencies on the website
just download this and apply the changes to .htaccess and base url like above to match your subfolder structure
Philip Haddad
@philip97hd
@dracony Thanks for the help; but I still have the exception :\
Maybe the problem with the PHP version? or Xampp?
Roman Tsiupa
@dracony
@philip97hd can you redownload? I think I might have messed up the packaging script that was picking up older package versions
hence the deprecation error you got
Philip Haddad
@philip97hd
@dracony It's working now!!! Thanks a lot!! <3
Roman Tsiupa
@dracony
great!
Peter Forret
@pforret
Hi Roman, just wanted to let you know that both the PHPixie.com and dracony.org websites have an expired HTTPS certificate
"This server could not prove that it is phpixie.com; its security certificate expired 2 days ago. This may be caused by a misconfiguration or an attacker intercepting your connection. Your computer's clock is currently set to Saturday, 23 May 2020. Does that look right? If not, you should correct your system's clock and then refresh this page."
Mitzhuo Yuenians Abarca Jimenez
@mitzhuoy_gitlab
Hello everyone, I am learning to use PHPixie, I would like your guidance to create a custom password provider similar to 'auth-login', in addition to a custom user model for that provider. I try to follow the final part of this web page https://phpixie.com/components/auth.html. Thanks for your help.
Roman Tsiupa
@dracony
@pforret Thanks! I had the renewal script running automatically but it seems I missed to update the server script
Now its fine
A good example of a custom provider is the auth-social package https://github.com/PHPixie/Auth-Social
@mitzhuoy_gitlab It should have most of what you need. I think the only tricky part is registering your own provider
Adding your own providers
At some point you will probably need to add your own login providers (e.g. for social networks), to do that you need to satisfy a PHPixie\Auth\Providers\Builder interface and pass it along with the other extensions. Try looking at the AuthLogin component for an example. If you are using the PHPixie Framework you can pass your custom extensions to the Auth component by overloading this method.
from bottom of page
if you have any specific questions just tell me
Stephen Ibbotson
@steveibbo1986_twitter
Hi, I'm new to phpixie! Just wondering if there are any tutorials to make an image uploader?
Roman Tsiupa
@dracony
this should be easy
first you create a form like:
<form method="POST" action="/some/route" enctype="multipart/form-data">
<div>
<span>Upload a File:</span>
<input type="file" name="uploadedFile" />
</div>

<input type="submit" name="uploadBtn" value="Upload" />
</form>
and then in your controller you move the uploaded file
$uploadedFile = $request->uploads()->get('uploadedFile');
$uploadedFile->move('/images/fairy.png');
@steveibbo1986_twitter
Bloodoff
@Bloodoff
Hi, how I can return a error code (ex. 404 or 407) from HTTP processor ?
Roman Tsiupa
@dracony
$response->setStatus('404', 'Not Found');
Or
$http->responses->response("Not Found", [], 404, "Not Found");
@Bloodoff
Bloodoff
@Bloodoff
thnx, but responses is not property
inside framework working example: return $this->responses->response("Authorization required", [], 401);
edit: return $this->responses()->response("Authorization required", [], 401)
Bloodoff
@Bloodoff
hi, how to disable debug output on error in http processor? to prevent leakage of source on code in production env
Roman Tsiupa
@dracony
yes
change too your own template here
you can show any error page that way
Bloodoff
@Bloodoff
thnx
$missingKeys = array_intersect($required, $keys);
but missing keys are not intersect of arrays required and all keys
Bloodoff
@Bloodoff
How to define ORM Wrappers ? the way described in documentation not working after update
Bloodoff
@Bloodoff
found a way :)
Roman Tsiupa
@dracony
Thanks! Will fix