Jump to content

zoeck

Members
  • Posts

    380
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by zoeck

  1. On 8/6/2018 at 5:50 PM, BFD Calendar said:

    Since Google introduced billing for Google Maps I get an error "This page can't load Google Maps correctly" on my maps. I have a working API key and enabled billing, do I need any changes in ProcessWire as well?

    Had the same problem... now i switched to the Leaflet Map Version... and im very happy with it ? 

     

  2. Just look inside the .htaccess file in your pw root directory ? 

    # -----------------------------------------------------------------------------------------------
    # 1. Don't show directory indexes, but do follow symbolic links 
    # 500 NOTE: Some cloud hosting companies don't allow +FollowSymLinks. 
    # Uncomment +SymLinksifOwnerMatch and comment +FollowSymLinks if you have 500 errors. 
    # If that doesn't resolve the error, then set it back to +FollowSymLinks. 
    # -----------------------------------------------------------------------------------------------
    
    Options -Indexes
    Options +FollowSymLinks
    # Options +SymLinksifOwnerMatch

    Just write a # before "Options +FollowSymLinks and delete the "# " from "# Options +SymLinksifOwnerMatch"

     

  3. Are you using the default installation of Xampp or have you set a new SQL password?

    Are you using the xampp root user?

     

    The message actually only says that the logon data is incorrect, or the user has no rights to access the database.

    • Like 2
  4. 11 hours ago, rick said:

    I've been using phpstorm since November last year solely on processwire projects. The issues I have are not related to processwire but the phpstorm interface in general. I also have used vscode and other code editors with processwire projects. To be honest, I don't think phpstorm is worth the price. It is far too annoying for the benefit of intellisense than vscode, for example.

    That's exactly what I thought when I tried the trial version...

    I think I will switch from Sublime to VSCode...

  5. Hm, i think the MediaManager Module looks interesting... ? 

     

    The Jquery File Upload Module is used by the MediaManager... i think it's perfect for my site ? (with the MediaManager Module...)

    /edit: oh, there's one problem, no UIKit Admin Theme support until now ? i think i have a look at the Jquery File Upload... 

  6. Hello, everybody,

    I am creating a website with a picture gallery.
    Each gallery has its own page and a picture field (just a title field and the image field).

    In Picture Field, there are over 100 pictures (~200-250 pictures).

    Now I had to realize that Processwire is getting extremely slow here. Uploading the images (approx. 500kb per image) also takes a very long time (local web server, not online).
    The display after everything has been uploaded is also very slow.

    Is there a way to work around these problems or to make it all faster? (i already used the image zip upload function... but theres the following error: "Input variables exceeded 1000")

    The function "Use client-side resize when possible" is activated.

    I'm using the newest 3.0.108 DEV Version

     

    I hope you can help me here ? 

  7. I think it's not possible, because different systems, use different salt algorithms...

     

    I think it's only possible when you hook the login, implement the login/salt system from the old system and after a successful login attempt with the old data - update the pw passwort with the entered and checked password ? (it's not so easy...)

    • Like 1
  8. Check your "/site/config.php" file!

    look at the Mysql Database connection parameters, the error message say that the mysql database parameters are wrong (or your sql server config ? )

    -> the sql server refuses the connection... 

  9. 30 minutes ago, flydev said:

    From what I understand, you are trying to update the page JohnDoe (a page under Employees parent which act as a profile page) for the user JohnDoe - correct ?

    correct ? 

    30 minutes ago, flydev said:

    My question is, why you do not use the user profile ? If your problem is the password field, you can remove it from the list of the editable fields in the LoginRegister module - as you can choose which field can be edited by the user.

    Thats my problem, you cannot remove the password field in the LoginRegister Module (and also it's not possible to remove the email adress)

    (only inside of the php code of the module ? )

  10. The Password is saved hashed... you cannot get it with phpmyadmin or ftp...

    But with the code from bernhard, you set a new password with this line:

    $admin->setAndSave('pass', 'yournewpassword');

    And on your site, the new password should be "yournewpassword" ? 

    Just test this password with your admin account (and change it!!!)

    • Like 1
  11. Hi,

    I'm having some minor problems with my Processwire Intranet page, i created a small module to sync active directory users with Processwire (login and profile informations) via LDAP.

    My user profile has more information than the active directory domain, and I want the user to be able to change the informations by himself on the intranet site.

     

    At this time, i just sync the user informations inside of the page tree like this:

    Quote

    Home

    - Employees

    -- Employeename1

    -- Employeename2

    etc.

     

    Now the big question is how can I make it, that the user can change the profile information on this Pages?

    Or is it easier when i add the informations to the user profile? I already checked the "LoginRegister" Module, but there's one problem - the users are not allowed to change the password via the intranet site (the passwords are linked via LDAP).

     

    I hope you can help me ? Thanks!

  12. Your code looks good... i think the problem is your json file, i tested it with this json Data:

    [
    {"ID":"1","user_login":"myname","user_pass":"$P$BKVS\/30bpzejiORa9nGupsAur7g0P\/","user_nicename":"mynicename","user_email":"email@email.it","user_url":"","user_registered":"2016-07-28 16:13:39","user_activation_key":"","user_status":"0","display_name":"myname"},
    {"ID":"2","user_login":"myname2","user_pass":"$P$BKVS\/30bpzejiORa9nGupsAur7g0P\/","user_nicename":"mynicename","user_email":"email@email.it","user_url":"","user_registered":"2016-07-28 16:13:39","user_activation_key":"","user_status":"0","display_name":"myname"}
    ]

    You need the Start "[" and End "]" (and no comma after the last entry! ? )

    • Like 1
  13. Processwire Sort using PHP "SORT_REGULAR", not "SORT_NATURAL"

    If you have a string with a upper-case first character, and another one with lowercase first char, then theres a sorting Problem... ? 

    Are your Items all upper-case or mixed?

    Example:

    - aSDF
    - bSDF
    - Bsdf

    is sorted like this:

    - Bsdf
    - aSDF
    - bSDF

    • Like 2
  14. 3 minutes ago, wbmnfktr said:

    There might be "wildcard" certificates that cover every single domain you own but those are either expensive or domains have to defined before.

    Wildcard certificates are only for one "complete" domainname like "*.domainname.ext" ;) 

    You need a certificate for every domainname - including subdomains (or you have a wildcard certificate... :D )

    • Like 1
×
×
  • Create New...