tooth-paste Posted December 8, 2017 Posted December 8, 2017 Great Job! When I'am trying to import the database I'm getting an error: Fout SQL-query: /*!40101 SET NAMES utf8mb4 */; MySQL meldt: #1115 - Unknown character set: 'utf8mb4' When importing
FrancisChung Posted December 9, 2017 Posted December 9, 2017 Have you tried just using utf8 instead of utf8mb4?
netcarver Posted December 9, 2017 Posted December 9, 2017 Thank you for this very nice template Kai. If having your own original art in there is an issue, have you considered just replacing those images with some from unsplash.com or other such source? Regardless of the answer to the above, it's very kind of you to release it publicly. Thanks again.
tooth-paste Posted December 9, 2017 Posted December 9, 2017 11 hours ago, FrancisChung said: Have you tried just using utf8 instead of utf8mb4? Yes, but it still not works. Does anyone has the same experience?
FrancisChung Posted December 9, 2017 Posted December 9, 2017 @tooth-paste: I've just created a test database (test_db) on my local MySQL server and ran the script and it works. Have you tried creating a blank database, setting that as the default schema, and then executing the script?
tooth-paste Posted December 9, 2017 Posted December 9, 2017 14 minutes ago, FrancisChung said: @tooth-paste: I've just created a test database (test_db) on my local MySQL server and ran the script and it works. Have you tried creating a blank database, setting that as the default schema, and then executing the script? I use a blank database. After googling it is possible I need an upgrade of MySQL because utf8mb4 is a newer set of utf8. I'm running MySQL version 5.1.73.
FrancisChung Posted December 9, 2017 Posted December 9, 2017 10 minutes ago, tooth-paste said: I use a blank database. After googling it is possible I need an upgrade of MySQL because utf8mb4 is a newer set of utf8. I'm running MySQL version 5.1.73. I'm using MAMP PRO, which is running MySQL 5.6.35. As you might've already guessed, probably best to upgrade MySQL first. I also use MySQLWorkBench 6.3 Community Edition, if you're not using it already.
dragan Posted December 10, 2017 Posted December 10, 2017 First of all thanks for offering this to the community. I am curious though: Why did you include the entire wire folder in the package as well? Normally, people create a site profile. I never ever touched the wire/config.php file, only site/config.php.
dragan Posted December 10, 2017 Posted December 10, 2017 You might want to change the instruction text: You don't login @ wire/, but processwire/ Speaking of login... I used the mentioned username + password, but it always says "login failed". Are you sure it's correct? I had to use this to change pass + login: 1
Kai Posted December 12, 2017 Author Posted December 12, 2017 Not sure. Did it work for the others? True, I could remove the wire folder. There are few hacks though - but not needed indeed! Waiting for the feedback of the others.
gmclelland Posted January 14, 2018 Posted January 14, 2018 Thanks for providing the site profile! Just wanted to let others know I had to do the following to login. Add this to the startpage.php in the site/templates/ directory $admin = $users->get('admin'); $admin->setOutputFormatting(false); $admin->pass = 'herewegocheckitout22'; // put in your new password $admin->save(); Then visit the homepage to execute the code. Then remove the same code from the template. Then login to yoursite.com/processwire/ not yoursite.com/wire/ Hope that helps others 2
MilenKo Posted February 5, 2018 Posted February 5, 2018 Hello @Kai I decided to give a try to your theme to see any interesting approaches etc. I created a new temp domain on my localhost (kai.pw) and created the DB, Imported the sql in it with no issue and following the steps I was supposed to edit the /wire/config.php to enter my database credentials. Are you really meaning to put the user/pass/host only or you mean to edit the /site/config.php which contains the database name as well? Based on my experience, I have edited the /site/config.php and added my db info (100% accurately). Headed to http://kai.pw/processwire (there was a typo to the admin URL which was corrected in @gmclelland post. When I try to browse the URL, for some weird reason it does not show the website but the 404 error of GitHub I am starting to wonder now, where did I do wrong?
adrian Posted February 5, 2018 Posted February 5, 2018 kai.pw is a live domain: https://www.whois.com/whois/kai.pw Looks like it must be being pointed to a Github pages site that isn't up yet. You might be able to edit the hosts file on your local machine and make it go to 127.0.0.1, but might be easiest to just go with a .test or .local TLD for local dev. In case you don't know, .dev is no longer a good idea: https://iyware.com/dont-use-dev-for-development/
gmclelland Posted February 5, 2018 Posted February 5, 2018 15 hours ago, MilenKo said: Are you really meaning to put the user/pass/host only or you mean to edit the /site/config.php which contains the database name as well? I believe you are supposed to put that information in site/config.php
MilenKo Posted February 6, 2018 Posted February 6, 2018 @adrian Thanks for the info and yes, I did check to make sure my local server is working fine as to avoid going to the Internet instead of going to my local domain. What I did to test was to add a simple index.html file and point back to kai.pw - the result - well I saw the content of the index.html However, I did find some glitches in my server where an update was needed so now I can see the front page using kai.pw with no issue grabbing the info from my local server with priority over the real domain. The only thing to figure out is how to get to the admin as I am not able to browse kai.pw/wire (as stated), nor kai.pw/processwire as it is by default. Has anyone been able to login to the admin (not the issue with the pass but to see the login prompt? @gmclelland Yes, I can confirm that the only change needed is in the config file located in /site/config.php but not the one in the wire. P.S. I found that the admin URL is really /processwire/ , however it gives me 404 when I try to browse it.
gmclelland Posted February 6, 2018 Posted February 6, 2018 I was able to login, but I don't have my computer right now. Can you try kai.pw/processwire/ Note the trailing slash
MilenKo Posted February 6, 2018 Posted February 6, 2018 Well, I am trying to but get the 404. I ran the script to show the admin URL and it really shows /processwire/ but the URL is not browsable. Also if I try to switch to other languages or to browse a page from the menu, it shows me 404 again. Something strange is happening here, so I am more leaning to re-download the whole site and set some test.local domain for the try.
gmclelland Posted February 6, 2018 Posted February 6, 2018 Ya, that does sound strange. As recommended by Adrian, I would try it on kai.test/processwire/
MilenKo Posted February 6, 2018 Posted February 6, 2018 Well, I did try kai.test as local domain and still got the 404 with the same symptoms when trying to access admin, other links from the menu or switch languages. Anyway, let me re-download the files and will try it again to confirm the result or have it fixed.
Jaynir Posted January 5, 2019 Posted January 5, 2019 On 1/15/2018 at 3:41 AM, gmclelland said: Thanks for providing the site profile! Just wanted to let others know I had to do the following to login. Add this to the startpage.php in the site/templates/ directory $admin = $users->get('admin'); $admin->setOutputFormatting(false); $admin->pass = 'herewegocheckitout22'; // put in your new password $admin->save(); Then visit the homepage to execute the code. Then remove the same code from the template. Then login to yoursite.com/processwire/ not yoursite.com/wire/ Hope that helps others Hi, I tried as above, login page opens but login fails. Am I missing something? HJ,
iNoize Posted February 6, 2019 Posted February 6, 2019 Hi, i tried at localhost and have some errors. Does anybody know how to fix them ? Session Error , No Docthree and a message some unknown error ? Tnx
adrian Posted February 6, 2019 Posted February 6, 2019 @iNoize - that's a really old version of PW now - does upgrading help?
iNoize Posted April 9, 2019 Posted April 9, 2019 On 2/6/2019 at 3:28 PM, adrian said: @iNoize - that's a really old version of PW now - does upgrading help? Hello, es the Update helps. The only one problem is that the contact doenst work. I think the Plugin SimpleContactForm or something else is to old
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now