Jump to content

laplix

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by laplix

  1. @kongondo, @horst, @BitPoet, Thank you for welcoming me. OK, I tried soma installer and it work quite nicely, except everything is the name of the apache user www-data, meaning I have to change the owner of the site/ directory and if I want to tinker with ProcessWire, I'll have to do that for the whole installation I got ProcessWire 2.7.2 instead of 3.0.15 I do want the 3.0.x branch, and I want to stay up to date with the branch. This why I used git. I'm ready to live with some bugs. This is mostly a learning project though some of it may go out later when the 3.0 branch goes beta or stable. @horst, this is why, at first, I would copy site-default to site and chmod 777 access config.php and modules before starting installation. But on @BitPoet suggestion, I didn't do any of that before starting another installation. I did correct everything after these errors showed up. Checking in install.php, I see in initProfile.php that it does try to rename the profile I chose. But since I clone the repository, the files belong to me, not to the apache user. So the installer is unable to create the site. It will work with grabpw.php because it is the installer that creates the files. So they belong to the apache user. Anyway, I finally manage to install my project with 3.0.15. Now, the fun part starts Yet, I would like to know why this error occurred. Maybe later, when I am familiar with the code, I'll hunt it down. ProcessWire looks like an awesome framework, doing things in a completely different way compare to other frameworks and challenging the brain a bit. For example, I started designing my project, making the database schema and stopped right there realizing that PW is mostly about pages, templates and fields. No need for a full database design. Anyway, I want to thank you all for taking the time to answer me. This looks like a very, very friendly community.
  2. @BitPoet This is weird... I did 3 installations. The first one went OK, the second one went haywire and gave me the same error and the third one went OK again. First, I went for a fresh install. I deleted my previous test installation, including the database. Then I did this git clone https://github.com/ryancramerdesign/ProcessWire.git test Followed by git co devns to get the latest 3.x version I made a branch from devns so I would not mess up devns since I will want to pull the repository every few weeks and merge it into laplix. git co -b laplix Then, I started the installation process, following your advice. First page, I selected the site-default profile and clicked Continue The next page showed me an error: File system is not writable by this installer. Before continuing, please rename '/site-default' to '/site' So we do have to either rename site-default or copy it. It is not done by the installer. I copied it and clicked Continue. Next page showed me some errors (needing to create .htaccess, making site/access, site/confg.php and modules writable). I copied htaccess.txt to .htaccess and chmod 777 assets/ config.php modules/ I clicked to Check again and everything went green. I clicked Continue and went to the next page. I setup the database credentials, changed nothing else and clicked Continue The next page told me that everything went OK I changed the Admin Logn URL to admin Provided the user name, password and email for the superuser Didn't do anything to the cleanup list since the files and directory could not be modified by the install script. I clicked Continue The next page warned me about my site/config.php and provided me the login form. I logged in and got to the admin page with warning about install.php and file permissions in site/config.php So, the site is installed and I am happy Since that went well, I did it again following the exact same steps (I think) with the real site name (for example, site1) and even if I did everything as before for the test installation, I got the same error as before !! Because I wanted to give as much details as possible, I did it again, writing down everything I did and this time, it worked? Unless someone knows what could cause this error, I'll mark this as close since I can now work on my site. But I would really like to understand what's provoking this error. The reason being that earlier, I had started my site with 2.7.2, the master branch. Wishing to use 3.x, I switched to devns. Switching to devns, git told me I was 4 commits behind, so I did a git pull before installation. Again the error came up. This make me fear keeping up to date with the repository. I do want to keep up to date with devns (maybe not every week but certainly every few weeks). I know that I will be subject to bugs but I don't care. This project will take some time to do since it's on my free time. And I'll report the bugs if any. I just want to know if it's me making a mistake or not. A fresh install should be painless, no? In my case, I finally managed it with 7+ installations. Not so painless... Again, thank you for your input.
  3. Thank you very much for your fast answer. I think I went too fast writing my question and it seems the error I wrote got eaten by the board . I cloned the 3.0.15 repo, then I did "git co devns" (no -b), then I started my own branch "develop" (not dev, again writing too fast). The error I got was this: Compile Error: Cannot redeclare class ProcessWire\InputfieldFieldsetOpen (line 17 of /home/laplix/www/html/test/wire/modules/Fieldtype/FieldtypeFieldsetOpen.module) This error message was shown because: install.php still exists. Error has been logged. But I was still in the installation process. In another attempt, when I got that error, I removed install.php and got the same error except the reason given was that I had not yet logged in. Sorry again for the misunderstanding
  4. Hi folks, ProcessWire newbie here, but not a total PHP newbie (kind of I know what I'm doing but i'm not a guru). I cloned the github repo today. This is a new project that won't see the light of day for a while, so I figure this was the perfect project to learn ProcessWire and be at the edge, Did git checkout -b devns and got 3.0.15 I then did a git checkout -b dev to work on my branch I copied site-default/ to site/, copied htaccess.txt to .htaccess, did a chmod 777 site/assets site/config.php site/modules. And started the install process. First page OK Second page OK Then I clicked Continue and got this : Compile Error: Cannot redeclare class ProcessWire\InputfieldFieldsetOpen (line 17 of /home/laplix/www/html/test/wire/modules/Fieldtype/FieldtypeFieldsetOpen.module) This error message was shown because: install.php still exists. Error has been logged. Any idea what I'm missing? Louis
×
×
  • Create New...